Package com.opensymphony.workflow.spi
Class SimpleWorkflowEntry
java.lang.Object
com.opensymphony.workflow.spi.SimpleWorkflowEntry
- All Implemented Interfaces:
WorkflowEntry,Serializable
Simple implemenation.
- Author:
- Pat Lightbody
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Returns the unique ID of the workflow entry.intgetState()Returns the name of the workflow that this entry is an instance of.booleanReturns true if the workflow entry has been initialized.voidsetId(long id) voidsetInitialized(boolean initialized) voidsetState(int state) voidsetWorkflowName(String workflowName)
-
Field Details
-
workflowName
-
initialized
protected boolean initialized -
state
protected int state -
id
protected long id
-
-
Constructor Details
-
SimpleWorkflowEntry
-
-
Method Details
-
setId
public void setId(long id) -
getId
public long getId()Description copied from interface:WorkflowEntryReturns the unique ID of the workflow entry.- Specified by:
getIdin interfaceWorkflowEntry
-
setInitialized
public void setInitialized(boolean initialized) -
isInitialized
public boolean isInitialized()Description copied from interface:WorkflowEntryReturns true if the workflow entry has been initialized.- Specified by:
isInitializedin interfaceWorkflowEntry
-
setState
public void setState(int state) -
getState
public int getState()- Specified by:
getStatein interfaceWorkflowEntry
-
setWorkflowName
-
getWorkflowName
Description copied from interface:WorkflowEntryReturns the name of the workflow that this entry is an instance of.- Specified by:
getWorkflowNamein interfaceWorkflowEntry
-