edu.iastate.metnet.hibernate
Class BrendasubstrateKey

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

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

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

See Also:
Serialized Form

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

Constructor Detail

BrendasubstrateKey

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

getSubstrate

public java.lang.String getSubstrate()
Returns the value of the substrate property.

Returns:
java.lang.String

setSubstrate

public void setSubstrate(java.lang.String substrate)
Sets the value of the substrate property.

Parameters:
substrate -

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