public class CurrencyAmountDTO extends Bean implements ICurrencyAmount
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.math.BigDecimal,CurrencyAmountDTO> |
AMOUNT |
static java.lang.String |
CLASS_NAME |
static BasicProperty<CurrencyVO,CurrencyAmountDTO> |
CURRENCY |
| Constructor and Description |
|---|
CurrencyAmountDTO() |
CurrencyAmountDTO(Property<T,? super CurrencyAmountDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
java.math.BigDecimal |
getAmount() |
CurrencyVO |
getCurrency() |
void |
setAmount(java.math.BigDecimal amount) |
void |
setCurrency(CurrencyVO currency) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.math.BigDecimal,CurrencyAmountDTO> AMOUNT
public static final BasicProperty<CurrencyVO,CurrencyAmountDTO> CURRENCY
public CurrencyAmountDTO()
public CurrencyAmountDTO(Property<T,? super CurrencyAmountDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class Beanpublic java.math.BigDecimal getAmount()
getAmount in interface ICurrencyAmountpublic void setAmount(java.math.BigDecimal amount)
public CurrencyVO getCurrency()
getCurrency in interface ICurrencyAmountpublic void setCurrency(CurrencyVO currency)
public java.lang.String toString()
toString in class java.lang.Object