Class TriggerWithName
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.TriggerWithName
-
- All Implemented Interfaces:
INamedElement<TriggerKey>
,ITypedWorkflowElement<TriggerKey>
,IWorkflowElementTypeProviding
,ITriggerWithName
,Serializable
public final class TriggerWithName extends Object implements ITriggerWithName, Serializable
POJO implementation ofITriggerWithName
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TriggerWithName(TriggerKey key, String name, String type)
Creates a new POJO instance with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
TriggerKey
getElement()
String
getName()
String
getType()
int
hashCode()
String
toString()
Converts this trigger with name to a string reflecting the data of this POJO.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.workflow.triggers.ITriggerWithName
getElementKey
-
-
-
-
Constructor Detail
-
TriggerWithName
public TriggerWithName(TriggerKey key, String name, String type)
Creates a new POJO instance with the given values.- Parameters:
key
- The value forITriggerWithName.getElement()
. Must not benull
.name
- The value forINamedElement.getName()
.type
- The value forITriggerWithName.getType()
.
-
-
Method Detail
-
getElement
public TriggerKey getElement()
- Specified by:
getElement
in interfaceINamedElement<TriggerKey>
- Specified by:
getElement
in interfaceITriggerWithName
- Returns:
- The key of the referenced workflow trigger.
-
getName
public String getName()
- Specified by:
getName
in interfaceINamedElement<TriggerKey>
- Returns:
- The name of the element.
-
getType
public String getType()
- Specified by:
getType
in interfaceITriggerWithName
- Specified by:
getType
in interfaceIWorkflowElementTypeProviding
- Returns:
- The type of the referenced workflow trigger.
-
-