edu.iastate.metnet.hibernate
Class BrendacofactorKey

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

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

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

See Also:
Serialized Form

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

Constructor Detail

BrendacofactorKey

public BrendacofactorKey()
Simple constructor of BrendacofactorKey instances.

Method Detail

getCofactor

public java.lang.String getCofactor()
Returns the value of the cofactor property.

Returns:
java.lang.String

setCofactor

public void setCofactor(java.lang.String cofactor)
Sets the value of the cofactor property.

Parameters:
cofactor -

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 -

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