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 booleanequals(Object obj)NodeKeygetElement()StringgetName()StringgetType()inthashCode()StringtoString()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:
getElementin interfaceINamedElement<NodeKey>- Specified by:
getElementin interfaceINodeWithName- Returns:
- The key of the referenced workflow node.
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedElement<NodeKey>- Returns:
- The name of the element.
-
getType
public String getType()
- Specified by:
getTypein interfaceINodeWithName- Specified by:
getTypein interfaceIWorkflowElementTypeProviding- Returns:
- The type of the referenced workflow node.
-
-