Class GroupKeys

java.lang.Object
net.sf.basedb.core.data.keyring.KeyPermission
net.sf.basedb.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:
Last modified
$Date: 2015-04-16 13:47:41 +0200 (to, 16 apr 2015) $
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • groupId

      private int groupId
  • Constructor Details

    • GroupKeys

      public GroupKeys()
      Create a new GroupKeys object.
  • Method Details

    • 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