Class XBEXItemInfo

  • All Implemented Interfaces:
    java.io.Serializable, XBMBase, XBMXItemInfo, org.exbin.xbup.core.catalog.base.XBCBase, org.exbin.xbup.core.catalog.base.XBCXItemInfo

    @ParametersAreNonnullByDefault
    public class XBEXItemInfo
    extends java.lang.Object
    implements XBMXItemInfo, java.io.Serializable
    Item information database entity.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XBEXItemInfo()  
    • 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.
      XBEXUser getCreatedByUser()  
      java.sql.Time getCreationDate()  
      long getId()  
      org.exbin.xbup.core.catalog.base.XBCItem getItem()  
      XBEXUser getOwner()  
      int hashCode()
      Returns a hash code value for the object.
      void setCreatedByUser​(org.exbin.xbup.core.catalog.base.XBCXUser createdByUser)
      Sets created by user.
      void setCreationDate​(java.sql.Time creationDate)
      Sets creation date.
      void setItem​(org.exbin.xbup.core.catalog.base.XBCItem item)
      Sets related item.
      void setOwner​(org.exbin.xbup.core.catalog.base.XBCXUser owner)
      Sets item 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
    • Constructor Detail

      • XBEXItemInfo

        public XBEXItemInfo()
    • Method Detail

      • getId

        public long getId()
        Specified by:
        getId in interface org.exbin.xbup.core.catalog.base.XBCBase
      • 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.
      • 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 java.lang.Object
        Returns:
        a string representation of the object
      • getItem

        @Nonnull
        public org.exbin.xbup.core.catalog.base.XBCItem getItem()
        Specified by:
        getItem in interface org.exbin.xbup.core.catalog.base.XBCXItemInfo
      • setItem

        public void setItem​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Description copied from interface: XBMXItemInfo
        Sets related item.
        Specified by:
        setItem in interface XBMXItemInfo
        Parameters:
        item - item
      • getOwner

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

        public void setOwner​(org.exbin.xbup.core.catalog.base.XBCXUser owner)
        Description copied from interface: XBMXItemInfo
        Sets item owner.
        Specified by:
        setOwner in interface XBMXItemInfo
        Parameters:
        owner - user
      • getCreatedByUser

        @Nonnull
        public XBEXUser getCreatedByUser()
        Specified by:
        getCreatedByUser in interface org.exbin.xbup.core.catalog.base.XBCXItemInfo
      • setCreatedByUser

        public void setCreatedByUser​(org.exbin.xbup.core.catalog.base.XBCXUser createdByUser)
        Description copied from interface: XBMXItemInfo
        Sets created by user.
        Specified by:
        setCreatedByUser in interface XBMXItemInfo
        Parameters:
        createdByUser - user
      • getCreationDate

        @Nonnull
        public java.sql.Time getCreationDate()
        Specified by:
        getCreationDate in interface org.exbin.xbup.core.catalog.base.XBCXItemInfo
      • setCreationDate

        public void setCreationDate​(java.sql.Time creationDate)
        Description copied from interface: XBMXItemInfo
        Sets creation date.
        Specified by:
        setCreationDate in interface XBMXItemInfo
        Parameters:
        creationDate - creation date