Package org.cyclos.model.utils
Class CurrencyAmountRangeDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.DecimalRangeDTO
-
- org.cyclos.model.utils.CurrencyAmountRangeDTO
-
- All Implemented Interfaces:
Serializable,ICurrencyAmountRange,IDecimalRange,Range<BigDecimal>
public class CurrencyAmountRangeDTO extends DecimalRangeDTO implements ICurrencyAmountRange
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<CurrencyVO,CurrencyAmountRangeDTO>CURRENCY-
Fields inherited from class org.cyclos.model.utils.DecimalRangeDTO
MAX, MIN
-
-
Constructor Summary
Constructors Constructor Description CurrencyAmountRangeDTO()CurrencyAmountRangeDTO(Property<T,? super CurrencyAmountRangeDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CurrencyVOgetCurrency()voidsetCurrency(CurrencyVO currency)StringtoString()-
Methods inherited from class org.cyclos.model.utils.DecimalRangeDTO
equals, getMax, getMin, hashCode, setMax, setMin
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CURRENCY
public static final BasicProperty<CurrencyVO,CurrencyAmountRangeDTO> CURRENCY
-
-
Constructor Detail
-
CurrencyAmountRangeDTO
public CurrencyAmountRangeDTO()
-
CurrencyAmountRangeDTO
public CurrencyAmountRangeDTO(Property<T,? super CurrencyAmountRangeDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classDecimalRangeDTO
-
getCurrency
public CurrencyVO getCurrency()
- Specified by:
getCurrencyin interfaceICurrencyAmountRange
-
setCurrency
public void setCurrency(CurrencyVO currency)
-
toString
public String toString()
- Overrides:
toStringin classDecimalRangeDTO
-
className
public String className()
- Overrides:
classNamein classDecimalRangeDTO
-
-