Class UserKeys

    • Field Detail

      • userId

        private int userId
    • Constructor Detail

      • UserKeys

        public UserKeys()
        Create a new UserKeys object.
    • Method Detail

      • getUserId

        public int getUserId()
        Get the id of the user.
      • setUserId

        public void setUserId​(int userId)
        Set the id of the user.
      • equals

        public boolean equals​(Object o)
        Check if this object is equal to another UserKeys object. They are considered to be the same if the user id and the key id are the same. The permissions may be different.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Calculate the hash code for the object.
        Overrides:
        hashCode in class Object