Interface NodeObject

    • Method Detail

      • 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.