|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.visitor.VisitorAdapter
wt.visitor.TextOutputVisitor
wt.part.BOMPartsListVisitor
public abstract class BOMPartsListVisitor
This class is a Visitor that maintains a list of parts (nodes) as the
structure is navigated. The usage information (links) is maintained
internally. After navigation is complete, the parts list table represents
the entire list of parts that make up the structure. Only parts that
do not use any other parts (i.e. leaf nodes) are included. The keys
in this table are the part identities and the associated value is the
usage information.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
Hashtable |
getPartsList()
Gets the object for the association that plays role: partsList. |
abstract void |
report()
This operation outputs a text report of the internal parts list. |
boolean |
visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
Visit a node. |
| Methods inherited from class wt.visitor.TextOutputVisitor |
|---|
getPrintWriter, getResourceBundle, printLocalizedMessage, printLocalizedMessage, printLocalizedMessage, setPrintWriter, setPrintWriter, setResourceBundle |
| Methods inherited from class wt.visitor.VisitorAdapter |
|---|
visitLevel, visitLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Hashtable getPartsList()
public final boolean visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
throws WTException
visit in interface Visitorvisit in class VisitorAdapterfromNode - link - toNode - level - previouslyVisited -
WTExceptionpublic abstract void report()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||