Package net.sf.basedb.core.data.keyring
Class GroupProjects
java.lang.Object
net.sf.basedb.core.data.keyring.ProjectPermission
net.sf.basedb.core.data.keyring.GroupProjects
- All Implemented Interfaces:
Serializable
,Comparable<ProjectPermission>
Class for mapping the
GroupProjects
table.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2015-04-16 13:47:41 +0200 (to, 16 apr 2015) $
-
Field Summary
Fields inherited from class net.sf.basedb.core.data.keyring.ProjectPermission
permission, projectId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if this object is equal to anotherGroupProjects
object.int
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
groupId
private int groupId
-
-
Constructor Details
-
GroupProjects
public GroupProjects()Create a newGroupProjects
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
Check if this object is equal to anotherGroupProjects
object. They are considered to be the same if the group id and the project id are the same. The permission may be different. -
hashCode
public int hashCode()Calculate the hash code for the object.
-