Class NodeWithName
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.NodeWithName
-
- All Implemented Interfaces:
INamedElement<NodeKey>
,ITypedWorkflowElement<NodeKey>
,IWorkflowElementTypeProviding
,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, 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)
NodeKey
getElement()
String
getName()
String
getType()
int
hashCode()
String
toString()
Converts this node 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.nodes.INodeWithName
getElementKey
-
-
-
-
Constructor Detail
-
NodeWithName
public NodeWithName(NodeKey key, String name, String type)
Creates a new POJO instance with the given values.- Parameters:
key
- The value forINodeWithName.getElement()
. Must not benull
.name
- The value forINamedElement.getName()
.type
- The value forgetType()
-
-
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.
-
getType
public String getType()
- Specified by:
getType
in interfaceINodeWithName
- Specified by:
getType
in interfaceIWorkflowElementTypeProviding
- Returns:
- The type of the referenced workflow node.
-
-