edu.iastate.metnet.hibernate
Class EntityabbreviationKey

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

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

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

See Also:
Serialized Form

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

Constructor Detail

EntityabbreviationKey

public EntityabbreviationKey()
Simple constructor of EntityabbreviationKey instances.

Method Detail

getAbbreviation

public java.lang.String getAbbreviation()
Returns the value of the abbreviation property.

Returns:
java.lang.String

setAbbreviation

public void setAbbreviation(java.lang.String abbreviation)
Sets the value of the abbreviation property.

Parameters:
abbreviation -

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 -

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