edu.iastate.metnet.hibernate
Class BrendaproductKey

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

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

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

See Also:
Serialized Form

Constructor Summary
BrendaproductKey()
          Simple constructor of BrendaproductKey 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 getProduct()
          Returns the value of the product 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 setProduct(java.lang.String product)
          Sets the value of the product property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrendaproductKey

public BrendaproductKey()
Simple constructor of BrendaproductKey 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 -

getProduct

public java.lang.String getProduct()
Returns the value of the product property.

Returns:
java.lang.String

setProduct

public void setProduct(java.lang.String product)
Sets the value of the product property.

Parameters:
product -

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