public class Tax extends AbstractVisiblyIdentifiedHibernateObject<Tax> implements Comparable<Tax>, Cloneable
visibleId
id
Constructor and Description |
---|
Tax()
Creates a new instance of Tax
|
Modifier and Type | Method and Description |
---|---|
Tax |
clone() |
int |
compareTo(Tax o) |
String |
getName() |
static Tax |
getNullTax()
Find a tax entry with rate = 0.0 which shall be used for null ticktes.
|
Double |
getRate() |
void |
setName(String new_name) |
void |
setRate(Double rat) |
String |
toString()
TODO: UUGH!
|
getVisibleId, setVisibleId
equals, getId, getVersion, hashCode, setId, setVersion
delete, getGetters, getKeyValue, merge, refresh, save
public Double getRate()
public void setRate(Double rat)
public String getName()
public void setName(String new_name)
public String toString()
public int compareTo(Tax o)
compareTo
in interface Comparable<Tax>
public static Tax getNullTax() throws BasicException
BasicException
- when no tax entry matches the criteria.Copyright © 2021. All rights reserved.