Class XBENodeTree

  • All Implemented Interfaces:
    java.io.Serializable, XBMNodeTree, org.exbin.xbup.core.catalog.base.XBCNodeTree

    @ParametersAreNonnullByDefault
    public class XBENodeTree
    extends java.lang.Object
    implements XBMNodeTree, java.io.Serializable
    Node tree database entity.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XBENodeTree()  
    • Constructor Detail

      • XBENodeTree

        public XBENodeTree()
    • Method Detail

      • getId

        public long getId()
        Specified by:
        getId in interface org.exbin.xbup.core.catalog.base.XBCNodeTree
      • hashCode

        public int hashCode()
        Returns a hash code value for the object. This implementation computes a hash code value based on the id fields in this object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        a hash code value for this object.
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object object)
        Determines whether another object is equal to this Item. The result is true if and only if the argument is not null and is a Item object that has the same id field values as this object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        object - the reference object with which to compare
        Returns:
        true if this object is the same as the argument; false otherwise.
      • getNode

        @Nonnull
        public XBENode getNode()
        Specified by:
        getNode in interface org.exbin.xbup.core.catalog.base.XBCNodeTree
      • setNode

        public void setNode​(org.exbin.xbup.core.catalog.base.XBCNode node)
        Description copied from interface: XBMNodeTree
        Sets node child.
        Specified by:
        setNode in interface XBMNodeTree
        Parameters:
        node - the node
      • getOwner

        @Nonnull
        public XBENode getOwner()
        Specified by:
        getOwner in interface org.exbin.xbup.core.catalog.base.XBCNodeTree
      • setOwner

        public void setOwner​(org.exbin.xbup.core.catalog.base.XBCNode owner)
        Description copied from interface: XBMNodeTree
        Sets node.
        Specified by:
        setOwner in interface XBMNodeTree
        Parameters:
        owner - the node
      • getRoot

        @Nonnull
        public XBERoot getRoot()
        Specified by:
        getRoot in interface org.exbin.xbup.core.catalog.base.XBCNodeTree
      • setRoot

        public void setRoot​(org.exbin.xbup.core.catalog.base.XBCRoot root)
        Description copied from interface: XBMNodeTree
        Sets root record for this node.
        Specified by:
        setRoot in interface XBMNodeTree
        Parameters:
        root - root record
      • getDepthLevel

        public int getDepthLevel()
        Specified by:
        getDepthLevel in interface org.exbin.xbup.core.catalog.base.XBCNodeTree
      • setDepthLevel

        public void setDepthLevel​(int depthLevel)
        Description copied from interface: XBMNodeTree
        Sets depth level.
        Specified by:
        setDepthLevel in interface XBMNodeTree
        Parameters:
        depthLevel - depth level
      • getGenerationType

        @Nonnull
        public static javax.persistence.GenerationType getGenerationType()