gov.nih.nci.caarray.external.v1_0.sample
Enum BiomaterialType

java.lang.Object
  extended by java.lang.Enum<BiomaterialType>
      extended by gov.nih.nci.caarray.external.v1_0.sample.BiomaterialType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BiomaterialType>

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

BiomaterialType contains constants representing different types of Biomaterials. These correspond to types defined in MAGE-TAB, and represent different stages in the treatment of a biomaterial prior to hybridization.

Author:
dkokotov

Enum Constant Summary
EXTRACT
          biomaterial type corresponding to a MAGE-TAB Extract.
LABELED_EXTRACT
          biomaterial type corresponding to a MAGE-TAB Labeled Extract.
SAMPLE
          biomaterial type corresponding to a MAGE-TAB Sample.
SOURCE
          biomaterial type corresponding to a MAGE-TAB Source.
 
Method Summary
 java.lang.String getName()
           
static BiomaterialType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BiomaterialType[] 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

SOURCE

public static final BiomaterialType SOURCE
biomaterial type corresponding to a MAGE-TAB Source.


SAMPLE

public static final BiomaterialType SAMPLE
biomaterial type corresponding to a MAGE-TAB Sample.


EXTRACT

public static final BiomaterialType EXTRACT
biomaterial type corresponding to a MAGE-TAB Extract.


LABELED_EXTRACT

public static final BiomaterialType LABELED_EXTRACT
biomaterial type corresponding to a MAGE-TAB Labeled Extract.

Method Detail

values

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

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

valueOf

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

getName

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