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

java.lang.Object
  extended byde.danet.an.workflow.omgcore.WfExecutionObject.State
      extended byde.danet.an.workflow.omgcore.WfExecutionObject.ClosedState
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Activity.ClosedCompletedState
Enclosing class:
WfExecutionObject

public static class WfExecutionObject.ClosedState
extends WfExecutionObject.State
implements java.io.Serializable

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

See Also:
Serialized Form

Field Summary
static WfExecutionObject.ClosedState ABORTED
          Indicates that the enactment of the execution object has been aborted before normal execution.
static WfExecutionObject.ClosedState COMPLETED
          When an execution object has finished its task in the overall workflow process it enters the completed state; it is assumed that all execution objects associated with that execution object are completed when it enters this state.
static WfExecutionObject.ClosedState TERMINATED
          Indicates that enactment of the execution object was stopped before normal completion.
 
Fields inherited from class de.danet.an.workflow.omgcore.WfExecutionObject.State
CLOSED, OPEN
 
Constructor Summary
protected WfExecutionObject.ClosedState(java.lang.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

COMPLETED

public static final WfExecutionObject.ClosedState COMPLETED
When an execution object has finished its task in the overall workflow process it enters the completed state; it is assumed that all execution objects associated with that execution object are completed when it enters this state.


TERMINATED

public static final WfExecutionObject.ClosedState TERMINATED
Indicates that enactment of the execution object was stopped before normal completion. It is assumed that all execution objects depending on this execution object (i.e., WfActivities contained in a WfProcess or a WfProcess implementing a WfActivity) are either completed or are terminated when it enters this state.


ABORTED

public static final WfExecutionObject.ClosedState ABORTED
Indicates that the enactment of the execution object has been aborted before normal execution. No assumptions on the state of execution objects depending on this execution object are made when enters this state.

Constructor Detail

WfExecutionObject.ClosedState

protected WfExecutionObject.ClosedState(java.lang.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