Class RoleKeys

    • Field Detail

      • roleId

        private int roleId
    • Constructor Detail

      • RoleKeys

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

      • getRoleId

        public int getRoleId()
        Get the id of the role.
      • setRoleId

        public void setRoleId​(int roleId)
        Set the id of the role.
      • equals

        public boolean equals​(Object o)
        Check if this object is equal to another RoleKeys object. They are considered to be the same if the role 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