Package com.soffid.iam.bpm.api
Class ProcessInstance
- java.lang.Object
-
- com.soffid.iam.bpm.api.ProcessInstance
-
- All Implemented Interfaces:
Serializable
public class ProcessInstance extends Object implements Serializable
ValueObject ProcessInstance- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessInstance()
ProcessInstance(long id, long processDefinition, boolean dummyProcess)
ProcessInstance(long id, UIClassLoader processClassLoader, String description, Date start, Date end, Map<String,Object> variables, String currentTask, List<Comment> comments, long processDefinition, boolean dummyProcess, String initiator)
ProcessInstance(ProcessInstance otherBean)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getAttributes()
Gets value for attribute variablesList<Comment>
getComments()
Gets value for attribute commentsString
getCurrentTask()
Gets value for attribute currentTaskString
getDescription()
Gets value for attribute descriptionDate
getEnd()
Gets value for attribute endlong
getId()
Gets value for attribute idString
getInitiator()
Gets value for attribute initiatorUIClassLoader
getProcessClassLoader()
Gets value for attribute processClassLoaderlong
getProcessDefinition()
Gets value for attribute processDefinitionDate
getStart()
Gets value for attribute startMap<String,Object>
getVariables()
Gets value for attribute variablesboolean
isDummyProcess()
Gets value for attribute dummyProcessvoid
setAttributes(Map<String,Object> variables)
Sets value for attribute variablesvoid
setComments(List<Comment> comments)
Sets value for attribute commentsvoid
setCurrentTask(String currentTask)
Sets value for attribute currentTaskvoid
setDescription(String description)
Sets value for attribute descriptionvoid
setDummyProcess(boolean dummyProcess)
Sets value for attribute dummyProcessvoid
setEnd(Date end)
Sets value for attribute endvoid
setId(long id)
Sets value for attribute idvoid
setInitiator(String initiator)
Sets value for attribute initiatorvoid
setProcessClassLoader(UIClassLoader processClassLoader)
Sets value for attribute processClassLoadervoid
setProcessDefinition(long processDefinition)
Sets value for attribute processDefinitionvoid
setStart(Date start)
Sets value for attribute startvoid
setVariables(Map<String,Object> variables)
Sets value for attribute variablesstatic ProcessInstance
toProcessInstance(ProcessInstance vo)
Creates a ProcessInstance value object based on a ProcessInstance object.static void
toProcessInstance(ProcessInstance source, ProcessInstance target)
Updates a ProcessInstance value object based on a ProcessInstance object.static ProcessInstance[]
toProcessInstanceArray(ProcessInstance[] source)
Creates a ProcessInstance array on a ProcessInstance array.static AsyncList<ProcessInstance>
toProcessInstanceAsyncList(AsyncList<ProcessInstance> source)
Creates a ProcessInstance asynclist on a ProcessInstance collection.static PagedResult<ProcessInstance>
toProcessInstanceList(PagedResult<ProcessInstance> source)
Creates a ProcessInstance pagedResult on a ProcessInstance collection.static List<ProcessInstance>
toProcessInstanceList(Collection<ProcessInstance> source)
Creates a ProcessInstance list on a ProcessInstance collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
ProcessInstance
public ProcessInstance()
-
ProcessInstance
public ProcessInstance(long id, UIClassLoader processClassLoader, String description, Date start, Date end, Map<String,Object> variables, String currentTask, List<Comment> comments, long processDefinition, boolean dummyProcess, String initiator)
-
ProcessInstance
public ProcessInstance(long id, long processDefinition, boolean dummyProcess)
-
ProcessInstance
public ProcessInstance(ProcessInstance otherBean)
-
-
Method Detail
-
getId
public long getId()
Gets value for attribute id
-
setId
public void setId(long id)
Sets value for attribute id
-
getProcessClassLoader
public UIClassLoader getProcessClassLoader()
Gets value for attribute processClassLoader
-
setProcessClassLoader
public void setProcessClassLoader(UIClassLoader processClassLoader)
Sets value for attribute processClassLoader
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getStart
public Date getStart()
Gets value for attribute start
-
setStart
public void setStart(Date start)
Sets value for attribute start
-
getEnd
public Date getEnd()
Gets value for attribute end
-
setEnd
public void setEnd(Date end)
Sets value for attribute end
-
setVariables
public void setVariables(Map<String,Object> variables)
Sets value for attribute variables
-
setAttributes
public void setAttributes(Map<String,Object> variables)
Sets value for attribute variables
-
getCurrentTask
public String getCurrentTask()
Gets value for attribute currentTask
-
setCurrentTask
public void setCurrentTask(String currentTask)
Sets value for attribute currentTask
-
getProcessDefinition
public long getProcessDefinition()
Gets value for attribute processDefinition
-
setProcessDefinition
public void setProcessDefinition(long processDefinition)
Sets value for attribute processDefinition
-
isDummyProcess
public boolean isDummyProcess()
Gets value for attribute dummyProcess
-
setDummyProcess
public void setDummyProcess(boolean dummyProcess)
Sets value for attribute dummyProcess
-
getInitiator
public String getInitiator()
Gets value for attribute initiator
-
setInitiator
public void setInitiator(String initiator)
Sets value for attribute initiator
-
toString
public String toString()
Returns a string representation of the value object.
-
toProcessInstance
public static ProcessInstance toProcessInstance(ProcessInstance vo)
Creates a ProcessInstance value object based on a ProcessInstance object.
-
toProcessInstanceList
public static List<ProcessInstance> toProcessInstanceList(Collection<ProcessInstance> source)
Creates a ProcessInstance list on a ProcessInstance collection.
-
toProcessInstanceList
public static PagedResult<ProcessInstance> toProcessInstanceList(PagedResult<ProcessInstance> source)
Creates a ProcessInstance pagedResult on a ProcessInstance collection.
-
toProcessInstanceAsyncList
public static AsyncList<ProcessInstance> toProcessInstanceAsyncList(AsyncList<ProcessInstance> source)
Creates a ProcessInstance asynclist on a ProcessInstance collection.
-
toProcessInstanceArray
public static ProcessInstance[] toProcessInstanceArray(ProcessInstance[] source)
Creates a ProcessInstance array on a ProcessInstance array.
-
toProcessInstance
public static void toProcessInstance(ProcessInstance source, ProcessInstance target)
Updates a ProcessInstance value object based on a ProcessInstance object.
-
-