net.sf.jagzilla.hibernate
Class LongDescPrimaryKey

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

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

represents the primary key for the class LongDesc.

Author:
mgriffa
See Also:
LongDesc, Serialized Form

Constructor Summary
LongDescPrimaryKey()
           
LongDescPrimaryKey(int bugId, int who, java.util.Date when)
          constructs the pk with the given data.
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if this LongDescPrimaryKey is the same as the o argument.
 int getBugId()
           
 java.lang.String getTheText()
           
 java.util.Date getWhen()
           
 int getWho()
           
 int hashCode()
          Override hashCode.
 void setBugId(int bugId)
           
 void setTheText(java.lang.String theText)
           
 void setWhen(java.util.Date when)
           
 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

LongDescPrimaryKey

public LongDescPrimaryKey()

LongDescPrimaryKey

public LongDescPrimaryKey(int bugId,
                          int who,
                          java.util.Date when)
constructs the pk with the given data.

Parameters:
bugId -
who -
when -
Method Detail

getBugId

public int getBugId()
Returns:
Returns the bugId.

setBugId

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

getWhen

public java.util.Date getWhen()
Returns:
Returns the when.

setWhen

public void setWhen(java.util.Date when)
Parameters:
when - The when to set.

getWho

public int getWho()
Returns:
Returns the who.

setWho

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

getTheText

public java.lang.String getTheText()
Returns:
Returns the theText.

setTheText

public void setTheText(java.lang.String theText)
Parameters:
theText - The theText to set.

equals

public boolean equals(java.lang.Object o)
Returns true if this LongDescPrimaryKey is the same as the o argument.

Returns:
true if this LongDescPrimaryKey is the same as the o argument.

hashCode

public int hashCode()
Override hashCode.

Returns:
the Objects hashcode.

toString

public java.lang.String toString()


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