Package org.cyclos.model.users.products
Class ProductUserVoucherDTO
- 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
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
ProductBrokerVoucherDTO,ProductMemberVoucherDTO
public abstract class ProductUserVoucherDTO extends ProductVoucherDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,ProductUserVoucherDTO>VIEW_TRANSACTIONSstatic BasicProperty<Boolean,ProductUserVoucherDTO>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 ProductUserVoucherDTO()ProductUserVoucherDTO(Long id)ProductUserVoucherDTO(Property<T,? super ProductUserVoucherDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()booleanisViewTransactions()booleanisViewVouchers()voidsetViewTransactions(boolean viewTransactions)voidsetViewVouchers(boolean viewVouchers)-
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, 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
-
VIEW_TRANSACTIONS
public static final BasicProperty<Boolean,ProductUserVoucherDTO> VIEW_TRANSACTIONS
-
VIEW_VOUCHERS
public static final BasicProperty<Boolean,ProductUserVoucherDTO> VIEW_VOUCHERS
-
-
Constructor Detail
-
ProductUserVoucherDTO
public ProductUserVoucherDTO()
-
ProductUserVoucherDTO
public ProductUserVoucherDTO(Long id)
-
ProductUserVoucherDTO
public ProductUserVoucherDTO(Property<T,? super ProductUserVoucherDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classProductVoucherDTO
-
isViewTransactions
public boolean isViewTransactions()
-
setViewTransactions
public void setViewTransactions(boolean viewTransactions)
-
isViewVouchers
public boolean isViewVouchers()
-
setViewVouchers
public void setViewVouchers(boolean viewVouchers)
-
-