edu.jhu.tmaj.beans.data.datatypes
Enum DynamicSection

java.lang.Object
  extended by java.lang.Enum<DynamicSection>
      extended by edu.jhu.tmaj.beans.data.datatypes.DynamicSection
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DynamicSection>

public enum DynamicSection
extends java.lang.Enum<DynamicSection>

Represents the 3 areas of TMAJ that may have dynamic fields. That is the Specimens, Tissue Diagonsis, and Scored Images.


Enum Constant Summary
SCORED_IMAGES
           
SPECIMENS
           
TISSUE_DIAGNOSIS
           
 
Method Summary
 DynamicEnumsTable getEnumsTable()
          Gets the Enumerations table for the Dynamic Section.
 FieldsTable getFieldsTable()
          Gets the Fields table for the Dynamic Section.
 TypesTable getTypesTable()
          Gets the Types table for this meta data section.
 int testExtra()
           
 int testExtra2()
           
static DynamicSection valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DynamicSection[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SPECIMENS

public static final DynamicSection SPECIMENS

TISSUE_DIAGNOSIS

public static final DynamicSection TISSUE_DIAGNOSIS

SCORED_IMAGES

public static final DynamicSection SCORED_IMAGES
Method Detail

values

public static DynamicSection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DynamicSection c : DynamicSection.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DynamicSection valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getTypesTable

public TypesTable getTypesTable()
Gets the Types table for this meta data section. The types is the "highest level" meta-data section. The SpecimenTypes and TissueTypes table contain types.


getFieldsTable

public FieldsTable getFieldsTable()
Gets the Fields table for the Dynamic Section. The fields table is the middle-level for the meta-data section, which contain field names for the types


testExtra

public int testExtra()

testExtra2

public int testExtra2()

getEnumsTable

public DynamicEnumsTable getEnumsTable()
Gets the Enumerations table for the Dynamic Section. The enumerations are the lowest level for the dynamic section's meta data. They contain the choices for a field (from the fields table).