edu.iastate.metnet.hibernate
Class AbstractChebiReference

java.lang.Object
  extended by edu.iastate.metnet.hibernate.AbstractChebiReference
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChebiReference

public abstract class AbstractChebiReference
extends java.lang.Object
implements java.io.Serializable

A class that represents a row in the chebi_reference table. You can customize the behavior of this class by editing the class, ChebiReference(). WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration.

See Also:
Serialized Form

Constructor Summary
AbstractChebiReference()
          Simple constructor of AbstractChebiReference instances.
AbstractChebiReference(java.lang.Integer id)
          Constructor of AbstractChebiReference instances given a simple primary key.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the primary key values.
 java.lang.Integer getCompoundId()
          Return the value of the compound_id column.
 java.lang.Integer getId()
          Return the simple primary key value that identifies this object.
 java.lang.String getLocationInRef()
          Return the value of the location_in_ref column.
 java.lang.String getReferenceDbName()
          Return the value of the reference_db_name column.
 java.lang.String getReferenceId()
          Return the value of the reference_id column.
 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 setCompoundId(java.lang.Integer compoundId)
          Set the value of the compound_id column.
 void setId(java.lang.Integer id)
          Set the simple primary key value that identifies this object.
 void setLocationInRef(java.lang.String locationInRef)
          Set the value of the location_in_ref column.
 void setReferenceDbName(java.lang.String referenceDbName)
          Set the value of the reference_db_name column.
 void setReferenceId(java.lang.String referenceId)
          Set the value of the reference_id column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractChebiReference

public AbstractChebiReference()
Simple constructor of AbstractChebiReference instances.


AbstractChebiReference

public AbstractChebiReference(java.lang.Integer id)
Constructor of AbstractChebiReference instances given a simple primary key.

Parameters:
id -
Method Detail

getId

public java.lang.Integer getId()
Return the simple primary key value that identifies this object.

Returns:
java.lang.Integer

setId

public void setId(java.lang.Integer id)
Set the simple primary key value that identifies this object.

Parameters:
id -

getCompoundId

public java.lang.Integer getCompoundId()
Return the value of the compound_id column.

Returns:
java.lang.Integer

setCompoundId

public void setCompoundId(java.lang.Integer compoundId)
Set the value of the compound_id column.

Parameters:
compoundId -

getReferenceId

public java.lang.String getReferenceId()
Return the value of the reference_id column.

Returns:
java.lang.String

setReferenceId

public void setReferenceId(java.lang.String referenceId)
Set the value of the reference_id column.

Parameters:
referenceId -

getReferenceDbName

public java.lang.String getReferenceDbName()
Return the value of the reference_db_name column.

Returns:
java.lang.String

setReferenceDbName

public void setReferenceDbName(java.lang.String referenceDbName)
Set the value of the reference_db_name column.

Parameters:
referenceDbName -

getLocationInRef

public java.lang.String getLocationInRef()
Return the value of the location_in_ref column.

Returns:
java.lang.String

setLocationInRef

public void setLocationInRef(java.lang.String locationInRef)
Set the value of the location_in_ref column.

Parameters:
locationInRef -

equals

public boolean equals(java.lang.Object rhs)
Implementation of the equals comparison on the basis of equality of the primary key values.

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