xflow.common
Class ProcessState

java.lang.Object
  |
  +--xflow.common.ProcessState
All Implemented Interfaces:
java.io.Serializable

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

This is the process' current state - timeStarted, workitem being performed

See Also:
Serialized Form

Field Summary
 java.lang.String processName
           
 java.util.Date timeStarted
           
 xflow.common.WorkflowId workflowId
           
 xflow.common.WorkItemId workItemId
           
 
Constructor Summary
ProcessState()
          Constructor
 
Method Summary
 java.lang.String getProcessName()
          Returns the process name
 java.util.Date getTimeStarted()
          Gets the time started
 xflow.common.WorkflowId getWorkflowId()
          Gets a workflow ID
 xflow.common.WorkItemId getWorkItemId()
          Gets the work item ID
 void setProcessName(java.lang.String n)
          Sets a process name
 void setTimeStarted(java.util.Date d)
          Sets the time started
 void setWorkflowId(xflow.common.WorkflowId id)
          Sets a workflow ID
 void setWorkItemId(xflow.common.WorkItemId id)
          Sets the work item ID
 java.lang.String toString()
          Gets the string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

workflowId

public xflow.common.WorkflowId workflowId

processName

public java.lang.String processName

timeStarted

public java.util.Date timeStarted

workItemId

public xflow.common.WorkItemId workItemId
Constructor Detail

ProcessState

public ProcessState()
Constructor

Method Detail

setWorkflowId

public void setWorkflowId(xflow.common.WorkflowId id)
Sets a workflow ID


getWorkflowId

public xflow.common.WorkflowId getWorkflowId()
Gets a workflow ID

Returns:
workflowId the workflow ID

setProcessName

public void setProcessName(java.lang.String n)
Sets a process name

Parameters:
n - the process name

getProcessName

public java.lang.String getProcessName()
Returns the process name


setTimeStarted

public void setTimeStarted(java.util.Date d)
Sets the time started

Parameters:
d - the start time

getTimeStarted

public java.util.Date getTimeStarted()
Gets the time started

Returns:
d the start time

setWorkItemId

public void setWorkItemId(xflow.common.WorkItemId id)
Sets the work item ID

Parameters:
id - the work item ID

getWorkItemId

public xflow.common.WorkItemId getWorkItemId()
Gets the work item ID

Returns:
the work item ID

toString

public java.lang.String toString()
Gets the string representation of this object

Overrides:
toString in class java.lang.Object
Returns:
the string representation