edu.iastate.metnet.hibernate
Class AbstractChebiRelation

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

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

A class that represents a row in the chebi_relation table. You can customize the behavior of this class by editing the class, ChebiRelation(). 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
AbstractChebiRelation()
          Simple constructor of AbstractChebiRelation instances.
AbstractChebiRelation(java.lang.Integer id)
          Constructor of AbstractChebiRelation 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 getFinalId()
          Return the value of the final_id column.
 java.lang.Integer getId()
          Return the simple primary key value that identifies this object.
 java.lang.Integer getInitId()
          Return the value of the init_id 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 setFinalId(java.lang.Integer finalId)
          Set the value of the final_id column.
 void setId(java.lang.Integer id)
          Set the simple primary key value that identifies this object.
 void setInitId(java.lang.Integer initId)
          Set the value of the init_id 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

AbstractChebiRelation

public AbstractChebiRelation()
Simple constructor of AbstractChebiRelation instances.


AbstractChebiRelation

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

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 -

getInitId

public java.lang.Integer getInitId()
Return the value of the init_id column.

Returns:
java.lang.Integer

setInitId

public void setInitId(java.lang.Integer initId)
Set the value of the init_id column.

Parameters:
initId -

getFinalId

public java.lang.Integer getFinalId()
Return the value of the final_id column.

Returns:
java.lang.Integer

setFinalId

public void setFinalId(java.lang.Integer finalId)
Set the value of the final_id column.

Parameters:
finalId -

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