com.avaje.ebean.bean
Class ObjectGraphNode

java.lang.Object
  extended by com.avaje.ebean.bean.ObjectGraphNode
All Implemented Interfaces:
Serializable

public final class ObjectGraphNode
extends Object
implements Serializable

Identifies a unique node of an object graph.

It represents a location relative to the root of an object graph and specific to a query and call stack hash.

See Also:
Serialized Form

Constructor Summary
ObjectGraphNode(ObjectGraphNode parent, String path)
          Create at a sub level.
ObjectGraphNode(ObjectGraphOrigin originQueryPoint, String path)
          Create an the root level.
 
Method Summary
 ObjectGraphOrigin getOriginQueryPoint()
          Return the origin query point.
 String getPath()
          Return the path relative to the root.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectGraphNode

public ObjectGraphNode(ObjectGraphNode parent,
                       String path)
Create at a sub level.


ObjectGraphNode

public ObjectGraphNode(ObjectGraphOrigin originQueryPoint,
                       String path)
Create an the root level.

Method Detail

getOriginQueryPoint

public ObjectGraphOrigin getOriginQueryPoint()
Return the origin query point.


getPath

public String getPath()
Return the path relative to the root.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.