Class GenerateVouchersData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.vouchers.BasicVoucherData
-
- org.cyclos.model.banking.vouchers.BasicVoucherDataWithConfirmationPassword
-
- org.cyclos.model.banking.vouchers.BasicCreateVoucherData
-
- org.cyclos.model.banking.vouchers.GenerateVouchersData
-
- All Implemented Interfaces:
Serializable
public class GenerateVouchersData extends BasicCreateVoucherData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<GenerateVouchersDTO,GenerateVouchersData>DTOstatic BasicProperty<VoucherGenerationAmount,GenerateVouchersData>GENERATION_AMOUNTstatic BasicProperty<VoucherGenerationStatus,GenerateVouchersData>GENERATION_STATUS-
Fields inherited from class org.cyclos.model.banking.vouchers.BasicCreateVoucherData
ACCOUNT, CATEGORIES, CUSTOM_FIELDS, EXPIRATION_DATE, MINIMUM_TIME_TO_REDEEM, REDEEM_AFTER_DATE, REDEEM_ON_WEEK_DAYS, TYPES, USER
-
Fields inherited from class org.cyclos.model.banking.vouchers.BasicVoucherDataWithConfirmationPassword
CONFIRMATION_PASSWORD_INPUT
-
Fields inherited from class org.cyclos.model.banking.vouchers.BasicVoucherData
TYPE
-
-
Constructor Summary
Constructors Constructor Description GenerateVouchersData()GenerateVouchersData(Property<T,? super GenerateVouchersData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()GenerateVouchersDTOgetDto()VoucherGenerationAmountgetGenerationAmount()VoucherGenerationStatusgetGenerationStatus()voidsetDto(GenerateVouchersDTO dto)voidsetGenerationAmount(VoucherGenerationAmount generationAmount)voidsetGenerationStatus(VoucherGenerationStatus generationStatus)-
Methods inherited from class org.cyclos.model.banking.vouchers.BasicCreateVoucherData
getAccount, getCategories, getCustomFields, getExpirationDate, getMinimumTimeToRedeem, getRedeemAfterDate, getRedeemOnWeekDays, getTypes, getUser, setAccount, setCategories, setCustomFields, setExpirationDate, setMinimumTimeToRedeem, setRedeemAfterDate, setRedeemOnWeekDays, setTypes, setUser
-
Methods inherited from class org.cyclos.model.banking.vouchers.BasicVoucherDataWithConfirmationPassword
getConfirmationPasswordInput, setConfirmationPasswordInput
-
Methods inherited from class org.cyclos.model.banking.vouchers.BasicVoucherData
getType, setType
-
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
-
DTO
public static final BasicProperty<GenerateVouchersDTO,GenerateVouchersData> DTO
-
GENERATION_AMOUNT
public static final BasicProperty<VoucherGenerationAmount,GenerateVouchersData> GENERATION_AMOUNT
-
GENERATION_STATUS
public static final BasicProperty<VoucherGenerationStatus,GenerateVouchersData> GENERATION_STATUS
-
-
Constructor Detail
-
GenerateVouchersData
public GenerateVouchersData()
-
GenerateVouchersData
public GenerateVouchersData(Property<T,? super GenerateVouchersData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBasicCreateVoucherData
-
getDto
public GenerateVouchersDTO getDto()
-
setDto
public void setDto(GenerateVouchersDTO dto)
-
getGenerationAmount
public VoucherGenerationAmount getGenerationAmount()
-
setGenerationAmount
public void setGenerationAmount(VoucherGenerationAmount generationAmount)
-
getGenerationStatus
public VoucherGenerationStatus getGenerationStatus()
-
setGenerationStatus
public void setGenerationStatus(VoucherGenerationStatus generationStatus)
-
-