Package org.cyclos.model.users.products
Class ProductMemberVoucherDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.products.ProductVoucherDTO
-
- org.cyclos.model.users.products.ProductUserVoucherDTO
-
- org.cyclos.model.users.products.ProductMemberVoucherDTO
-
- All Implemented Interfaces:
Serializable,IEntity
public class ProductMemberVoucherDTO extends ProductUserVoucherDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,ProductMemberVoucherDTO>ENABLEstatic BasicProperty<Boolean,ProductMemberVoucherDTO>SEND_BATCH-
Fields inherited from class org.cyclos.model.users.products.ProductUserVoucherDTO
VIEW_TRANSACTIONS, VIEW_VOUCHERS
-
Fields inherited from class org.cyclos.model.users.products.ProductVoucherDTO
BUY, CHANGE_PIN, CONFIGURATION, NOTIFICATION_SETTINGS, REDEEM, REFUND, SEND, TOP_UP
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ProductMemberVoucherDTO()ProductMemberVoucherDTO(Long id)ProductMemberVoucherDTO(Property<T,? super ProductMemberVoucherDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisEnable()booleanisSendBatch()voidsetEnable(boolean enable)voidsetSendBatch(boolean sendBatch)-
Methods inherited from class org.cyclos.model.users.products.ProductUserVoucherDTO
isViewTransactions, isViewVouchers, setViewTransactions, setViewVouchers
-
Methods inherited from class org.cyclos.model.users.products.ProductVoucherDTO
getConfiguration, isBuy, isChangePin, isNotificationSettings, isRedeem, isRefund, isSend, isTopUp, setBuy, setChangePin, setConfiguration, setNotificationSettings, setRedeem, setRefund, setSend, setTopUp
-
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, 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
-
ENABLE
public static final BasicProperty<Boolean,ProductMemberVoucherDTO> ENABLE
-
SEND_BATCH
public static final BasicProperty<Boolean,ProductMemberVoucherDTO> SEND_BATCH
-
-
Constructor Detail
-
ProductMemberVoucherDTO
public ProductMemberVoucherDTO()
-
ProductMemberVoucherDTO
public ProductMemberVoucherDTO(Long id)
-
ProductMemberVoucherDTO
public ProductMemberVoucherDTO(Property<T,? super ProductMemberVoucherDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classProductUserVoucherDTO
-
isEnable
public boolean isEnable()
-
setEnable
public void setEnable(boolean enable)
-
isSendBatch
public boolean isSendBatch()
-
setSendBatch
public void setSendBatch(boolean sendBatch)
-
-