edu.iastate.metnet.hibernate
Class AbstractCodeorganism

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

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

A class that represents a row in the codeorganism table. You can customize the behavior of this class by editing the class, Codeorganism(). 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
AbstractCodeorganism()
          Simple constructor of AbstractCodeorganism instances.
AbstractCodeorganism(java.lang.Integer code)
          Constructor of AbstractCodeorganism 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 getCode()
          Return the simple primary key value that identifies this object.
 java.lang.String getDescription()
          Return the value of the description column.
 java.lang.String getOrganism()
          Return the value of the organism column.
 java.lang.String getPresentation()
          Return the value of the presentation 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 setCode(java.lang.Integer code)
          Set the simple primary key value that identifies this object.
 void setDescription(java.lang.String description)
          Set the value of the description column.
 void setOrganism(java.lang.String organism)
          Set the value of the organism column.
 void setPresentation(java.lang.String presentation)
          Set the value of the presentation column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCodeorganism

public AbstractCodeorganism()
Simple constructor of AbstractCodeorganism instances.


AbstractCodeorganism

public AbstractCodeorganism(java.lang.Integer code)
Constructor of AbstractCodeorganism instances given a simple primary key.

Parameters:
code -
Method Detail

getCode

public java.lang.Integer getCode()
Return the simple primary key value that identifies this object.

Returns:
java.lang.Integer

setCode

public void setCode(java.lang.Integer code)
Set the simple primary key value that identifies this object.

Parameters:
code -

getDescription

public java.lang.String getDescription()
Return the value of the description column.

Returns:
java.lang.String

setDescription

public void setDescription(java.lang.String description)
Set the value of the description column.

Parameters:
description -

getPresentation

public java.lang.String getPresentation()
Return the value of the presentation column.

Returns:
java.lang.String

setPresentation

public void setPresentation(java.lang.String presentation)
Set the value of the presentation column.

Parameters:
presentation -

getOrganism

public java.lang.String getOrganism()
Return the value of the organism column.

Returns:
java.lang.String

setOrganism

public void setOrganism(java.lang.String organism)
Set the value of the organism column.

Parameters:
organism -

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