Interface INestedSetNode

  • All Implemented Interfaces:

    
    public interface INestedSetNode<ID extends Object, T extends INestedSetNode<ID, T>>
    
                        

    Interface representing a node in a nested set tree structure. This interface defines the basic properties and methods for a nested set node.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ID getId() The unique identifier of the node.
      abstract Integer getLeft() The left value of the node in the nested set.
      abstract Unit setLeft(Integer left) The left value of the node in the nested set.
      abstract Integer getRight() The right value of the node in the nested set.
      abstract Unit setRight(Integer right) The right value of the node in the nested set.
      abstract T getParent() The level of the node in the nested set tree.
      abstract Unit setParent(T parent) The level of the node in the nested set tree.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getId

         abstract ID getId()

        The unique identifier of the node.

      • getLeft

         abstract Integer getLeft()

        The left value of the node in the nested set.

      • setLeft

         abstract Unit setLeft(Integer left)

        The left value of the node in the nested set.

      • getRight

         abstract Integer getRight()

        The right value of the node in the nested set.

      • setRight

         abstract Unit setRight(Integer right)

        The right value of the node in the nested set.

      • getParent

         abstract T getParent()

        The level of the node in the nested set tree.

      • setParent

         abstract Unit setParent(T parent)

        The level of the node in the nested set tree.