net.sf.jagzilla.hibernate
Class VotePrimaryKey

java.lang.Object
  extended bynet.sf.jagzilla.hibernate.VotePrimaryKey
All Implemented Interfaces:
java.io.Serializable

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

represents the primary key for the class Vote.

Author:
mgriffa
See Also:
Vote, Serialized Form

Constructor Summary
VotePrimaryKey()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if this VotePrimaryKey is equal to another object.
 boolean equals(VotePrimaryKey o)
          Returns true if this VotePrimaryKey is equal to another VotePrimaryKey.
 int getBugId()
           
 int getWho()
           
 int hashCode()
          Override hashCode.
 void setBugId(int bugId)
           
 void setWho(int who)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VotePrimaryKey

public VotePrimaryKey()
Method Detail

getBugId

public int getBugId()
Returns:
Returns the bugId.

setBugId

public void setBugId(int bugId)
Parameters:
bugId - The bugId to set.

getWho

public int getWho()
Returns:
Returns the who.

setWho

public void setWho(int who)
Parameters:
who - The who to set.

toString

public java.lang.String toString()

hashCode

public int hashCode()
Override hashCode.

Returns:
the Objects hashcode.

equals

public boolean equals(java.lang.Object o)
Returns true if this VotePrimaryKey is equal to another object.

Returns:
true if this VotePrimaryKey is equal to the specified object.

equals

public boolean equals(VotePrimaryKey o)
Returns true if this VotePrimaryKey is equal to another VotePrimaryKey.

Returns:
true if this VotePrimaryKey is equal to the specified object.


Distributed under the GPL. By Miguel Griffa. See the Jagzilla project page for more info.