Class XBEXUserInfo

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

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

      Constructors 
      Constructor Description
      XBEXUserInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getCreated()  
      java.util.Optional<java.util.Date> getCurrLogin()  
      long getId()  
      java.util.Optional<java.util.Date> getLastLogin()  
      java.util.Optional<java.util.Date> getUpdated()  
      XBEXUser getUser()  
      void setCreated​(java.util.Date created)
      Sets date of creation.
      void setCurrLogin​(java.util.Date currLogin)
      Sets date of current login.
      void setLastLogin​(java.util.Date lastLogin)
      Sets date of last login.
      void setUpdated​(java.util.Date updated)
      Sets date of last change.
      void setUser​(org.exbin.xbup.core.catalog.base.XBCXUser user)
      Sets related user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XBEXUserInfo

        public XBEXUserInfo()
    • Method Detail

      • getId

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

        @Nonnull
        public XBEXUser getUser()
        Specified by:
        getUser in interface org.exbin.xbup.core.catalog.base.XBCXUserInfo
      • setUser

        public void setUser​(org.exbin.xbup.core.catalog.base.XBCXUser user)
        Description copied from interface: XBMXUserInfo
        Sets related user.
        Specified by:
        setUser in interface XBMXUserInfo
        Parameters:
        user - user
      • getCreated

        @Nonnull
        public java.util.Date getCreated()
        Specified by:
        getCreated in interface org.exbin.xbup.core.catalog.base.XBCXUserInfo
      • setCreated

        public void setCreated​(java.util.Date created)
        Description copied from interface: XBMXUserInfo
        Sets date of creation.
        Specified by:
        setCreated in interface XBMXUserInfo
        Parameters:
        created - created
      • getUpdated

        @Nonnull
        public java.util.Optional<java.util.Date> getUpdated()
        Specified by:
        getUpdated in interface org.exbin.xbup.core.catalog.base.XBCXUserInfo
      • setUpdated

        public void setUpdated​(@Nullable
                               java.util.Date updated)
        Description copied from interface: XBMXUserInfo
        Sets date of last change.
        Specified by:
        setUpdated in interface XBMXUserInfo
        Parameters:
        updated - date
      • getLastLogin

        @Nonnull
        public java.util.Optional<java.util.Date> getLastLogin()
        Specified by:
        getLastLogin in interface org.exbin.xbup.core.catalog.base.XBCXUserInfo
      • setLastLogin

        public void setLastLogin​(@Nullable
                                 java.util.Date lastLogin)
        Description copied from interface: XBMXUserInfo
        Sets date of last login.
        Specified by:
        setLastLogin in interface XBMXUserInfo
        Parameters:
        lastLogin - date
      • getCurrLogin

        @Nonnull
        public java.util.Optional<java.util.Date> getCurrLogin()
        Specified by:
        getCurrLogin in interface org.exbin.xbup.core.catalog.base.XBCXUserInfo
      • setCurrLogin

        public void setCurrLogin​(@Nullable
                                 java.util.Date currLogin)
        Description copied from interface: XBMXUserInfo
        Sets date of current login.
        Specified by:
        setCurrLogin in interface XBMXUserInfo
        Parameters:
        currLogin - date