public class FamTableInstance
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
FamTableInstance(java.lang.String name)
Standard Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(FamTableInstance inst)
Add a new child instance.
|
void |
addChild(java.lang.String newname)
Add a new child instance.
|
java.util.List<FamTableInstance> |
getChildren() |
java.lang.String |
getName() |
int |
getTotal() |
void |
postfixWalk(FamTableWalker walker)
Walk the hierarchy in postfix order.
|
void |
prefixWalk(FamTableWalker walker)
Walk the hierarchy in prefix order.
|
void |
setTotal(int total) |
java.lang.String |
toString() |
public FamTableInstance(java.lang.String name)
name - The name of a family table instancepublic java.lang.String toString()
toString in class java.lang.Objectpublic void addChild(java.lang.String newname)
newname - The name of the child instancepublic void addChild(FamTableInstance inst)
inst - The chuld instance to addpublic void prefixWalk(FamTableWalker walker) throws JLIException
walker - The class to be called for each instance in the hierarchyJLIExceptionpublic void postfixWalk(FamTableWalker walker) throws JLIException
walker - The class to be called for each instance in the hierarchyJLIExceptionpublic java.lang.String getName()
public java.util.List<FamTableInstance> getChildren()
public int getTotal()
public void setTotal(int total)
total - Count of all child instances including their decendants