wt.workflow.engine
Class WfExecutionObject

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.enterprise.Simple
          extended by wt.workflow.engine.WfExecutionObject
All Implemented Interfaces:
Externalizable, Serializable, AccessControlled, wt.access.PolicyAccessControlled, wt.access.SecurityLabeled, wt.admin.DomainAdministered, wt.fc.BusinessInformation, NetFactor, ObjectMappable, Persistable, DisplayIdentification, WTContained, Notifiable, wt.recent.RecentlyVisited
Direct Known Subclasses:
wt.workflow.engine.WfActivity, wt.workflow.engine.WfContainer

public abstract class WfExecutionObject
extends Simple
implements WTContained, Externalizable

WfExecutionObject is an abstract base class that defines common attributes, states and operations for processes and steps. When a WfExecutionObject is created it enters the 'open.notRunning.notStarted' state.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static String CONTEXT
          Label for the attribute; Input and output data for the execution object.
static String NAME
          Label for the attribute; Human readable, descriptive identifier of the execution object.
static String PRIORITY
          Label for the attribute; Relative priority of the execution object in the set of all objects of a given type.
 
Method Summary
 ProcessData getContext()
          Gets the value of the attribute: CONTEXT.
 String getName()
          Gets the value of the attribute: NAME.
 long getPriority()
          Gets the value of the attribute: PRIORITY.
 void setContext(ProcessData a_Context)
          Sets the value of the attribute: CONTEXT.
 void setName(String a_Name)
          Sets the value of the attribute: NAME.
 void setPriority(long a_Priority)
          Sets the value of the attribute: PRIORITY.
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
Label for the attribute; Human readable, descriptive identifier of the execution object.

Supported API: true

See Also:
Constant Field Values

PRIORITY

public static final String PRIORITY
Label for the attribute; Relative priority of the execution object in the set of all objects of a given type. Valid values are numbers between one and five, with three being "normal" and one as the "highest" priority.

Supported API: true

See Also:
Constant Field Values

CONTEXT

public static final String CONTEXT
Label for the attribute; Input and output data for the execution object. The context is described by a set of named variables (also called "attributes" or "properties"). These variables can be both read and written by the object. The context for a process correspond to the global data for all process activities. For activities, it is possible to map its (local) variables onto process (global) variables. This mapping provides the way by which activities communicate data.

Supported API: true

See Also:
Constant Field Values
Method Detail

getName

public String getName()
Gets the value of the attribute: NAME. Human readable, descriptive identifier of the execution object.

Supported API: true

Returns:
String

setName

public void setName(String a_Name)
Sets the value of the attribute: NAME. Human readable, descriptive identifier of the execution object.

Supported API: true

Parameters:
a_Name -

getPriority

public long getPriority()
Gets the value of the attribute: PRIORITY. Relative priority of the execution object in the set of all objects of a given type. Valid values are numbers between one and five, with three being "normal" and one as the "highest" priority.

Supported API: true

Returns:
long

setPriority

public void setPriority(long a_Priority)
Sets the value of the attribute: PRIORITY. Relative priority of the execution object in the set of all objects of a given type. Valid values are numbers between one and five, with three being "normal" and one as the "highest" priority.

Supported API: true

Parameters:
a_Priority -

getContext

public ProcessData getContext()
Gets the value of the attribute: CONTEXT. Input and output data for the execution object. The context is described by a set of named variables (also called "attributes" or "properties"). These variables can be both read and written by the object. The context for a process correspond to the global data for all process activities. For activities, it is possible to map its (local) variables onto process (global) variables. This mapping provides the way by which activities communicate data.

Supported API: true

Returns:
ProcessData

setContext

public void setContext(ProcessData a_Context)
Sets the value of the attribute: CONTEXT. Input and output data for the execution object. The context is described by a set of named variables (also called "attributes" or "properties"). These variables can be both read and written by the object. The context for a process correspond to the global data for all process activities. For activities, it is possible to map its (local) variables onto process (global) variables. This mapping provides the way by which activities communicate data.

Supported API: true

Parameters:
a_Context -