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

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

        public int hashCode()
        Overrides:
        hashCode in class Object