edu.whoi.ursa.argoDatabase.entity
Class FloatStatus.FlagType.Flag

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

@Entity
public static class FloatStatus.FlagType.Flag
extends java.lang.Object
implements java.lang.Comparable<FloatStatus.FlagType.Flag>, java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.String description
           
private  java.lang.String flag
           
private static long serialVersionUID
           
private  FloatStatus.FlagType type
           
 
Constructor Summary
FloatStatus.FlagType.Flag()
           
FloatStatus.FlagType.Flag(java.lang.String flag, java.lang.String description, FloatStatus.FlagType type)
           
 
Method Summary
 int compareTo(FloatStatus.FlagType.Flag f)
           
 java.lang.String getDescription()
           
 java.lang.String getFlag()
           
 FloatStatus.FlagType getType()
           
 void setDescription(java.lang.String description)
           
 void setFlag(java.lang.String flag)
           
 void setType(FloatStatus.FlagType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

flag

private java.lang.String flag

description

private java.lang.String description

type

private FloatStatus.FlagType type
Constructor Detail

FloatStatus.FlagType.Flag

public FloatStatus.FlagType.Flag()

FloatStatus.FlagType.Flag

public FloatStatus.FlagType.Flag(java.lang.String flag,
                                 java.lang.String description,
                                 FloatStatus.FlagType type)
Parameters:
flag -
description -
type -
Method Detail

compareTo

public int compareTo(FloatStatus.FlagType.Flag f)
Specified by:
compareTo in interface java.lang.Comparable<FloatStatus.FlagType.Flag>

getDescription

public java.lang.String getDescription()
Returns:
the description

getFlag

public java.lang.String getFlag()
Returns:
the flag

getType

public FloatStatus.FlagType getType()
Returns:
the type

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

setFlag

public void setFlag(java.lang.String flag)
Parameters:
flag - the flag to set

setType

public void setType(FloatStatus.FlagType type)
Parameters:
type - the type to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object