edu.iastate.metnet.hibernate
Class AbstractChebiNames

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

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

A class that represents a row in the chebi_names table. You can customize the behavior of this class by editing the class, ChebiNames(). 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
AbstractChebiNames()
          Simple constructor of AbstractChebiNames instances.
AbstractChebiNames(java.lang.Integer id)
          Constructor of AbstractChebiNames 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.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.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 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 setName(java.lang.String name)
          Set the value of the name column.
 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

AbstractChebiNames

public AbstractChebiNames()
Simple constructor of AbstractChebiNames instances.


AbstractChebiNames

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

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 -

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