|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--InstantiationTree
This Datat Type implements a tree structure, where every
Node correspons to a TextualInstantiation. Leaves are
Objects with a empty children Vector.
| Field Summary | |
java.util.Vector |
children
All child instantiatino trees. |
TextualInstantiation |
content
|
static int |
offsetFactor
Space indentations when displaying children |
static java.lang.String |
spaces
|
| Constructor Summary | |
InstantiationTree(TextualInstantiation tinst)
Default Constructor |
|
| Method Summary | |
void |
addChild(InstantiationTree instt)
Add a child |
private void |
collectGlobalJoinsStartingBelowHere(java.util.Vector allJoins)
Adds the global joins starting in a descendand to the argument Vector |
private void |
collectGlobalJoinsStartingHERE(java.util.Vector allJoins)
Add the global joins, that have their root transition in the textual instantiation. |
java.util.Vector |
computeGlobalJoins()
Compute the global joins starting at this component or at a component below. |
java.util.Enumeration |
enumChildren()
Return enumeration of the children |
InstantiationTree |
findNodeWithContent(TextualInstantiation tinst)
Returns the node of the tree that contains the specific TextualInstantiation.Returns null, if it is not found. |
java.lang.String |
showWithOffset(int offset)
Return a string representing the (sub-)tree, with offsetFactor*offset spaces before the name |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public TextualInstantiation content
public java.util.Vector children
public static int offsetFactor
public static final java.lang.String spaces
| Constructor Detail |
public InstantiationTree(TextualInstantiation tinst)
| Method Detail |
public void addChild(InstantiationTree instt)
public java.util.Enumeration enumChildren()
public InstantiationTree findNodeWithContent(TextualInstantiation tinst)
TextualInstantiation.public java.lang.String showWithOffset(int offset)
offsetFactor*offset spaces before the namepublic java.util.Vector computeGlobalJoins()
private void collectGlobalJoinsStartingBelowHere(java.util.Vector allJoins)
private void collectGlobalJoinsStartingHERE(java.util.Vector allJoins)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||