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

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

public enum DynamicEnumsTable
extends java.lang.Enum<DynamicEnumsTable>
implements NameTable

Represents the 3 Dynamic enumeration tables in TMAJ.


Enum Constant Summary
SCORED_IMAGES
           
SPECIMENS
           
TISSUE_DIAGNOSIS
           
 
Method Summary
 java.lang.String getDescriptionColumnName()
          Returns the name of the column that describes the record.
 java.lang.String getIDColumnName()
          Returns the primary key name.
 java.lang.String getTableName()
          Returns the name of the database table.
static DynamicEnumsTable valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DynamicEnumsTable[] 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 DynamicEnumsTable SPECIMENS

TISSUE_DIAGNOSIS

public static final DynamicEnumsTable TISSUE_DIAGNOSIS

SCORED_IMAGES

public static final DynamicEnumsTable SCORED_IMAGES
Method Detail

values

public static DynamicEnumsTable[] 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 (DynamicEnumsTable c : DynamicEnumsTable.values())
    System.out.println(c);

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

valueOf

public static DynamicEnumsTable 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

getTableName

public java.lang.String getTableName()
Description copied from interface: NameTable
Returns the name of the database table.

Specified by:
getTableName in interface NameTable

getIDColumnName

public java.lang.String getIDColumnName()
Description copied from interface: NameTable
Returns the primary key name.

Specified by:
getIDColumnName in interface NameTable

getDescriptionColumnName

public java.lang.String getDescriptionColumnName()
Description copied from interface: NameTable
Returns the name of the column that describes the record. Example: SupplierName.

Specified by:
getDescriptionColumnName in interface NameTable