Class XBENode

  • All Implemented Interfaces:
    java.io.Serializable, XBMBase, XBMItem, XBMNode, org.exbin.xbup.core.catalog.base.XBCBase, org.exbin.xbup.core.catalog.base.XBCItem, org.exbin.xbup.core.catalog.base.XBCNode

    @ParametersAreNonnullByDefault
    public class XBENode
    extends XBEItem
    implements XBMNode, java.io.Serializable
    Node database entity.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.exbin.xbup.catalog.entity.XBEItem

        id
    • Constructor Summary

      Constructors 
      Constructor Description
      XBENode()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)
      Determines whether another object is equal to this Item.
      java.lang.Long getcNameOrder()  
      java.lang.Long getcStriOrder()  
      java.util.Optional<org.exbin.xbup.core.catalog.base.XBCNode> getParent()  
      int hashCode()
      Returns a hash code value for the object.
      void setcNameOrder​(java.lang.Long cNameOrder)  
      void setcStriOrder​(java.lang.Long cStriOrder)  
      void setParent​(XBMNode parent)
      Sets node which is also owner.
      java.lang.String toString()
      Returns a string representation of the object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.XBCBase

        getId
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.XBCItem

        getParentItem, getXBIndex
    • Constructor Detail

      • XBENode

        public XBENode()
    • Method Detail

      • 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 XBEItem
        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 XBEItem
        Parameters:
        object - the reference object with which to compare
        Returns:
        true if this object is the same as the argument; false otherwise.
      • toString

        @Nonnull
        public java.lang.String toString()
        Returns a string representation of the object. This implementation constructs that representation based on the id fields.
        Overrides:
        toString in class XBEItem
        Returns:
        a string representation of the object
      • getParent

        @Nonnull
        public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCNode> getParent()
        Specified by:
        getParent in interface org.exbin.xbup.core.catalog.base.XBCNode
      • setParent

        public void setParent​(XBMNode parent)
        Description copied from interface: XBMNode
        Sets node which is also owner.
        Specified by:
        setParent in interface XBMNode
        Parameters:
        parent - node
      • getcNameOrder

        public java.lang.Long getcNameOrder()
      • setcNameOrder

        public void setcNameOrder​(java.lang.Long cNameOrder)
      • getcStriOrder

        public java.lang.Long getcStriOrder()
      • setcStriOrder

        public void setcStriOrder​(java.lang.Long cStriOrder)