public class DefaultWorkflowInstance extends Object implements Serializable, WorkflowInstance
Constructor and Description |
---|
DefaultWorkflowInstance() |
public void addChildWorkflowInstance(WorkflowInstance childWorkflowInstance)
addChildWorkflowInstance
in interface WorkflowInstance
public int getChildrenWorkflowInstanceCount()
getChildrenWorkflowInstanceCount
in interface WorkflowInstance
public List<WorkflowInstance> getChildrenWorkflowInstances()
getChildrenWorkflowInstances
in interface WorkflowInstance
public Date getEndDate()
getEndDate
in interface WorkflowInstance
public WorkflowInstance getParentWorkflowInstance()
getParentWorkflowInstance
in interface WorkflowInstance
public long getParentWorkflowInstanceId()
getParentWorkflowInstanceId
in interface WorkflowInstance
public Date getStartDate()
getStartDate
in interface WorkflowInstance
public String getState()
getState
in interface WorkflowInstance
public Map<String,Serializable> getWorkflowContext()
getWorkflowContext
in interface WorkflowInstance
public String getWorkflowDefinitionName()
getWorkflowDefinitionName
in interface WorkflowInstance
public int getWorkflowDefinitionVersion()
getWorkflowDefinitionVersion
in interface WorkflowInstance
public long getWorkflowInstanceId()
getWorkflowInstanceId
in interface WorkflowInstance
public boolean isComplete()
isComplete
in interface WorkflowInstance
public void setChildrenWorkflowInstances(List<WorkflowInstance> childrenWorkflowInstances)
public void setEndDate(Date endDate)
public void setParentWorkflowInstance(WorkflowInstance parentWorkflowInstance)
setParentWorkflowInstance
in interface WorkflowInstance
public void setStartDate(Date startDate)
public void setState(String state)
public void setWorkflowContext(Map<String,Serializable> workflowContext)
public void setWorkflowDefinitionName(String workflowDefinitionName)
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
public void setWorkflowInstanceId(long workflowInstanceId)