Interface NodeObject

All Superinterfaces:
AbstractWorkflowItemObject, ControlflowItemObject, DataObject, ParentItemObject<SequenceObject>, PropertyHandler, SequencedObject, StatusableObject
All Known Implementing Classes:
NodeObjectImpl

public interface NodeObject extends ParentItemObject<SequenceObject>, SequencedObject
Interface of a node-object used in the controlflow of a workflow. CAKE III - Extension. Represents a logical operation applied to sequences.
Author:
Sebastian Goerg
  • Method Details

    • getType

      NodeObject.TYPES getType()
      Returns the type of the node.
      Returns:
      Type of the node
    • setType

      void setType(NodeObject.TYPES type)
      Sets the type for the node.
      Parameters:
      type - Type of the node.
    • addSequence

      boolean addSequence(SequenceObject newItem)
      Adds the given item to the last position in the sequence-list.
      Parameters:
      newItem - New Sequence.
    • getSequences

      LinkedList<SequenceObject> getSequences()
      Returns the complete list of the sequences.
      Returns:
      List of sequences.
    • removeSequence

      boolean removeSequence(String id)
      Removes the sequence with the given id.
      Parameters:
      id - Id of the item.