wt.graph
Class ObjectGraphWalker

java.lang.Object
  extended bywt.graph.ObjectGraphWalker
All Implemented Interfaces:
Serializable, Walker

class ObjectGraphWalker
extends Object
implements Walker, Serializable



Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private  NodeExpander nodeExpander
           
private static String RESOURCE
           
private  Visitor visitor
           
 
Fields inherited from interface wt.visitor.Walker
NODE_EXPANDER, VISITOR
 
Constructor Summary
(package private) ObjectGraphWalker()
           
 
Method Summary
 NodeExpander getNodeExpander()
          Gets the object for the association that plays role: nodeExpander.
 Visitor getVisitor()
          Gets the object for the association that plays role: visitor.
private  void nodeExpanderValidate(NodeExpander a_NodeExpander)
           
 void setNodeExpander(NodeExpander a_NodeExpander)
          Sets the object for the association that plays role: nodeExpander.
 void setVisitor(Visitor a_Visitor)
          Sets the object for the association that plays role: visitor.
 void traverse(Persistable root)
          Traverses the root node.
private  void visitorValidate(Visitor a_Visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

visitor

private Visitor visitor

nodeExpander

private NodeExpander nodeExpander
Constructor Detail

ObjectGraphWalker

ObjectGraphWalker()
Method Detail

traverse

public void traverse(Persistable root)
              throws WTException
Traverses the root node.

Supported API: true

Specified by:
traverse in interface Walker
Parameters:
root -
Throws:
WTException

getVisitor

public Visitor getVisitor()
Gets the object for the association that plays role: visitor.

Supported API: false

Specified by:
getVisitor in interface Walker
Returns:
Visitor

setVisitor

public void setVisitor(Visitor a_Visitor)
                throws WTPropertyVetoException
Sets the object for the association that plays role: visitor.

Supported API: false

Specified by:
setVisitor in interface Walker
Parameters:
a_Visitor -
Throws:
WTPropertyVetoException

visitorValidate

private void visitorValidate(Visitor a_Visitor)
                      throws WTPropertyVetoException
Parameters:
a_Visitor -
Throws:
WTPropertyVetoException

getNodeExpander

public NodeExpander getNodeExpander()
Gets the object for the association that plays role: nodeExpander.

Supported API: false

Specified by:
getNodeExpander in interface Walker
Returns:
NodeExpander

setNodeExpander

public void setNodeExpander(NodeExpander a_NodeExpander)
                     throws WTPropertyVetoException
Sets the object for the association that plays role: nodeExpander.

Supported API: false

Specified by:
setNodeExpander in interface Walker
Parameters:
a_NodeExpander -
Throws:
WTPropertyVetoException

nodeExpanderValidate

private void nodeExpanderValidate(NodeExpander a_NodeExpander)
                           throws WTPropertyVetoException
Parameters:
a_NodeExpander -
Throws:
WTPropertyVetoException