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

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

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

Author:
Alexander K. Ekholm

Nested Class Summary
static class FloatStatus.FlagType.Flag
           
 
Field Summary
private  java.lang.String description
           
static java.util.Map<java.lang.String,java.lang.String> flagIndexMap
           
static java.util.Map<java.lang.String,FloatStatus.FlagType.Flag> flagMap
           
private  java.util.SortedSet<FloatStatus.FlagType.Flag> flags
           
static java.util.Map<java.lang.String,java.lang.String> flagTypeIndexMap
           
static FloatStatus.FlagType[] flagTypes
           
private  java.lang.String name
           
private  java.lang.String type
           
 
Constructor Summary
FloatStatus.FlagType()
           
FloatStatus.FlagType(java.lang.String type, java.lang.String name, java.lang.String description, java.util.SortedSet<FloatStatus.FlagType.Flag> flags)
           
 
Method Summary
 int compareTo(FloatStatus.FlagType o)
           
 java.lang.String getDescription()
           
 java.util.SortedSet<FloatStatus.FlagType.Flag> getFlags()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 void setDescription(java.lang.String description)
           
 void setFlags(java.util.SortedSet<FloatStatus.FlagType.Flag> flags)
           
 void setName(java.lang.String name)
           
 void setType(java.lang.String type)
           
 void SortedSetDescription(java.lang.String description)
           
 void SortedSetFlags(java.util.SortedSet<FloatStatus.FlagType.Flag> flags)
           
 void SortedSetName(java.lang.String name)
           
 void SortedSetType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

private java.lang.String type

name

private java.lang.String name

description

private java.lang.String description

flagTypeIndexMap

public static final java.util.Map<java.lang.String,java.lang.String> flagTypeIndexMap

flagIndexMap

public static final java.util.Map<java.lang.String,java.lang.String> flagIndexMap

flags

private java.util.SortedSet<FloatStatus.FlagType.Flag> flags

flagMap

public static final java.util.Map<java.lang.String,FloatStatus.FlagType.Flag> flagMap

flagTypes

public static final FloatStatus.FlagType[] flagTypes
Constructor Detail

FloatStatus.FlagType

public FloatStatus.FlagType()

FloatStatus.FlagType

public FloatStatus.FlagType(java.lang.String type,
                            java.lang.String name,
                            java.lang.String description,
                            java.util.SortedSet<FloatStatus.FlagType.Flag> flags)
Parameters:
type -
name -
description -
flags -
Method Detail

compareTo

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

getDescription

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

getFlags

public java.util.SortedSet<FloatStatus.FlagType.Flag> getFlags()
Returns:
the flags

getName

public java.lang.String getName()
Returns:
the name

getType

public java.lang.String getType()
Returns:
the type

SortedSetDescription

public void SortedSetDescription(java.lang.String description)
Parameters:
description - the description to SortedSet

SortedSetFlags

public void SortedSetFlags(java.util.SortedSet<FloatStatus.FlagType.Flag> flags)
Parameters:
flags - the flags to SortedSet

SortedSetName

public void SortedSetName(java.lang.String name)
Parameters:
name - the name to SortedSet

SortedSetType

public void SortedSetType(java.lang.String type)
Parameters:
type - the type to SortedSet

toString

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

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

setDescription

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

setFlags

public void setFlags(java.util.SortedSet<FloatStatus.FlagType.Flag> flags)
Parameters:
flags - the flags to set