edu.iastate.metnet.hibernate
Class AbstractChebiOntology

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

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

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

Constructor Detail

AbstractChebiOntology

public AbstractChebiOntology()
Simple constructor of AbstractChebiOntology instances.


AbstractChebiOntology

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

getTitle

public java.lang.String getTitle()
Return the value of the title column.

Returns:
java.lang.String

setTitle

public void setTitle(java.lang.String title)
Set the value of the title column.

Parameters:
title -

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