edu.iastate.metnet.hibernate
Class GroupMemberKey

java.lang.Object
  extended by edu.iastate.metnet.hibernate.GroupMemberKey
All Implemented Interfaces:
java.io.Serializable

public class GroupMemberKey
extends java.lang.Object
implements java.io.Serializable

A class representing a composite primary key id for the group_member table. This object should only be instantiated for use with instances of the GroupMember class.

See Also:
Serialized Form

Constructor Summary
GroupMemberKey()
          Simple constructor of GroupMemberKey instances.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the id components.
 java.lang.Integer getGroupid()
          Returns the value of the groupid property.
 java.lang.String getMember()
          Returns the value of the member property.
 int hashCode()
          Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).
 void setGroupid(java.lang.Integer groupid)
          Sets the value of the groupid property.
 void setMember(java.lang.String member)
          Sets the value of the member property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupMemberKey

public GroupMemberKey()
Simple constructor of GroupMemberKey instances.

Method Detail

getGroupid

public java.lang.Integer getGroupid()
Returns the value of the groupid property.

Returns:
java.lang.Integer

setGroupid

public void setGroupid(java.lang.Integer groupid)
Sets the value of the groupid property.

Parameters:
groupid -

getMember

public java.lang.String getMember()
Returns the value of the member property.

Returns:
java.lang.String

setMember

public void setMember(java.lang.String member)
Sets the value of the member property.

Parameters:
member -

equals

public boolean equals(java.lang.Object rhs)
Implementation of the equals comparison on the basis of equality of the id components.

Overrides:
equals in class java.lang.Object
Parameters:
rhs -
Returns:
boolean

hashCode

public int hashCode()
Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).

Overrides:
hashCode in class java.lang.Object
Returns:
int