Package org.cyclos.model.users.products
Class ProductAdminVoucherDTO
- 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.ProductAdminVoucherDTO
-
- All Implemented Interfaces:
Serializable,IEntity
public class ProductAdminVoucherDTO extends ProductVoucherDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,ProductAdminVoucherDTO>CANCELstatic BasicProperty<Boolean,ProductAdminVoucherDTO>CHANGE_EXPIRATION_DATEstatic StringCLASS_NAMEstatic BasicProperty<Boolean,ProductAdminVoucherDTO>GENERATEstatic BasicProperty<Boolean,ProductAdminVoucherDTO>VIEW-
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 ProductAdminVoucherDTO()ProductAdminVoucherDTO(Long id)ProductAdminVoucherDTO(Property<T,? super ProductAdminVoucherDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisCancel()booleanisChangeExpirationDate()booleanisGenerate()booleanisView()voidsetCancel(boolean cancel)voidsetChangeExpirationDate(boolean changeExpirationDate)voidsetGenerate(boolean generate)voidsetView(boolean view)-
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
-
CANCEL
public static final BasicProperty<Boolean,ProductAdminVoucherDTO> CANCEL
-
CHANGE_EXPIRATION_DATE
public static final BasicProperty<Boolean,ProductAdminVoucherDTO> CHANGE_EXPIRATION_DATE
-
GENERATE
public static final BasicProperty<Boolean,ProductAdminVoucherDTO> GENERATE
-
VIEW
public static final BasicProperty<Boolean,ProductAdminVoucherDTO> VIEW
-
-
Constructor Detail
-
ProductAdminVoucherDTO
public ProductAdminVoucherDTO()
-
ProductAdminVoucherDTO
public ProductAdminVoucherDTO(Long id)
-
ProductAdminVoucherDTO
public ProductAdminVoucherDTO(Property<T,? super ProductAdminVoucherDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classProductVoucherDTO
-
isCancel
public boolean isCancel()
-
setCancel
public void setCancel(boolean cancel)
-
isChangeExpirationDate
public boolean isChangeExpirationDate()
-
setChangeExpirationDate
public void setChangeExpirationDate(boolean changeExpirationDate)
-
isGenerate
public boolean isGenerate()
-
setGenerate
public void setGenerate(boolean generate)
-
isView
public boolean isView()
-
setView
public void setView(boolean view)
-
-