edu.iastate.metnet.hibernate
Class Abbreviationrules

java.lang.Object
  extended by edu.iastate.metnet.hibernate.AbstractAbbreviationrules
      extended by edu.iastate.metnet.hibernate.Abbreviationrules
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class Abbreviationrules
extends AbstractAbbreviationrules
implements java.io.Serializable, java.lang.Comparable

A class that represents a row in the 'abbreviationrules' table. This class may be customized as it is never re-generated after being created.

See Also:
Serialized Form

Field Summary
(package private) static java.lang.String compareType
          specify the compare rule
 
Constructor Summary
Abbreviationrules()
          Simple constructor of Abbreviationrules instances.
Abbreviationrules(java.lang.Integer ruleid)
          Constructor of Abbreviationrules instances given a simple primary key.
 
Method Summary
 int compareTo(java.lang.Object another)
           
 Coderule getCoderule()
          this is a customized method, so use interface is ok.
 void join(java.util.List coderulecollection)
           
 void setCoderule(Coderule rule)
           
 void setCompareType(java.lang.String acompareType)
           
 
Methods inherited from class edu.iastate.metnet.hibernate.AbstractAbbreviationrules
equals, getLongterm, getRuleid, getShortterm, getType, hashCode, setLongterm, setRuleid, setShortterm, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compareType

static java.lang.String compareType
specify the compare rule

Constructor Detail

Abbreviationrules

public Abbreviationrules()
Simple constructor of Abbreviationrules instances.


Abbreviationrules

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

Parameters:
ruleid -
Method Detail

join

public void join(java.util.List coderulecollection)

getCoderule

public Coderule getCoderule()
this is a customized method, so use interface is ok.


setCoderule

public void setCoderule(Coderule rule)

setCompareType

public void setCompareType(java.lang.String acompareType)

compareTo

public int compareTo(java.lang.Object another)
Specified by:
compareTo in interface java.lang.Comparable