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