public class VoucherPackVO extends EntityVO
| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.math.BigDecimal,VoucherPackVO> |
AMOUNT |
static BasicProperty<UserDetailedVO,VoucherPackVO> |
BUYER |
static java.lang.String |
CLASS_NAME |
static BasicProperty<DateTime,VoucherPackVO> |
CREATION_DATE |
static BasicProperty<VoucherCreationType,VoucherPackVO> |
CREATION_TYPE |
static BasicProperty<DateTime,VoucherPackVO> |
EXPIRATION_DATE |
static BasicProperty<DateTime,VoucherPackVO> |
REDEEM_AFTER_DATE |
static ListProperty<WeekDay,VoucherPackVO> |
REDEEM_ON_WEEK_DAYS |
static BasicProperty<VoucherTypeVO,VoucherPackVO> |
TYPE |
ID| Constructor and Description |
|---|
VoucherPackVO() |
VoucherPackVO(java.lang.Long id) |
VoucherPackVO(Property<T,? super VoucherPackVO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
java.math.BigDecimal |
getAmount() |
UserDetailedVO |
getBuyer() |
DateTime |
getCreationDate() |
VoucherCreationType |
getCreationType() |
DateTime |
getExpirationDate() |
DateTime |
getRedeemAfterDate() |
java.util.List<WeekDay> |
getRedeemOnWeekDays() |
VoucherTypeVO |
getType() |
void |
setAmount(java.math.BigDecimal amount) |
void |
setBuyer(UserDetailedVO buyer) |
void |
setCreationDate(DateTime creationDate) |
void |
setCreationType(VoucherCreationType creationType) |
void |
setExpirationDate(DateTime expirationDate) |
void |
setRedeemAfterDate(DateTime redeemAfterDate) |
void |
setRedeemOnWeekDays(java.util.List<WeekDay> redeemOnWeekDays) |
void |
setType(VoucherTypeVO type) |
getId, getIds, getUniqueIdsaddPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, 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.math.BigDecimal,VoucherPackVO> AMOUNT
public static final BasicProperty<UserDetailedVO,VoucherPackVO> BUYER
public static final BasicProperty<DateTime,VoucherPackVO> CREATION_DATE
public static final BasicProperty<VoucherCreationType,VoucherPackVO> CREATION_TYPE
public static final BasicProperty<DateTime,VoucherPackVO> EXPIRATION_DATE
public static final BasicProperty<DateTime,VoucherPackVO> REDEEM_AFTER_DATE
public static final ListProperty<WeekDay,VoucherPackVO> REDEEM_ON_WEEK_DAYS
public static final BasicProperty<VoucherTypeVO,VoucherPackVO> TYPE
public VoucherPackVO()
public VoucherPackVO(java.lang.Long id)
public VoucherPackVO(Property<T,? super VoucherPackVO> property, T value)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class EntityModelpublic java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal amount)
public UserDetailedVO getBuyer()
public void setBuyer(UserDetailedVO buyer)
public DateTime getCreationDate()
public void setCreationDate(DateTime creationDate)
public VoucherCreationType getCreationType()
public void setCreationType(VoucherCreationType creationType)
public DateTime getExpirationDate()
public void setExpirationDate(DateTime expirationDate)
public DateTime getRedeemAfterDate()
public void setRedeemAfterDate(DateTime redeemAfterDate)
public java.util.List<WeekDay> getRedeemOnWeekDays()
public void setRedeemOnWeekDays(java.util.List<WeekDay> redeemOnWeekDays)
public VoucherTypeVO getType()
public void setType(VoucherTypeVO type)