xflow.common
Class ProcessState

java.lang.Object
  extended byxflow.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
           
 java.lang.Integer workflowId
           
 java.lang.Integer workItemId
           
 
Constructor Summary
ProcessState()
          Constructor
 
Method Summary
 java.lang.String getProcessName()
          Returns the process name
 java.util.Date getTimeStarted()
          Gets the time started
 java.lang.Integer getWorkflowId()
          Gets a workflow ID
 java.lang.Integer 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(java.lang.Integer id)
          Sets a workflow ID
 void setWorkItemId(java.lang.Integer 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 java.lang.Integer workflowId

processName

public java.lang.String processName

timeStarted

public java.util.Date timeStarted

workItemId

public java.lang.Integer workItemId
Constructor Detail

ProcessState

public ProcessState()
Constructor

Method Detail

setWorkflowId

public void setWorkflowId(java.lang.Integer id)
Sets a workflow ID

Parameters:
id - the workflow ID

getWorkflowId

public java.lang.Integer 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(java.lang.Integer id)
Sets the work item ID

Parameters:
id - the work item ID

getWorkItemId

public java.lang.Integer getWorkItemId()
Gets the work item ID

Returns:
the work item ID

toString

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

Returns:
the string representation