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