wt.visitor
Class PathNode

java.lang.Object
  extended bywt.visitor.PathNode

public class PathNode
extends Object

A PathNode represents a node in a path established by a Walker or a simalar graph generation mechanism. PathNode is used to detect recursive path while traversing graph structures.

See Also:
BasicWalker

Field Summary
private static String CLASSNAME
           
 ObjectIdentifier nodeId
           
 DisplayIdentity nodeIdentity
           
 PathNode parentNode
           
private static String RESOURCE
           
 
Constructor Summary
PathNode(Persistable object, PathNode parentNode)
           
 
Method Summary
 boolean equals(Object obj)
           
 int printPath(StringBuffer buffer)
           
 void validatePath()
           
 void validatePath(PathNode nodeToCheck)
           
 
Methods inherited from class java.lang.Object
clone, 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

parentNode

public PathNode parentNode

nodeId

public ObjectIdentifier nodeId

nodeIdentity

public DisplayIdentity nodeIdentity
Constructor Detail

PathNode

public PathNode(Persistable object,
                PathNode parentNode)
         throws WTException
Method Detail

equals

public boolean equals(Object obj)

validatePath

public void validatePath()
                  throws WTException
Throws:
WTException

validatePath

public void validatePath(PathNode nodeToCheck)
                  throws WTException
Throws:
WTException

printPath

public int printPath(StringBuffer buffer)