Class NodeInfo

java.lang.Object
io.lionweb.serialization.extensions.NodeInfo

public final class NodeInfo extends Object
Node description as returned by the LionWeb Repository through the getNodeTree API. A collection of instances of this class describe the shape of the tree in a concise (and efficient) way.
  • Constructor Details

    • NodeInfo

      public NodeInfo(String id, @Nullable @Nullable String parent, int depth)
  • Method Details

    • getId

      public String getId()
    • getParent

      @Nullable public @Nullable String getParent()
    • getDepth

      public int getDepth()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object