edu.iastate.metnet.hibernate
Class AbstractCodelocation

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

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

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

AbstractCodelocation

public AbstractCodelocation()
Simple constructor of AbstractCodelocation instances.


AbstractCodelocation

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

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 -

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