net.sf.jagzilla.hibernate
Class CcPrimaryKey

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

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

represents the primary key for the class Cc.

Author:
mgriffa
See Also:
Cc, Serialized Form

Constructor Summary
CcPrimaryKey()
           
 
Method Summary
 boolean equals(CcPrimaryKey o)
          Returns true if this CcPrimaryKey is equal to another CcPrimaryKey.
 boolean equals(java.lang.Object o)
          Returns true if this CcPrimaryKey is equal to another object.
 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

CcPrimaryKey

public CcPrimaryKey()
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()

equals

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

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

equals

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

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

hashCode

public int hashCode()
Override hashCode.

Returns:
the Objects hashcode.


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