edu.iastate.metnet.hibernate
Class AbstractAbbreviationrules

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

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

A class that represents a row in the abbreviationrules table. You can customize the behavior of this class by editing the class, Abbreviationrules(). 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
AbstractAbbreviationrules()
          Simple constructor of AbstractAbbreviationrules instances.
AbstractAbbreviationrules(java.lang.Integer ruleid)
          Constructor of AbstractAbbreviationrules 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.String getLongterm()
          Return the value of the longterm column.
 java.lang.Integer getRuleid()
          Return the simple primary key value that identifies this object.
 java.lang.String getShortterm()
          Return the value of the shortterm column.
 java.lang.Integer 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 setLongterm(java.lang.String longterm)
          Set the value of the longterm column.
 void setRuleid(java.lang.Integer ruleid)
          Set the simple primary key value that identifies this object.
 void setShortterm(java.lang.String shortterm)
          Set the value of the shortterm column.
 void setType(java.lang.Integer 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

AbstractAbbreviationrules

public AbstractAbbreviationrules()
Simple constructor of AbstractAbbreviationrules instances.


AbstractAbbreviationrules

public AbstractAbbreviationrules(java.lang.Integer ruleid)
Constructor of AbstractAbbreviationrules instances given a simple primary key.

Parameters:
ruleid -
Method Detail

getRuleid

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

Returns:
java.lang.Integer

setRuleid

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

Parameters:
ruleid -

getType

public java.lang.Integer getType()
Return the value of the type column.

Returns:
java.lang.Integer

setType

public void setType(java.lang.Integer type)
Set the value of the type column.

Parameters:
type -

getShortterm

public java.lang.String getShortterm()
Return the value of the shortterm column.

Returns:
java.lang.String

setShortterm

public void setShortterm(java.lang.String shortterm)
Set the value of the shortterm column.

Parameters:
shortterm -

getLongterm

public java.lang.String getLongterm()
Return the value of the longterm column.

Returns:
java.lang.String

setLongterm

public void setLongterm(java.lang.String longterm)
Set the value of the longterm column.

Parameters:
longterm -

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