Class TaskWithName
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.TaskWithName
-
- All Implemented Interfaces:
INamedElement<UUID>
,ITaskWithName
,Serializable
public final class TaskWithName extends Object implements ITaskWithName, Serializable
POJO implementation ofITaskWithName
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskWithName(UUID 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)
UUID
getElement()
String
getName()
int
hashCode()
String
toString()
Converts this task with name to a string reflecting the data of this POJO.
-
-
-
Constructor Detail
-
TaskWithName
public TaskWithName(UUID key, String name)
Creates a new POJO instance with the given values.- Parameters:
key
- The value forITaskWithName.getElement()
. Must not benull
.name
- The value forINamedElement.getName()
.
-
-
Method Detail
-
getElement
public UUID getElement()
- Specified by:
getElement
in interfaceINamedElement<UUID>
- Specified by:
getElement
in interfaceITaskWithName
- Returns:
- The key of the referenced workflow trigger.
-
getName
public String getName()
- Specified by:
getName
in interfaceINamedElement<UUID>
- Returns:
- The name of the element.
-
-