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

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

@Entity
public static class FloatStatus.FlagSet
extends FloatStatus.FloatStatusChild

Author:
Alexander K. Ekholm
See Also:
Serialized Form

Nested Class Summary
static class FloatStatus.FlagSet.FlagSetComapator
           
static class FloatStatus.FlagSet.FlagSetSummaryTable
           
static class FloatStatus.FlagSet.FlagSetTable
           
 
Field Summary
private  java.lang.String comment
           
private  FloatStatus.FlagType.Flag flag
           
private static long serialVersionUID
           
 
Constructor Summary
FloatStatus.FlagSet()
           
FloatStatus.FlagSet(FloatStatus floatStatus, java.lang.Integer userId, FloatStatus.FlagType.Flag flag, java.lang.String comment)
           
FloatStatus.FlagSet(java.lang.Integer userId, java.util.Calendar timeStamp, FloatStatus floatStatus, FloatStatus.FlagType.Flag flag, java.lang.String comment)
           
 
Method Summary
 java.lang.String getComment()
           
 FloatStatus.FlagType.Flag getFlag()
           
static FloatStatus.FlagSet getFlagSet(java.lang.Integer aoml, java.lang.Integer whoi, java.lang.Integer wmo, java.util.Calendar timeStamp, java.lang.Integer uid)
           
static org.w3c.dom.Element printSelectFlagForm(org.w3c.dom.Element element)
           
 void setComment(java.lang.String comment)
           
 void setFlag(FloatStatus.FlagType.Flag flag)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

flag

private FloatStatus.FlagType.Flag flag

comment

private java.lang.String comment
Constructor Detail

FloatStatus.FlagSet

public FloatStatus.FlagSet()

FloatStatus.FlagSet

public FloatStatus.FlagSet(FloatStatus floatStatus,
                           java.lang.Integer userId,
                           FloatStatus.FlagType.Flag flag,
                           java.lang.String comment)
Parameters:
floatStatus -
userId -

FloatStatus.FlagSet

public FloatStatus.FlagSet(java.lang.Integer userId,
                           java.util.Calendar timeStamp,
                           FloatStatus floatStatus,
                           FloatStatus.FlagType.Flag flag,
                           java.lang.String comment)
Parameters:
userId -
timeStamp -
floatStatus -
Method Detail

printSelectFlagForm

public static org.w3c.dom.Element printSelectFlagForm(org.w3c.dom.Element element)

getFlagSet

public static FloatStatus.FlagSet getFlagSet(java.lang.Integer aoml,
                                             java.lang.Integer whoi,
                                             java.lang.Integer wmo,
                                             java.util.Calendar timeStamp,
                                             java.lang.Integer uid)
Parameters:
aoml -
whoi -
wmo -
timeStamp -
uid -
Returns:

getComment

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

getFlag

public FloatStatus.FlagType.Flag getFlag()
Returns:
the flag

setComment

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

setFlag

public void setFlag(FloatStatus.FlagType.Flag flag)
Parameters:
flag - the flag to set