edu.iastate.metnet.hibernate
Class EntitysynonymKey

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

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

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

See Also:
Serialized Form

Constructor Summary
EntitysynonymKey()
          Simple constructor of EntitysynonymKey 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 getEntityid()
          Returns the value of the entityid property.
 java.lang.String getSynonym()
          Returns the value of the synonym 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 setEntityid(java.lang.Integer entityid)
          Sets the value of the entityid property.
 void setSynonym(java.lang.String synonym)
          Sets the value of the synonym property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntitysynonymKey

public EntitysynonymKey()
Simple constructor of EntitysynonymKey instances.

Method Detail

getEntityid

public java.lang.Integer getEntityid()
Returns the value of the entityid property.

Returns:
java.lang.Integer

setEntityid

public void setEntityid(java.lang.Integer entityid)
Sets the value of the entityid property.

Parameters:
entityid -

getSynonym

public java.lang.String getSynonym()
Returns the value of the synonym property.

Returns:
java.lang.String

setSynonym

public void setSynonym(java.lang.String synonym)
Sets the value of the synonym property.

Parameters:
synonym -

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