Last update: 2011-06-23

org.proteios.core.data.keyring
Class GroupKeys

java.lang.Object
  extended by org.proteios.core.data.keyring.KeyPermission
      extended by org.proteios.core.data.keyring.GroupKeys
All Implemented Interfaces:
Serializable, Comparable<KeyPermission>

public final class GroupKeys
extends KeyPermission
implements Serializable

Class for mapping the GroupKeys table.

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $

Constructor Summary
GroupKeys()
          Create a new GroupKeys object.
 
Method Summary
 boolean equals(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.
 
Methods inherited from class org.proteios.core.data.keyring.KeyPermission
compareTo, getKeyId, getPermission, setKeyId, setPermission
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupKeys

public GroupKeys()
Create a new GroupKeys object.

Method Detail

getGroupId

public int getGroupId()
Get the id of the group.


setGroupId

public void setGroupId(int groupId)
Set the id of the group.


equals

public boolean equals(Object o)
Check if this object is equal to another 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.

Overrides:
equals in class Object

hashCode

public int hashCode()
Calculate the hash code for the object.

Overrides:
hashCode in class Object

Last update: 2011-06-23