|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.utils.tree.TreeNode
com.raritantechnologies.utils.tree.ThesaurusNode
Specialized TreeNode that can have multiple parent nodes.
| Field Summary |
| Fields inherited from class com.raritantechnologies.utils.tree.TreeNode |
activeNode, children, maxCount, name, needsUpdate, nodeCount, nodeID, openState, parent |
| Constructor Summary | |
ThesaurusNode()
|
|
| Method Summary | |
void |
addParent(TreeNode parent)
|
java.util.List |
getAncestors(boolean includeSelf,
boolean includeRoot)
|
java.util.Iterator |
getParents()
|
java.util.List |
getPaths(java.lang.String separator,
boolean initSeparator)
|
boolean |
hasMultipleParents()
methods to support Thesaurus structure default is single parent. |
protected void |
setParent(TreeNode parent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ThesaurusNode()
| Method Detail |
protected void setParent(TreeNode parent)
setParent in class TreeNodepublic boolean hasMultipleParents()
TreeNode
hasMultipleParents in class TreeNodepublic void addParent(TreeNode parent)
addParent in class TreeNodepublic java.util.Iterator getParents()
getParents in class TreeNode
public java.util.List getPaths(java.lang.String separator,
boolean initSeparator)
getPaths in class TreeNode
public java.util.List getAncestors(boolean includeSelf,
boolean includeRoot)
getAncestors in class TreeNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||