Package de.xima.fc.workflow.taglib.model
Class TriggerModel
- java.lang.Object
-
- de.xima.fc.workflow.taglib.model.TriggerModel
-
- All Implemented Interfaces:
IActiveFlagProviding,IUuidProviding,IWorkflowElementTypeProviding,IWorkflowTriggerTypeProviding,Serializable
public final class TriggerModel extends Object implements IUuidProviding, IWorkflowTriggerTypeProviding, IActiveFlagProviding, Serializable
View model corresponding to the WorkflowTrigger entity, used by theFlowchartcomponent.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TriggerModel()
-
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein interfaceIWorkflowElementTypeProviding- Returns:
- The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
-
getUuid
public UUID getUuid()
- Specified by:
getUuidin interfaceIUuidProviding- Returns:
- The UUID that identifies this instance.
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceIActiveFlagProviding- Returns:
- {code true} if this instance is considered active, enabled etc. The exact meaning depends on the type.
-
setActive
public void setActive(boolean active)
- Parameters:
active- Whether this trigger is active. Inactive triggers cannot fire.
-
setType
public void setType(String type)
- Parameters:
type- The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
-
setUuid
public void setUuid(UUID uuid)
- Parameters:
uuid- The UUID of this trigger, unique within the task of this trigger.
-
-