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