edu.iastate.metnet.hibernate
Class BlockunitsynonymKey

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

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

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

See Also:
Serialized Form

Constructor Summary
BlockunitsynonymKey()
          Simple constructor of BlockunitsynonymKey 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 getBlockid()
          Returns the value of the blockid 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 setBlockid(java.lang.Integer blockid)
          Sets the value of the blockid 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

BlockunitsynonymKey

public BlockunitsynonymKey()
Simple constructor of BlockunitsynonymKey instances.

Method Detail

getBlockid

public java.lang.Integer getBlockid()
Returns the value of the blockid property.

Returns:
java.lang.Integer

setBlockid

public void setBlockid(java.lang.Integer blockid)
Sets the value of the blockid property.

Parameters:
blockid -

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