public abstract class ProductVoucherDTO extends EntityDTO
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.lang.Boolean,ProductVoucherDTO> |
BUY |
static java.lang.String |
CLASS_NAME |
static BasicProperty<VoucherConfigurationVO,ProductVoucherDTO> |
CONFIGURATION |
static BasicProperty<java.lang.Boolean,ProductVoucherDTO> |
REDEEM |
ID| Constructor and Description |
|---|
ProductVoucherDTO() |
ProductVoucherDTO(java.lang.Long id) |
ProductVoucherDTO(Property<T,? super ProductVoucherDTO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Property<?,?>> |
doGetProperties() |
VoucherConfigurationVO |
getConfiguration() |
boolean |
isBuy() |
boolean |
isRedeem() |
void |
setBuy(boolean buy) |
void |
setConfiguration(VoucherConfigurationVO configuration) |
void |
setRedeem(boolean redeem) |
getVersion, isPersistent, isTransient, setVersionaddPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, className, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, setAttributepublic static final java.lang.String CLASS_NAME
public static final BasicProperty<java.lang.Boolean,ProductVoucherDTO> BUY
public static final BasicProperty<VoucherConfigurationVO,ProductVoucherDTO> CONFIGURATION
public static final BasicProperty<java.lang.Boolean,ProductVoucherDTO> REDEEM
public ProductVoucherDTO()
public ProductVoucherDTO(java.lang.Long id)
public ProductVoucherDTO(Property<T,? super ProductVoucherDTO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class EntityDTOpublic boolean isBuy()
public void setBuy(boolean buy)
public VoucherConfigurationVO getConfiguration()
public void setConfiguration(VoucherConfigurationVO configuration)
public boolean isRedeem()
public void setRedeem(boolean redeem)