public class VoucherVO extends EntityVO
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME |
static BasicProperty<DateTime,VoucherVO> |
EXPIRATION_DATE |
static BasicProperty<java.lang.String,VoucherVO> |
EXPIRATION_DATE_COMMENTS |
static BasicProperty<VoucherPackVO,VoucherVO> |
PACK |
static BasicProperty<DateTime,VoucherVO> |
REDEEM_DATE |
static BasicProperty<UserVO,VoucherVO> |
REDEEMER |
static BasicProperty<VoucherStatus,VoucherVO> |
STATUS |
static BasicProperty<java.lang.String,VoucherVO> |
TOKEN |
ID| Constructor and Description |
|---|
VoucherVO() |
VoucherVO(java.lang.Long id) |
VoucherVO(Property<T,? super VoucherVO> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
protected java.util.List<Property<?,?>> |
doGetProperties() |
DateTime |
getExpirationDate() |
java.lang.String |
getExpirationDateComments() |
VoucherPackVO |
getPack() |
DateTime |
getRedeemDate() |
UserVO |
getRedeemer() |
VoucherStatus |
getStatus() |
java.lang.String |
getToken() |
void |
setExpirationDate(DateTime expirationDate) |
void |
setExpirationDateComments(java.lang.String expirationDateComments) |
void |
setPack(VoucherPackVO pack) |
void |
setRedeemDate(DateTime redeemDate) |
void |
setRedeemer(UserVO redeemer) |
void |
setStatus(VoucherStatus status) |
void |
setToken(java.lang.String token) |
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<DateTime,VoucherVO> EXPIRATION_DATE
public static final BasicProperty<java.lang.String,VoucherVO> EXPIRATION_DATE_COMMENTS
public static final BasicProperty<VoucherPackVO,VoucherVO> PACK
public static final BasicProperty<DateTime,VoucherVO> REDEEM_DATE
public static final BasicProperty<UserVO,VoucherVO> REDEEMER
public static final BasicProperty<VoucherStatus,VoucherVO> STATUS
public static final BasicProperty<java.lang.String,VoucherVO> TOKEN
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class EntityModelpublic DateTime getExpirationDate()
public void setExpirationDate(DateTime expirationDate)
public java.lang.String getExpirationDateComments()
public void setExpirationDateComments(java.lang.String expirationDateComments)
public VoucherPackVO getPack()
public void setPack(VoucherPackVO pack)
public DateTime getRedeemDate()
public void setRedeemDate(DateTime redeemDate)
public UserVO getRedeemer()
public void setRedeemer(UserVO redeemer)
public VoucherStatus getStatus()
public void setStatus(VoucherStatus status)
public java.lang.String getToken()
public void setToken(java.lang.String token)