|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreePath
The entity type (database table) where tree paths are stored. For every descendant, all ancestor nodes are stored, including the descendant itself, which means that for every node one TreePaths object exists where descendant == ancestor.
Method Summary | |
---|---|
ClosureTableTreeNode |
getAncestor()
One of the ancestor tree nodes of the descendant, or the descendant itself. |
int |
getDepth()
The 0-n level this descendant tree node occurs, 0 is self-reference. |
ClosureTableTreeNode |
getDescendant()
The (descendant) tree node (of the ancestor). |
int |
getOrderIndex()
The 0-n child position this descendant occurs at. |
void |
setAncestor(ClosureTableTreeNode ancestor)
|
void |
setDepth(int depth)
|
void |
setDescendant(ClosureTableTreeNode descendant)
|
void |
setOrderIndex(int orderIndex)
|
Method Detail |
---|
ClosureTableTreeNode getAncestor()
void setAncestor(ClosureTableTreeNode ancestor)
ClosureTableTreeNode getDescendant()
void setDescendant(ClosureTableTreeNode descendant)
int getDepth()
void setDepth(int depth)
int getOrderIndex()
void setOrderIndex(int orderIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |