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 booleanequals(Object obj)UUIDgetElement()StringgetName()inthashCode()StringtoString()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:
getElementin interfaceINamedElement<UUID>- Specified by:
getElementin interfaceITaskWithName- Returns:
- The key of the referenced workflow trigger.
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedElement<UUID>- Returns:
- The name of the element.
-
-