Package net.sf.basedb.core.data.keyring
Class GroupGroups
java.lang.Object
net.sf.basedb.core.data.keyring.GroupGroups
- All Implemented Interfaces:
Serializable
Class for mapping the
GroupGroups
table.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2015-04-16 13:47:41 +0200 (to, 16 apr 2015) $
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if this object is equal to anotherGroupGroups
object.int
Get the id of the child group.int
Get the id of the parent group.int
hashCode()
Calculate the hash code for the object.void
setChildId
(int childId) Set the id of the child group.void
setParentId
(int parentId) Set the id of the parent group.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
parentId
private int parentId -
childId
private int childId
-
-
Constructor Details
-
GroupGroups
public GroupGroups()Create a newGroupGroups
object.
-
-
Method Details
-
getParentId
public int getParentId()Get the id of the parent group. -
setParentId
public void setParentId(int parentId) Set the id of the parent group. -
getChildId
public int getChildId()Get the id of the child group. -
setChildId
public void setChildId(int childId) Set the id of the child group. -
equals
Check if this object is equal to anotherGroupGroups
object. They are considered to be the same if the parent and child id are the same. -
hashCode
public int hashCode()Calculate the hash code for the object.
-