Package es.caib.bpm.vo
Class TaskInstance
- java.lang.Object
-
- es.caib.bpm.vo.TaskInstance
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LighweightTaskInstance
public class TaskInstance extends Object implements Serializable
ValueObject TaskInstance- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskInstance()
TaskInstance(long id, long processDefinition, boolean dummyTask, boolean cancelled, boolean open, boolean signalling, boolean blocking)
TaskInstance(long id, UIClassLoader processClassLoader, String processName, long processId, long processDefinition, boolean dummyTask, String name, String description, String actorId, Date create, Date start, Date end, Date dueDate, int priority, boolean cancelled, boolean open, boolean signalling, boolean blocking, String swimlane, Set<String> pooledActors, Map variables, String[] transitions)
TaskInstance(TaskInstance otherBean)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActorId()
Gets value for attribute actorIdDate
getCreate()
Gets value for attribute createString
getDescription()
Gets value for attribute descriptionDate
getDueDate()
Gets value for attribute dueDateDate
getEnd()
Gets value for attribute endlong
getId()
Gets value for attribute idString
getName()
Gets value for attribute nameSet<String>
getPooledActors()
Gets value for attribute pooledActorsint
getPriority()
Gets value for attribute priorityUIClassLoader
getProcessClassLoader()
Gets value for attribute processClassLoaderlong
getProcessDefinition()
Gets value for attribute processDefinitionlong
getProcessId()
Gets value for attribute processIdString
getProcessName()
Gets value for attribute processNameDate
getStart()
Gets value for attribute startString
getSwimlane()
Gets value for attribute swimlaneString[]
getTransitions()
Gets value for attribute transitionsMap
getVariables()
Gets value for attribute variablesboolean
isBlocking()
Gets value for attribute blockingboolean
isCancelled()
Gets value for attribute cancelledboolean
isDummyTask()
Gets value for attribute dummyTaskboolean
isOpen()
Gets value for attribute openboolean
isSignalling()
Gets value for attribute signallingvoid
setActorId(String actorId)
Sets value for attribute actorIdvoid
setBlocking(boolean blocking)
Sets value for attribute blockingvoid
setCancelled(boolean cancelled)
Sets value for attribute cancelledvoid
setCreate(Date create)
Sets value for attribute createvoid
setDescription(String description)
Sets value for attribute descriptionvoid
setDueDate(Date dueDate)
Sets value for attribute dueDatevoid
setDummyTask(boolean dummyTask)
Sets value for attribute dummyTaskvoid
setEnd(Date end)
Sets value for attribute endvoid
setId(long id)
Sets value for attribute idvoid
setName(String name)
Sets value for attribute namevoid
setOpen(boolean open)
Sets value for attribute openvoid
setPooledActors(Set<String> pooledActors)
Sets value for attribute pooledActorsvoid
setPriority(int priority)
Sets value for attribute priorityvoid
setProcessClassLoader(UIClassLoader processClassLoader)
Sets value for attribute processClassLoadervoid
setProcessDefinition(long processDefinition)
Sets value for attribute processDefinitionvoid
setProcessId(long processId)
Sets value for attribute processIdvoid
setProcessName(String processName)
Sets value for attribute processNamevoid
setSignalling(boolean signalling)
Sets value for attribute signallingvoid
setStart(Date start)
Sets value for attribute startvoid
setSwimlane(String swimlane)
Sets value for attribute swimlanevoid
setTransitions(String[] transitions)
Sets value for attribute transitionsvoid
setVariables(Map variables)
Sets value for attribute variablesString
toString()
Returns a string representation of the value object.static TaskInstance
toTaskInstance(TaskInstance vo)
Creates a TaskInstance value object based on a TaskInstance object.static void
toTaskInstance(TaskInstance source, TaskInstance target)
Updates a TaskInstance value object based on a TaskInstance object.static TaskInstance[]
toTaskInstanceArray(TaskInstance[] source)
Creates a TaskInstance array on a TaskInstance array.static AsyncList<TaskInstance>
toTaskInstanceAsyncList(AsyncList<TaskInstance> source)
Creates a TaskInstance asynclist on a TaskInstance collection.static PagedResult<TaskInstance>
toTaskInstanceList(PagedResult<TaskInstance> source)
Creates a TaskInstance pagedResult on a TaskInstance collection.static List<TaskInstance>
toTaskInstanceList(Collection<TaskInstance> source)
Creates a TaskInstance list on a TaskInstance collection.
-
-
-
Constructor Detail
-
TaskInstance
public TaskInstance()
-
TaskInstance
public TaskInstance(long id, UIClassLoader processClassLoader, String processName, long processId, long processDefinition, boolean dummyTask, String name, String description, String actorId, Date create, Date start, Date end, Date dueDate, int priority, boolean cancelled, boolean open, boolean signalling, boolean blocking, String swimlane, Set<String> pooledActors, Map variables, String[] transitions)
-
TaskInstance
public TaskInstance(long id, long processDefinition, boolean dummyTask, boolean cancelled, boolean open, boolean signalling, boolean blocking)
-
TaskInstance
public TaskInstance(TaskInstance 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
-
getProcessName
public String getProcessName()
Gets value for attribute processName
-
setProcessName
public void setProcessName(String processName)
Sets value for attribute processName
-
getProcessId
public long getProcessId()
Gets value for attribute processId
-
setProcessId
public void setProcessId(long processId)
Sets value for attribute processId
-
getProcessDefinition
public long getProcessDefinition()
Gets value for attribute processDefinition
-
setProcessDefinition
public void setProcessDefinition(long processDefinition)
Sets value for attribute processDefinition
-
isDummyTask
public boolean isDummyTask()
Gets value for attribute dummyTask
-
setDummyTask
public void setDummyTask(boolean dummyTask)
Sets value for attribute dummyTask
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getActorId
public String getActorId()
Gets value for attribute actorId
-
setActorId
public void setActorId(String actorId)
Sets value for attribute actorId
-
getCreate
public Date getCreate()
Gets value for attribute create
-
setCreate
public void setCreate(Date create)
Sets value for attribute create
-
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
-
getDueDate
public Date getDueDate()
Gets value for attribute dueDate
-
setDueDate
public void setDueDate(Date dueDate)
Sets value for attribute dueDate
-
getPriority
public int getPriority()
Gets value for attribute priority
-
setPriority
public void setPriority(int priority)
Sets value for attribute priority
-
isCancelled
public boolean isCancelled()
Gets value for attribute cancelled
-
setCancelled
public void setCancelled(boolean cancelled)
Sets value for attribute cancelled
-
isOpen
public boolean isOpen()
Gets value for attribute open
-
setOpen
public void setOpen(boolean open)
Sets value for attribute open
-
isSignalling
public boolean isSignalling()
Gets value for attribute signalling
-
setSignalling
public void setSignalling(boolean signalling)
Sets value for attribute signalling
-
isBlocking
public boolean isBlocking()
Gets value for attribute blocking
-
setBlocking
public void setBlocking(boolean blocking)
Sets value for attribute blocking
-
getSwimlane
public String getSwimlane()
Gets value for attribute swimlane
-
setSwimlane
public void setSwimlane(String swimlane)
Sets value for attribute swimlane
-
setPooledActors
public void setPooledActors(Set<String> pooledActors)
Sets value for attribute pooledActors
-
getVariables
public Map getVariables()
Gets value for attribute variables
-
setVariables
public void setVariables(Map variables)
Sets value for attribute variables
-
getTransitions
public String[] getTransitions()
Gets value for attribute transitions
-
setTransitions
public void setTransitions(String[] transitions)
Sets value for attribute transitions
-
toString
public String toString()
Returns a string representation of the value object.
-
toTaskInstance
public static TaskInstance toTaskInstance(TaskInstance vo)
Creates a TaskInstance value object based on a TaskInstance object.
-
toTaskInstanceList
public static List<TaskInstance> toTaskInstanceList(Collection<TaskInstance> source)
Creates a TaskInstance list on a TaskInstance collection.
-
toTaskInstanceList
public static PagedResult<TaskInstance> toTaskInstanceList(PagedResult<TaskInstance> source)
Creates a TaskInstance pagedResult on a TaskInstance collection.
-
toTaskInstanceAsyncList
public static AsyncList<TaskInstance> toTaskInstanceAsyncList(AsyncList<TaskInstance> source)
Creates a TaskInstance asynclist on a TaskInstance collection.
-
toTaskInstanceArray
public static TaskInstance[] toTaskInstanceArray(TaskInstance[] source)
Creates a TaskInstance array on a TaskInstance array.
-
toTaskInstance
public static void toTaskInstance(TaskInstance source, TaskInstance target)
Updates a TaskInstance value object based on a TaskInstance object.
-
-