edu.iastate.metnet.hibernate
Class AbstractChebiDatabaseAccession

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

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

A class that represents a row in the chebi_database_accession table. You can customize the behavior of this class by editing the class, ChebiDatabaseAccession(). 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
AbstractChebiDatabaseAccession()
          Simple constructor of AbstractChebiDatabaseAccession instances.
AbstractChebiDatabaseAccession(java.lang.Integer id)
          Constructor of AbstractChebiDatabaseAccession 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.String getAccessionInt()
          Return the value of the accession_int column.
 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 getSource()
          Return the value of the source column.
 java.lang.String getType()
          Return the value of the type 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 setAccessionInt(java.lang.String accessionInt)
          Set the value of the accession_int column.
 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 setSource(java.lang.String source)
          Set the value of the source column.
 void setType(java.lang.String type)
          Set the value of the type column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractChebiDatabaseAccession

public AbstractChebiDatabaseAccession()
Simple constructor of AbstractChebiDatabaseAccession instances.


AbstractChebiDatabaseAccession

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

getAccessionInt

public java.lang.String getAccessionInt()
Return the value of the accession_int column.

Returns:
java.lang.String

setAccessionInt

public void setAccessionInt(java.lang.String accessionInt)
Set the value of the accession_int column.

Parameters:
accessionInt -

getType

public java.lang.String getType()
Return the value of the type column.

Returns:
java.lang.String

setType

public void setType(java.lang.String type)
Set the value of the type column.

Parameters:
type -

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