Package org.cyclos.model.banking.rates
Class RateParametersDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.banking.rates.RateParametersDTO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
TimeBasedRateParametersDTO
public abstract class RateParametersDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<BigDecimal,RateParametersDTO>CREATION_VALUEstatic BasicProperty<CurrencyVO,RateParametersDTO>CURRENCYstatic BasicProperty<Boolean,RateParametersDTO>ENABLED_ON_FORMstatic BasicProperty<DateTime,RateParametersDTO>END_DATEstatic BasicProperty<Boolean,RateParametersDTO>SHOW_TO_USERstatic BasicProperty<DateTime,RateParametersDTO>START_DATE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description RateParametersDTO()RateParametersDTO(Long id)RateParametersDTO(Property<T,? super RateParametersDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()BigDecimalgetCreationValue()CurrencyVOgetCurrency()DateTimegetEndDate()DateTimegetStartDate()booleanisEnabledOnForm()booleanisShowToUser()voidsetCreationValue(BigDecimal creationValue)voidsetCurrency(CurrencyVO currency)voidsetEnabledOnForm(boolean enabledOnForm)voidsetEndDate(DateTime endDate)voidsetShowToUser(boolean showToUser)voidsetStartDate(DateTime startDate)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, 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
-
CREATION_VALUE
public static final BasicProperty<BigDecimal,RateParametersDTO> CREATION_VALUE
-
CURRENCY
public static final BasicProperty<CurrencyVO,RateParametersDTO> CURRENCY
-
ENABLED_ON_FORM
public static final BasicProperty<Boolean,RateParametersDTO> ENABLED_ON_FORM
-
END_DATE
public static final BasicProperty<DateTime,RateParametersDTO> END_DATE
-
SHOW_TO_USER
public static final BasicProperty<Boolean,RateParametersDTO> SHOW_TO_USER
-
START_DATE
public static final BasicProperty<DateTime,RateParametersDTO> START_DATE
-
-
Constructor Detail
-
RateParametersDTO
public RateParametersDTO()
-
RateParametersDTO
public RateParametersDTO(Long id)
-
RateParametersDTO
public RateParametersDTO(Property<T,? super RateParametersDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getCreationValue
public BigDecimal getCreationValue()
-
setCreationValue
public void setCreationValue(BigDecimal creationValue)
-
getCurrency
public CurrencyVO getCurrency()
-
setCurrency
public void setCurrency(CurrencyVO currency)
-
isEnabledOnForm
public boolean isEnabledOnForm()
-
setEnabledOnForm
public void setEnabledOnForm(boolean enabledOnForm)
-
getEndDate
public DateTime getEndDate()
-
setEndDate
public void setEndDate(DateTime endDate)
-
isShowToUser
public boolean isShowToUser()
-
setShowToUser
public void setShowToUser(boolean showToUser)
-
getStartDate
public DateTime getStartDate()
-
setStartDate
public void setStartDate(DateTime startDate)
-
-