org.LexGrid.LexBIG.DataModel.NCIHistory.types
Class ChangeType

java.lang.Object
  extended by org.LexGrid.LexBIG.DataModel.NCIHistory.types.ChangeType
All Implemented Interfaces:
java.io.Serializable

public class ChangeType
extends java.lang.Object
implements java.io.Serializable

Atomic modification actions. To be populated from a combination of Concordia, SNOMED-CT list and NCI's action list.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static ChangeType CREATE
          The instance of the create type
static int CREATE_TYPE
          The create type
static ChangeType MERGE
          The instance of the merge type
static int MERGE_TYPE
          The merge type
static ChangeType MODIFY
          The instance of the modify type
static int MODIFY_TYPE
          The modify type
static ChangeType RETIRE
          The instance of the retire type
static int RETIRE_TYPE
          The retire type
static ChangeType SPLIT
          The instance of the split type
static int SPLIT_TYPE
          The split type
 
Method Summary
static java.util.Enumeration<java.lang.Object> enumerate()
          Method enumerate.Returns an enumeration of all possible instances of ChangeType
 int getType()
          Method getType.Returns the type of this ChangeType
 java.lang.String toString()
          Method toString.Returns the String representation of this ChangeType
static ChangeType valueOf(java.lang.String string)
          Method valueOf.Returns a new ChangeType based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE_TYPE

public static final int CREATE_TYPE
The create type

See Also:
Constant Field Values

CREATE

public static final ChangeType CREATE
The instance of the create type


RETIRE_TYPE

public static final int RETIRE_TYPE
The retire type

See Also:
Constant Field Values

RETIRE

public static final ChangeType RETIRE
The instance of the retire type


MERGE_TYPE

public static final int MERGE_TYPE
The merge type

See Also:
Constant Field Values

MERGE

public static final ChangeType MERGE
The instance of the merge type


SPLIT_TYPE

public static final int SPLIT_TYPE
The split type

See Also:
Constant Field Values

SPLIT

public static final ChangeType SPLIT
The instance of the split type


MODIFY_TYPE

public static final int MODIFY_TYPE
The modify type

See Also:
Constant Field Values

MODIFY

public static final ChangeType MODIFY
The instance of the modify type

Method Detail

enumerate

public static java.util.Enumeration<java.lang.Object> enumerate()
Method enumerate.Returns an enumeration of all possible instances of ChangeType

Returns:
an Enumeration over all possible instances of ChangeType

getType

public int getType()
Method getType.Returns the type of this ChangeType

Returns:
the type of this ChangeType

toString

public java.lang.String toString()
Method toString.Returns the String representation of this ChangeType

Overrides:
toString in class java.lang.Object
Returns:
the String representation of this ChangeType

valueOf

public static ChangeType valueOf(java.lang.String string)
Method valueOf.Returns a new ChangeType based on the given String value.

Parameters:
string -
Returns:
the ChangeType value of parameter 'string'

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.