edu.iastate.metnet.hibernate
Class ExternaldbKey

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

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

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

See Also:
Serialized Form

Constructor Summary
ExternaldbKey()
          Simple constructor of ExternaldbKey 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 getAc()
          Returns the value of the ac property.
 java.lang.String getDb()
          Returns the value of the db property.
 java.lang.Integer getEntityid()
          Returns the value of the entityid 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 setAc(java.lang.String ac)
          Sets the value of the ac property.
 void setDb(java.lang.String db)
          Sets the value of the db property.
 void setEntityid(java.lang.Integer entityid)
          Sets the value of the entityid property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternaldbKey

public ExternaldbKey()
Simple constructor of ExternaldbKey instances.

Method Detail

getAc

public java.lang.String getAc()
Returns the value of the ac property.

Returns:
java.lang.String

setAc

public void setAc(java.lang.String ac)
Sets the value of the ac property.

Parameters:
ac -

getDb

public java.lang.String getDb()
Returns the value of the db property.

Returns:
java.lang.String

setDb

public void setDb(java.lang.String db)
Sets the value of the db property.

Parameters:
db -

getEntityid

public java.lang.Integer getEntityid()
Returns the value of the entityid property.

Returns:
java.lang.Integer

setEntityid

public void setEntityid(java.lang.Integer entityid)
Sets the value of the entityid property.

Parameters:
entityid -

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