Class NodeKey

    • Method Detail

      • getTaskUuid

        @NotNull
        public @NotNull UUID getTaskUuid()
        Specified by:
        getTaskUuid in interface ITaskUuidProviding
        Returns:
        UUID of the task to which the node belongs.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setTaskUuid

        public void setTaskUuid​(UUID taskUuid)
        Parameters:
        taskUuid - UUID of the task to which the node belongs.
      • setUuid

        public void setUuid​(UUID uuid)
        Parameters:
        uuid - UUID of the node.
      • toElementKey

        public ElementKey toElementKey()
        Returns:
        An element key for this node key.
      • stringValue

        public String stringValue()
        Returns:
        A string form of this key that can be parsed by of(String).
      • of

        public static NodeKey of​(String value)
        Parameters:
        value - Value as obtained by stringValue().
        Returns:
        The key represented by the given string.
      • toString

        public String toString()
        Converts this node with name to a string reflecting the data of this POJO. Required for the omnifaces.SelectItemsConverter
        Overrides:
        toString in class Object
      • of

        public static NodeKey of​(WorkflowNode node)
        Parameters:
        node - Node for which to get a key.
        Returns:
        A new node key for a node in the given task.
      • of

        public static NodeKey of​(UUID taskUuid,
                                 UUID nodeUuid)
        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.