|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | 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 | |
---|---|
java.util.List
|
getChildren()
The ids of the children. |
java.lang.String
|
getId()
The id of this node in the tree. |
java.lang.String
|
getParent()
The id of the parent entity, or null if none. |
Method Detail |
---|
public java.util.List getChildren()
public java.lang.String getId()
public java.lang.String getParent()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.