edu.iastate.metnet.hibernate
Class AbstractCodedatasource

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

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

A class that represents a row in the codedatasource table. You can customize the behavior of this class by editing the class, Codedatasource(). 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
AbstractCodedatasource()
          Simple constructor of AbstractCodedatasource instances.
AbstractCodedatasource(java.lang.Integer code)
          Constructor of AbstractCodedatasource 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 getName()
          Return the value of the name 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 setName(java.lang.String name)
          Set the value of the name column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCodedatasource

public AbstractCodedatasource()
Simple constructor of AbstractCodedatasource instances.


AbstractCodedatasource

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

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 -

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