public final class GroupKeys extends KeyPermission implements java.io.Serializable
GroupKeys
table.Modifier and Type | Field and Description |
---|---|
private int |
groupId |
private static long |
serialVersionUID |
keyId, permission
Constructor and Description |
---|
GroupKeys()
Create a new
GroupKeys object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Check if this object is equal to another
GroupKeys
object. |
int |
getGroupId()
Get the id of the group.
|
int |
hashCode()
Calculate the hash code for the object.
|
void |
setGroupId(int groupId)
Set the id of the group.
|
compareTo, getKeyId, getPermission, setKeyId, setPermission
private static final long serialVersionUID
private int groupId
public int getGroupId()
public void setGroupId(int groupId)
public boolean equals(java.lang.Object o)
GroupKeys
object. They are considered to be the same if the group id and the
key id are the same. The permissions may be different.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object