edu.whoi.ursa.argoDatabase.entity
Class FloatStatus.Comment

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.entity.FloatStatus.FloatStatusChild
      extended by edu.whoi.ursa.argoDatabase.entity.FloatStatus.Comment
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FloatStatus.FloatStatusChild>
Enclosing class:
FloatStatus

@Entity
public static class FloatStatus.Comment
extends FloatStatus.FloatStatusChild
implements java.lang.Comparable<FloatStatus.FloatStatusChild>

Author:
Alexander K. Ekholm
See Also:
Serialized Form

Field Summary
private  java.lang.String comment
           
private static long serialVersionUID
           
 
Constructor Summary
FloatStatus.Comment()
           
FloatStatus.Comment(FloatStatus floatStatus, java.lang.Integer userId, java.lang.String comment)
           
 
Method Summary
 java.lang.String getComment()
           
static FloatStatus.Comment getComment(java.lang.Integer aoml, java.lang.Integer whoi, java.lang.Integer wmo, java.util.Calendar timeStamp, java.lang.Integer uid)
           
 void setComment(java.lang.String comment)
           
 
Methods inherited from class edu.whoi.ursa.argoDatabase.entity.FloatStatus.FloatStatusChild
compareTo, getAoml, getFloatStatus, getIdAsQueryString, getTimeStamp, getUserId, getWhoi, getWmo, setFloatStatus, setTimeStamp, setUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

comment

private java.lang.String comment
Constructor Detail

FloatStatus.Comment

public FloatStatus.Comment()

FloatStatus.Comment

public FloatStatus.Comment(FloatStatus floatStatus,
                           java.lang.Integer userId,
                           java.lang.String comment)
Parameters:
floatStatus -
userId -
Method Detail

getComment

public static FloatStatus.Comment getComment(java.lang.Integer aoml,
                                             java.lang.Integer whoi,
                                             java.lang.Integer wmo,
                                             java.util.Calendar timeStamp,
                                             java.lang.Integer uid)

getComment

public java.lang.String getComment()
Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Parameters:
comment - the comment to set