Class TriggerWithName
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.TriggerWithName
-
- All Implemented Interfaces:
INamedElement<TriggerKey>
,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)
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()
int
hashCode()
String
toString()
Converts this trigger with name to a string reflecting the data of this POJO.
-
-
-
Constructor Detail
-
TriggerWithName
public TriggerWithName(TriggerKey key, String name)
Creates a new POJO instance with the given values.- Parameters:
key
- The value forITriggerWithName.getElement()
. Must not benull
.name
- The value forINamedElement.getName()
.
-
-
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.
-
-