StateType Class

com.bea.wli.worklist.api
StateType Class

public class StateType

    extends Object
    implements Serializable

This class describes the different possible states of a task. There are 6 possible states. Please refer to the documentation to learn more about states and state transitions.


Hierarchy
Object
  StateType
All Implemented Interfaces

Serializable

Field Summary

public static final StateType
ABORTED
StateType
public static final StateType
ASSIGNED
StateType
public static final StateType
CLAIMED
StateType
public static final StateType
COMPLETED
StateType
public static final StateType
STARTED
StateType
public static final StateType
SUSPENDED
StateType
 

Constructor Summary

StateType(String name, Integer value)

Construct a new state type.
 

Method Summary

public static StateType
getStateType(Integer value)
public static StateType
getStateType(String value)
public Integer
getValue()
public String
toString()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
   

Field Detail

ABORTED

public static final StateType ABORTED


ASSIGNED

public static final StateType ASSIGNED


CLAIMED

public static final StateType CLAIMED


COMPLETED

public static final StateType COMPLETED


STARTED

public static final StateType STARTED


SUSPENDED

public static final StateType SUSPENDED

 

Constructor Detail

StateType

public StateType(String name, 
                 Integer value)
Construct a new state type.
 

Method Detail

getStateType(Integer) Method

public static StateType getStateType(Integer value)

getStateType(String) Method

public static StateType getStateType(String value)

getValue() Method

public Integer getValue()

toString() Method

public String toString()
Overrides
Object.toString()