Class CreateVouchersDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.CreateVouchersDTO
-
- All Implemented Interfaces:
Serializable,ModelWithCustomValues<CustomFieldValueDTO>
- Direct Known Subclasses:
BaseBuyVouchersDTO,GenerateVouchersDTO
public abstract class CreateVouchersDTO extends Bean implements ModelWithCustomValues<CustomFieldValueDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<BigDecimal,CreateVouchersDTO>AMOUNTstatic StringCLASS_NAMEstatic BasicProperty<String,CreateVouchersDTO>CONFIRMATION_PASSWORDstatic BasicProperty<Integer,CreateVouchersDTO>COUNTstatic ListProperty<CustomFieldValueDTO,CreateVouchersDTO>CUSTOM_VALUESstatic BasicProperty<VoucherTypeVO,CreateVouchersDTO>TYPE
-
Constructor Summary
Constructors Constructor Description CreateVouchersDTO()CreateVouchersDTO(Property<T,? super CreateVouchersDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()BigDecimalgetAmount()StringgetConfirmationPassword()IntegergetCount()List<CustomFieldValueDTO>getCustomValues()VoucherTypeVOgetType()voidsetAmount(BigDecimal amount)voidsetConfirmationPassword(String confirmationPassword)voidsetCount(Integer count)voidsetCustomValues(List<CustomFieldValueDTO> customValues)voidsetType(VoucherTypeVO type)-
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
-
AMOUNT
public static final BasicProperty<BigDecimal,CreateVouchersDTO> AMOUNT
-
CONFIRMATION_PASSWORD
public static final BasicProperty<String,CreateVouchersDTO> CONFIRMATION_PASSWORD
-
COUNT
public static final BasicProperty<Integer,CreateVouchersDTO> COUNT
-
CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,CreateVouchersDTO> CUSTOM_VALUES
-
TYPE
public static final BasicProperty<VoucherTypeVO,CreateVouchersDTO> TYPE
-
-
Constructor Detail
-
CreateVouchersDTO
public CreateVouchersDTO()
-
CreateVouchersDTO
public CreateVouchersDTO(Property<T,? super CreateVouchersDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getAmount
public BigDecimal getAmount()
-
setAmount
public void setAmount(BigDecimal amount)
-
getConfirmationPassword
public String getConfirmationPassword()
-
setConfirmationPassword
public void setConfirmationPassword(String confirmationPassword)
-
getCount
public Integer getCount()
-
setCount
public void setCount(Integer count)
-
getCustomValues
public List<CustomFieldValueDTO> getCustomValues()
- Specified by:
getCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
setCustomValues
public void setCustomValues(List<CustomFieldValueDTO> customValues)
- Specified by:
setCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
getType
public VoucherTypeVO getType()
-
setType
public void setType(VoucherTypeVO type)
-
-