edu.iastate.metnet.hibernate
Class BrendainhibitorKey

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

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

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

See Also:
Serialized Form

Constructor Summary
BrendainhibitorKey()
          Simple constructor of BrendainhibitorKey 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 getEcid()
          Returns the value of the ecid property.
 java.lang.String getInhibitor()
          Returns the value of the inhibitor 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 setEcid(java.lang.String ecid)
          Sets the value of the ecid property.
 void setInhibitor(java.lang.String inhibitor)
          Sets the value of the inhibitor property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrendainhibitorKey

public BrendainhibitorKey()
Simple constructor of BrendainhibitorKey instances.

Method Detail

getEcid

public java.lang.String getEcid()
Returns the value of the ecid property.

Returns:
java.lang.String

setEcid

public void setEcid(java.lang.String ecid)
Sets the value of the ecid property.

Parameters:
ecid -

getInhibitor

public java.lang.String getInhibitor()
Returns the value of the inhibitor property.

Returns:
java.lang.String

setInhibitor

public void setInhibitor(java.lang.String inhibitor)
Sets the value of the inhibitor property.

Parameters:
inhibitor -

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