|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.base.Xholon
org.primordion.xholon.base.ContainmentHierarchy
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 |
| Fields inherited from class org.primordion.xholon.base.Xholon |
DEFAULT_LEVEL, interaction, interactionsEnabled |
| Fields inherited from interface org.primordion.xholon.base.IContainmentHierarchy |
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 |
| Constructor Summary | |
ContainmentHierarchy(int maxXholons)
Constructor. |
|
| Method Summary | |
void |
deleteContainmentHierarchy()
Delete the containment hierarchy. |
IXholon |
getTheRootNode()
Get the root node of the containment (composite structure) hierarchy. |
static java.lang.String |
getXincludePath()
Get parameter XInclude path. |
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. |
static void |
setXincludePath(java.lang.String xiPath)
Set parameter XInclude path. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ContainmentHierarchy(int maxXholons)
maxXholons - no longer used| Method Detail |
public void deleteContainmentHierarchy()
IContainmentHierarchy
deleteContainmentHierarchy in interface IContainmentHierarchypublic void setTreeNodeFactory(ITreeNodeFactory f)
IContainmentHierarchy
setTreeNodeFactory in interface IContainmentHierarchyf - The TreeNodeFactory instance.public static void setXincludePath(java.lang.String xiPath)
xiPath - The path ex: "./config/_common/" .public static java.lang.String getXincludePath()
public void setInheritanceHierarchy(IInheritanceHierarchy ih)
IContainmentHierarchy
setInheritanceHierarchy in interface IContainmentHierarchyih - The InheritanceHierarchy instance.public IXholon getTheRootNode()
IContainmentHierarchy
getTheRootNode in interface IContainmentHierarchypublic void populateAllFromFile(java.lang.String fileName)
IContainmentHierarchy
populateAllFromFile in interface IContainmentHierarchyfileName - Name of the file. (ex: CompositeStructureHierarchy.xml)public void printContainmentHierarchy()
IContainmentHierarchy
printContainmentHierarchy in interface IContainmentHierarchy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||