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() |
boolean |
equals(java.lang.Object other) |
java.math.BigDecimal |
getAmount() |
CurrencyVO |
getCurrency() |
int |
hashCode() |
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, property, 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.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object