edu.iastate.metnet.hibernate
Class AbstractChebiCompounds

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

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

A class that represents a row in the chebi_compounds table. You can customize the behavior of this class by editing the class, ChebiCompounds(). 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
AbstractChebiCompounds()
          Simple constructor of AbstractChebiCompounds instances.
AbstractChebiCompounds(java.lang.Integer id)
          Constructor of AbstractChebiCompounds 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 getChebiAccession()
          Return the value of the chebi_accession column.
 java.lang.String getDefinition()
           
 java.lang.Integer getId()
          Return the simple primary key value that identifies this object.
 java.lang.String getName()
          Return the value of the name column.
 java.lang.Integer getParentId()
          Return the value of the parent_id column.
 java.lang.String getSource()
          Return the value of the source column.
 java.lang.String getStatus()
          Return the value of the status 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 setChebiAccession(java.lang.String chebiAccession)
          Set the value of the chebi_accession column.
 void setDefinition(java.lang.String definition)
           
 void setId(java.lang.Integer id)
          Set the simple primary key value that identifies this object.
 void setName(java.lang.String name)
          Set the value of the name column.
 void setParentId(java.lang.Integer parentId)
          Set the value of the parent_id column.
 void setSource(java.lang.String source)
          Set the value of the source column.
 void setStatus(java.lang.String status)
          Set the value of the status column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractChebiCompounds

public AbstractChebiCompounds()
Simple constructor of AbstractChebiCompounds instances.


AbstractChebiCompounds

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

getName

public java.lang.String getName()
Return the value of the name column.

Returns:
java.lang.String

setName

public void setName(java.lang.String name)
Set the value of the name column.

Parameters:
name -

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 -

getParentId

public java.lang.Integer getParentId()
Return the value of the parent_id column.

Returns:
java.lang.Integer

setParentId

public void setParentId(java.lang.Integer parentId)
Set the value of the parent_id column.

Parameters:
parentId -

getChebiAccession

public java.lang.String getChebiAccession()
Return the value of the chebi_accession column.

Returns:
java.lang.String

setChebiAccession

public void setChebiAccession(java.lang.String chebiAccession)
Set the value of the chebi_accession column.

Parameters:
chebiAccession -

getStatus

public java.lang.String getStatus()
Return the value of the status column.

Returns:
java.lang.String

setStatus

public void setStatus(java.lang.String status)
Set the value of the status column.

Parameters:
status -

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

getDefinition

public java.lang.String getDefinition()
Returns:
Returns the definition.

setDefinition

public void setDefinition(java.lang.String definition)
Parameters:
definition - The definition to set.