public final class RoleKeys extends KeyPermission implements Serializable
RoleKeys
table.Modifier and Type | Field and Description |
---|---|
private int |
roleId |
private static long |
serialVersionUID |
keyId, permission
Constructor and Description |
---|
RoleKeys()
Create a new
RoleKeys object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Check if this object is equal to another
RoleKeys
object. |
int |
getRoleId()
Get the id of the role.
|
int |
hashCode()
Calculate the hash code for the object.
|
void |
setRoleId(int roleId)
Set the id of the role.
|
compareTo, getKeyId, getPermission, setKeyId, setPermission
private static final long serialVersionUID
private int roleId
public int getRoleId()
public void setRoleId(int roleId)
public boolean equals(Object o)
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.