org.LexGrid.LexBIG.DataModel.InterfaceElements.types
Class ProcessState

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

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

An enumeration of possible reported values for process state.

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

Field Summary
static ProcessState CANCELED
          The instance of the canceled type
static int CANCELED_TYPE
          The canceled type
static ProcessState COMPLETED
          The instance of the completed type
static int COMPLETED_TYPE
          The completed type
static ProcessState FAILED
          The instance of the failed type
static int FAILED_TYPE
          The failed type
static ProcessState PENDING
          The instance of the pending type
static int PENDING_TYPE
          The pending type
static ProcessState PROCESSING
          The instance of the processing type
static int PROCESSING_TYPE
          The processing type
static ProcessState UNKNOWN
          The instance of the unknown type
static int UNKNOWN_TYPE
          The unknown type
 
Method Summary
static java.util.Enumeration<java.lang.Object> enumerate()
          Method enumerate.Returns an enumeration of all possible instances of ProcessState
 int getType()
          Method getType.Returns the type of this ProcessState
 java.lang.String toString()
          Method toString.Returns the String representation of this ProcessState
static ProcessState valueOf(java.lang.String string)
          Method valueOf.Returns a new ProcessState 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

CANCELED_TYPE

public static final int CANCELED_TYPE
The canceled type

See Also:
Constant Field Values

CANCELED

public static final ProcessState CANCELED
The instance of the canceled type


COMPLETED_TYPE

public static final int COMPLETED_TYPE
The completed type

See Also:
Constant Field Values

COMPLETED

public static final ProcessState COMPLETED
The instance of the completed type


FAILED_TYPE

public static final int FAILED_TYPE
The failed type

See Also:
Constant Field Values

FAILED

public static final ProcessState FAILED
The instance of the failed type


PENDING_TYPE

public static final int PENDING_TYPE
The pending type

See Also:
Constant Field Values

PENDING

public static final ProcessState PENDING
The instance of the pending type


PROCESSING_TYPE

public static final int PROCESSING_TYPE
The processing type

See Also:
Constant Field Values

PROCESSING

public static final ProcessState PROCESSING
The instance of the processing type


UNKNOWN_TYPE

public static final int UNKNOWN_TYPE
The unknown type

See Also:
Constant Field Values

UNKNOWN

public static final ProcessState UNKNOWN
The instance of the unknown type

Method Detail

enumerate

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

Returns:
an Enumeration over all possible instances of ProcessState

getType

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

Returns:
the type of this ProcessState

toString

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

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

valueOf

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

Parameters:
string -
Returns:
the ProcessState 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.