edu.iastate.metnet.hibernate
Class BrendametalionKey

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

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

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

See Also:
Serialized Form

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

Constructor Detail

BrendametalionKey

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

getMetalion

public java.lang.String getMetalion()
Returns the value of the metalion property.

Returns:
java.lang.String

setMetalion

public void setMetalion(java.lang.String metalion)
Sets the value of the metalion property.

Parameters:
metalion -

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