edu.iastate.metnet.hibernate
Class Abbreviationrules
java.lang.Object
edu.iastate.metnet.hibernate.AbstractAbbreviationrules
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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
compareType
static java.lang.String compareType
- specify the compare rule
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 -
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