public class CurrencyAmountDTO extends ObservableBean implements ICurrencyAmount
| Modifier and Type | Field and Description |
|---|---|
static Property<java.math.BigDecimal,CurrencyAmountDTO> |
AMOUNT |
static Property<CurrencyVO,CurrencyAmountDTO> |
CURRENCY |
| Constructor and Description |
|---|
CurrencyAmountDTO() |
CurrencyAmountDTO(Property<T,? super CurrencyAmountDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Property<?,?>> |
doGetProperties() |
protected void |
doSet(Property<?,?> property,
java.lang.Object value) |
java.lang.Object |
get(Property<?,?> property)
Returns the value of the given property
|
java.math.BigDecimal |
getAmount() |
CurrencyVO |
getCurrency() |
void |
setAmount(java.math.BigDecimal amount) |
void |
setCurrency(CurrencyVO currency) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, changes, copyPropertiesTo, firePropertyChange, properties, propertyMap, removePropertyChangeListener, removePropertyChangeListener, setpublic static final Property<java.math.BigDecimal,CurrencyAmountDTO> AMOUNT
public static final Property<CurrencyVO,CurrencyAmountDTO> CURRENCY
public CurrencyAmountDTO()
public CurrencyAmountDTO(Property<T,? super CurrencyAmountDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class ObservableBeanprotected void doSet(Property<?,?> property, java.lang.Object value)
doSet in class ObservableBeanpublic java.lang.Object get(Property<?,?> property)
ObservableBeanget in class ObservableBeanpublic java.math.BigDecimal getAmount()
getAmount in interface ICurrencyAmountpublic CurrencyVO getCurrency()
getCurrency in interface ICurrencyAmountpublic void setAmount(java.math.BigDecimal amount)
public void setCurrency(CurrencyVO currency)
public java.lang.String toString()
toString in class java.lang.Object