|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TreeNode
A simple tree structure, where a node references a parent and children using their ids. e.g. could be used to represent the entity hierarchy within mementos, where the String is the id of parent/child entities.
| Method Summary | |
|---|---|
List<String> |
getChildren()
The ids of the children. |
String |
getId()
The id of this node in the tree. |
String |
getParent()
The id of the parent entity, or null if none. |
| Method Detail |
|---|
String getId()
String getParent()
List<String> getChildren()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||