edu.iastate.metnet.hibernate
Class AbstractChebiChemicalData

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

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

A class that represents a row in the chebi_chemical_data table. You can customize the behavior of this class by editing the class, ChebiChemicalData(). 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
AbstractChebiChemicalData()
          Simple constructor of AbstractChebiChemicalData instances.
AbstractChebiChemicalData(java.lang.Integer id)
          Constructor of AbstractChebiChemicalData 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.String getFormula()
          Return the value of the formula column.
 java.lang.Integer getId()
          Return the simple primary key value that identifies this object.
 java.lang.String getSource()
          Return the value of the source 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 setFormula(java.lang.String formula)
          Set the value of the formula column.
 void setId(java.lang.Integer id)
          Set the simple primary key value that identifies this object.
 void setSource(java.lang.String source)
          Set the value of the source column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractChebiChemicalData

public AbstractChebiChemicalData()
Simple constructor of AbstractChebiChemicalData instances.


AbstractChebiChemicalData

public AbstractChebiChemicalData(java.lang.Integer id)
Constructor of AbstractChebiChemicalData 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 -

getFormula

public java.lang.String getFormula()
Return the value of the formula column.

Returns:
java.lang.String

setFormula

public void setFormula(java.lang.String formula)
Set the value of the formula column.

Parameters:
formula -

getSource

public java.lang.String getSource()
Return the value of the source column.

Returns:
java.lang.String

setSource

public void setSource(java.lang.String source)
Set the value of the source column.

Parameters:
source -

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