Package de.xima.fc.workflow.taglib.model
Class TaskModel
- java.lang.Object
-
- de.xima.fc.workflow.taglib.model.TaskModel
-
- All Implemented Interfaces:
IUuidProviding
,Serializable
public final class TaskModel extends Object implements IUuidProviding, Serializable
View model corresponding to the WorkflowTask entity, used by theFlowchart
component.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getDescription()
String
getName()
NodeModel
getNode()
TriggerModel
getTrigger()
UUID
getUuid()
int
hashCode()
void
setDescription(String description)
void
setName(String name)
void
setNode(NodeModel node)
void
setTrigger(TriggerModel trigger)
void
setUuid(UUID uuid)
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Returns:
- The description of this task, as shown to the user.
-
getName
public String getName()
- Returns:
- The name of this task, as shown to the user. Required.
-
getNode
public NodeModel getNode()
- Returns:
- The root node of this task where execution starts, usually a node of type SEQUENCE.
-
getTrigger
@Nullable public TriggerModel getTrigger()
- Returns:
- A trigger that starts the execution of this task when it fires.
-
getUuid
public UUID getUuid()
- Specified by:
getUuid
in interfaceIUuidProviding
- Returns:
- The UUID that identifies this instance.
-
setDescription
public void setDescription(String description)
- Parameters:
description
- The description of this task, as shown to the user.
-
setName
public void setName(String name)
- Parameters:
name
- The name of this task, as shown to the user.
-
setNode
public void setNode(NodeModel node)
- Parameters:
node
- The root node of this task where execution starts, usually a node of type SEQUENCE.
-
setTrigger
public void setTrigger(TriggerModel trigger)
- Parameters:
trigger
- A trigger that starts the execution of this task when it fires.
-
setUuid
public void setUuid(UUID uuid)
- Parameters:
uuid
- The UUID of this task, unique within the process.
-
-