Module io.ebean.api
Package io.ebean.bean

Class ObjectGraphNode

java.lang.Object
io.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:
  • Constructor Details

    • 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 Details

    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object