de.danet.an.workflow.omgcore
Class WfExecutionObject.OpenState

java.lang.Object
  extended byde.danet.an.workflow.omgcore.WfExecutionObject.State
      extended byde.danet.an.workflow.omgcore.WfExecutionObject.OpenState
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WfExecutionObject.NotRunningState
Enclosing class:
WfExecutionObject

public static class WfExecutionObject.OpenState
extends WfExecutionObject.State
implements Serializable

This class defines the sub-states of State.OPEN of a WfExecutionObject as returned by whileOpenState().

See Also:
Serialized Form

Field Summary
static WfExecutionObject.OpenState NOT_RUNNING
          Object is active and quiescent, but ready to execute.
static WfExecutionObject.OpenState RUNNING
          The object is active and executing in the workflow.
 
Fields inherited from class de.danet.an.workflow.omgcore.WfExecutionObject.State
CLOSED, OPEN
 
Constructor Summary
protected WfExecutionObject.OpenState(String text)
          Default constructor.
 
Method Summary
 WfExecutionObject.State getParent()
          Returns the parent in the state hierachy if all states defined in this class or null, if this states are at the top level of the hierachy.
 WfExecutionObject.State howClosedState()
          Returns the workflow substate for closed execution objects.
 WfExecutionObject.State whileOpenState()
          Returns the workflow substate for open execution objects.
 WfExecutionObject.State whyNotRunningState()
          Returns the workflow substate for open, not running execution objects.
 WfExecutionObject.State workflowState()
          Returns the workflow state, i.e. the parent.
 
Methods inherited from class de.danet.an.workflow.omgcore.WfExecutionObject.State
fromString, isSameOrSubState, registerState, textRepresentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RUNNING

public static final WfExecutionObject.OpenState RUNNING
The object is active and executing in the workflow.


NOT_RUNNING

public static final WfExecutionObject.OpenState NOT_RUNNING
Object is active and quiescent, but ready to execute.

Constructor Detail

WfExecutionObject.OpenState

protected WfExecutionObject.OpenState(String text)
Default constructor.

Parameters:
text - Textual representation of the state
Method Detail

getParent

public WfExecutionObject.State getParent()
Returns the parent in the state hierachy if all states defined in this class or null, if this states are at the top level of the hierachy.

Overrides:
getParent in class WfExecutionObject.State
Returns:
parent in the state hierachy

workflowState

public WfExecutionObject.State workflowState()
Returns the workflow state, i.e. the parent.

Overrides:
workflowState in class WfExecutionObject.State
Returns:
the workflow state

whileOpenState

public WfExecutionObject.State whileOpenState()
Returns the workflow substate for open execution objects.

Overrides:
whileOpenState in class WfExecutionObject.State
Returns:
the sub-state of open state

whyNotRunningState

public WfExecutionObject.State whyNotRunningState()
Returns the workflow substate for open, not running execution objects.

Overrides:
whyNotRunningState in class WfExecutionObject.State
Returns:
the sub-state of not-running state

howClosedState

public WfExecutionObject.State howClosedState()
Returns the workflow substate for closed execution objects.

Overrides:
howClosedState in class WfExecutionObject.State
Returns:
the sub-state of closed state