com.yosokumo.core
Enum Specimen.Status

java.lang.Object
  extended by java.lang.Enum<Specimen.Status>
      extended by com.yosokumo.core.Specimen.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Specimen.Status>
Enclosing class:
Specimen

public static enum Specimen.Status
extends java.lang.Enum<Specimen.Status>

Provides a logical delete facility. The default value is ACTIVE.


Enum Constant Summary
ACTIVE
          the specimen is active, i.e., it should be considered when constructing the model.
INACTIVE
          the specimen is inactive, i.e., it should not be considered when constructing the model.
 
Method Summary
static Specimen.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Specimen.Status[] 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

ACTIVE

public static final Specimen.Status ACTIVE
the specimen is active, i.e., it should be considered when constructing the model.


INACTIVE

public static final Specimen.Status INACTIVE
the specimen is inactive, i.e., it should not be considered when constructing the model.

Method Detail

values

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

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

valueOf

public static Specimen.Status 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