Class NodeKey
java.lang.Object
de.xima.fc.workflow.NodeKey
- All Implemented Interfaces:
IUuidProviding, Serializable
The key of a workflow node that uniquely identifies it within the context of a process. Consists of the node's UUID.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.getType()Gets the type of this key, alwaysEWorkflowElementType.NODE.getUuid()Gets the UUID of the referenced node.inthashCode()static NodeKeyof(WorkflowNode node) static NodeKeystatic NodeKeystatic NodeKeyDeprecated.Useof(UUID)instead, the task UUID is not needed anymore and is ignored.voidsetTaskUuid(UUID taskUuid) Deprecated.Not used anymore, just thegetUuid()already uniquely identifies the node.toString()Converts this node with name to a string reflecting the data of this POJO.
-
Method Details
-
equals
-
getTaskUuid
Deprecated.Not used anymore, just thegetUuid()already uniquely identifies the node. This method will most likely return null.Gets the legacy task UUID, if available. This was used in older versions, but now only exists for backwards compatibility. The node UUID is already unique within the workflow, so the task UUID is not needed anymore.- Returns:
- The legacy task UUID if available, null otherwise.
-
setTaskUuid
Deprecated.Not used anymore, just thegetUuid()already uniquely identifies the node.Sets the legacy task UUID. This was used in older versions, but now only exists for backwards compatibility. The node UUID is already unique within the workflow, so the task UUID is not needed anymore.- Parameters:
taskUuid- The legacy task UUID to set, can be null.
-
getType
Gets the type of this key, alwaysEWorkflowElementType.NODE.- Returns:
- The type of this key, always
EWorkflowElementType.NODE.
-
getUuid
Gets the UUID of the referenced node.- Specified by:
getUuidin interfaceIUuidProviding- Returns:
- The UUID of the node.
-
hashCode
-
stringValue
- Returns:
- A string form of this key that can be parsed by
of(String).
-
toElementKey
- Returns:
- An element key for this node key.
-
toString
-
of
- Parameters:
value- Value as obtained bystringValue().- Returns:
- The key represented by the given string.
-
of
- Parameters:
node- Node for which to get a key.- Returns:
- A new node key for a node in the given task.
-
of
-
of
Deprecated.Useof(UUID)instead, the task UUID is not needed anymore and is ignored.- Parameters:
taskUuid- UUID of the task to which the node belongs.nodeUuid- UUID of the node.- Returns:
- A new node key for a node in the given task.
-
getUuid()already uniquely identifies the node.