net.sf.jagzilla.hibernate
Class KeywordPrimaryKey

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

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

represents the primary key for the class Keyword.

Author:
mgriffa
See Also:
Keyword, Serialized Form

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

Constructor Detail

KeywordPrimaryKey

public KeywordPrimaryKey()
Method Detail

getBugId

public int getBugId()
Returns:
Returns the bugId.

setBugId

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

getKeywordId

public int getKeywordId()
Returns:
Returns the keywordId.

setKeywordId

public void setKeywordId(int keywordId)
Parameters:
keywordId - The keywordId 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 KeywordPrimaryKey is equal to another object.

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

equals

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

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


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