2.17.2: 2011-06-17

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

java.lang.Object
  extended by net.sf.basedb.core.data.keyring.GroupGroups
All Implemented Interfaces:
Serializable

public final class GroupGroups
extends Object
implements Serializable

Class for mapping the GroupGroups 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 childId
           
private  int parentId
           
private static long serialVersionUID
           
 
Constructor Summary
GroupGroups()
          Create a new GroupGroups object.
 
Method Summary
 boolean equals(Object o)
          Check if this object is equal to another GroupGroups object.
 int getChildId()
          Get the id of the child group.
 int getParentId()
          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.
 
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

parentId

private int parentId

childId

private int childId
Constructor Detail

GroupGroups

public GroupGroups()
Create a new GroupGroups object.

Method Detail

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

public boolean equals(Object o)
Check if this object is equal to another GroupGroups object. They are considered to be the same if the parent and child id are the same.

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