Package de.xima.fc.workflow.taglib.model
Class ProcessModel
- java.lang.Object
-
- de.xima.fc.workflow.taglib.model.ProcessModel
-
- All Implemented Interfaces:
IUuidProviding
,Serializable
public final class ProcessModel extends Object implements IUuidProviding, Serializable
View model corresponding to the WorkflowProcess entity, used by theFlowchart
component.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessModel
empty()
boolean
equals(Object obj)
List<TaskModel>
getTasks()
UUID
getUuid()
int
hashCode()
void
setTasks(List<TaskModel> tasks)
void
setUuid(UUID uuid)
-
-
-
Method Detail
-
getTasks
public List<TaskModel> getTasks()
- Returns:
- An ordered lists of tasks contained in this process. Each task is a program that can be executed.
-
getUuid
public UUID getUuid()
- Specified by:
getUuid
in interfaceIUuidProviding
- Returns:
- The UUID that identifies this instance.
-
setTasks
public void setTasks(List<TaskModel> tasks)
- Parameters:
tasks
- The tasks for this process. Each task is a program that can be executed.
-
setUuid
public void setUuid(UUID uuid)
- Parameters:
uuid
- The UUID of this process.
-
empty
public static ProcessModel empty()
- Returns:
- An empty process model, with no tasks.
-
-