|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ContainmentHierarchy represents a hierarchy (tree) of Xholon nodes contained within other Xholon nodes. This is called a Composite Structure in UML. It encapsulates the root node of a Xholon hierarchy (rootNode). A primary role of the ContainmentHierarchy is to read a Xholon hierarchy in from a file (ex: CompositeStructureHierarchy.xml), and store the nodes in a tree.
Field Summary | |
static char |
COMMENT_CHAR
|
Fields inherited from interface org.primordion.xholon.base.IXholon |
DEFAULT_SIZE_MSG_Q, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx |
Method Summary | |
void |
deleteContainmentHierarchy()
Delete the containment hierarchy. |
IXholon |
getTheRootNode()
Get the root node of the containment (composite structure) hierarchy. |
void |
populateAllFromFile(java.lang.String fileName)
Populate all instances of Xholon from a file. |
void |
printContainmentHierarchy()
Print out the Xholon names, in tree order. |
void |
setInheritanceHierarchy(IInheritanceHierarchy ih)
Set InheritanceHierarchy instance. |
void |
setTreeNodeFactory(ITreeNodeFactory f)
Set singleton TreeNodeFactory instance. |
Field Detail |
public static final char COMMENT_CHAR
Method Detail |
public void deleteContainmentHierarchy()
public void setTreeNodeFactory(ITreeNodeFactory f)
f
- The TreeNodeFactory instance.public void setInheritanceHierarchy(IInheritanceHierarchy ih)
ih
- The InheritanceHierarchy instance.public IXholon getTheRootNode()
public void populateAllFromFile(java.lang.String fileName)
fileName
- Name of the file. (ex: CompositeStructureHierarchy.xml)public void printContainmentHierarchy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |