edu.jhu.tmaj.servlet.request.impl
Enum ArrayCoreReferenceRequest.ReferenceRequestType

java.lang.Object
  extended by java.lang.Enum<ArrayCoreReferenceRequest.ReferenceRequestType>
      extended by edu.jhu.tmaj.servlet.request.impl.ArrayCoreReferenceRequest.ReferenceRequestType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ArrayCoreReferenceRequest.ReferenceRequestType>
Enclosing class:
ArrayCoreReferenceRequest

public static enum ArrayCoreReferenceRequest.ReferenceRequestType
extends java.lang.Enum<ArrayCoreReferenceRequest.ReferenceRequestType>

How an ArrayCoreReferenceBean may be initialized, either by the entire ArrayBlock, or just one TissueDiagnosisID. As a user adds more tissueDiagnosisIDs, the ArrayCoreReferenceBean is updated by using the TISSUE_DIAGNOSIS_ID request. However, when a user is opening a new ArrayBlock, the user wants to get information about all the ArrayCores in the ArrayBlock at once, not just one at a time.


Enum Constant Summary
ARRAY_BLOCK
          A type to indicate all TissueDiagonsis's in the ArrayBlock should be retrieved
TISSUE_DIAGNOSIS_ID
          A type to indicate only information about a single TissueDiagnosisID should be retrieved
 
Method Summary
static ArrayCoreReferenceRequest.ReferenceRequestType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ArrayCoreReferenceRequest.ReferenceRequestType[] 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

ARRAY_BLOCK

public static final ArrayCoreReferenceRequest.ReferenceRequestType ARRAY_BLOCK
A type to indicate all TissueDiagonsis's in the ArrayBlock should be retrieved


TISSUE_DIAGNOSIS_ID

public static final ArrayCoreReferenceRequest.ReferenceRequestType TISSUE_DIAGNOSIS_ID
A type to indicate only information about a single TissueDiagnosisID should be retrieved

Method Detail

values

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

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

valueOf

public static ArrayCoreReferenceRequest.ReferenceRequestType 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