2.17.2: 2011-06-17

net.sf.basedb.core.data.keyring
Class GroupProjects

java.lang.Object
  extended by net.sf.basedb.core.data.keyring.ProjectPermission
      extended by net.sf.basedb.core.data.keyring.GroupProjects
All Implemented Interfaces:
Serializable, Comparable<ProjectPermission>

public final class GroupProjects
extends ProjectPermission
implements Serializable

Class for mapping the GroupProjects table.

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form
Last modified
$Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $

Field Summary
private  int groupId
           
private static long serialVersionUID
           
 
Fields inherited from class net.sf.basedb.core.data.keyring.ProjectPermission
permission, projectId
 
Constructor Summary
GroupProjects()
          Create a new GroupProjects object.
 
Method Summary
 boolean equals(Object o)
          Check if this object is equal to another GroupProjects 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 net.sf.basedb.core.data.keyring.ProjectPermission
compareTo, getPermission, getProjectId, setPermission, setProjectId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

groupId

private int groupId
Constructor Detail

GroupProjects

public GroupProjects()
Create a new GroupProjects 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 GroupProjects object. They are considered to be the same if the group id and the project id are the same. The permission may be different.

Overrides:
equals in class Object

hashCode

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

Overrides:
hashCode in class Object

2.17.2: 2011-06-17