public class GiftRegistryPurchaseRecordVO extends BaseVO
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
CREATE_TIME
Purchase record creation time
|
static java.lang.String |
GIFT_GIVER_ADDRESS
Gift giver address
|
static java.lang.String |
GIFT_ITEM_ID
Gift item ID
|
static java.lang.String |
GIFT_REGISTRY_EXTERNAL_ID
Gift registry external ID
|
static java.lang.String |
IS_NOTE_SENT
Flag for thankyou note sent or not
|
static java.lang.String |
ORDER_ITEM_ID
Order item ID
|
static java.lang.String |
PART_AUXILIARY_KEY
Part auxiliary key of the gift item
|
static java.lang.String |
PART_NUMER
Part number of the gift item
|
static java.lang.String |
PURCHASE_DATE
Purchase date
|
static java.lang.String |
PURCHASE_LOCATION
Location of the purchase
|
static java.lang.String |
PURCHASE_QUANTITY
Purchased quantity of the gift item
|
static java.lang.String |
PURCHASE_RECORD_ID
Purchase record ID
|
static java.lang.String |
REGISTRANT_MEMO
Registrant Memo
|
static java.lang.String |
STATUS
Status of the purchase record
|
static java.lang.String |
TRANSACTION_ID
Transaction ID
|
static java.lang.String |
UPDATE_TIME
Purchase record last update time
|
CLASS_NAME, VALUE_OBJECT_ID
Constructor and Description |
---|
GiftRegistryPurchaseRecordVO() |
Modifier and Type | Method and Description |
---|---|
java.sql.Timestamp |
getCreateTime() |
GiftRegistryAddressVO |
getGiftGiverAddress() |
java.lang.Long |
getGiftItemId() |
java.lang.String |
getGiftRegistryExternalId() |
java.lang.Object |
getId() |
java.lang.Boolean |
getIsNoteSent() |
java.lang.Long |
getOrderItemId() |
java.lang.String |
getPartAuxiliaryKey() |
java.lang.String |
getPartNumber() |
java.sql.Date |
getPurchaseDate() |
java.lang.String |
getPurchaseLocation() |
java.lang.Integer |
getPurchaseQuantity() |
java.lang.Long |
getPurchaseRecordId() |
java.lang.String |
getRegistrantMemo() |
java.lang.Integer |
getStatus() |
java.lang.String |
getTransactionId() |
java.sql.Timestamp |
getUpdateTime() |
boolean |
isNew()
Checks if a value object is newly created.
|
void |
setCreateTime(java.sql.Timestamp time)
Sets the time when this purchase record is created.
|
void |
setGiftGiverAddress(GiftRegistryAddressVO address)
Sets the address of the gift giver.
|
void |
setGiftItemId(java.lang.Long giftItemId)
Sets the id of the gift registry item that is bought for this purchase record.
|
void |
setGiftRegistryExternalId(java.lang.String registryExternalId)
Sets the gift registry ID of the purchase record.
|
void |
setIsNoteSent(java.lang.Boolean flag)
Sets whether a note is sent to the gift giver whose purchased the item in this record.
|
void |
setOrderItemId(java.lang.Long anId)
Sets the order item id of the purchased item in this record.
|
void |
setPartAuxiliaryKey(java.lang.String key)
This method sets the part auxiliary key of the purchased item.
|
void |
setPartNumber(java.lang.String aPartNumber)
Sets the part number of the item that was purchased.
|
void |
setPurchaseDate(java.sql.Date date)
Sets the date when the purchase is made.
|
void |
setPurchaseLocation(java.lang.String location)
Sets the location where the item in the record was purchased.
|
void |
setPurchaseQuantity(java.lang.Integer quantity)
Sets the quantity of the item purchase in this record.
|
void |
setPurchaseRecordId(java.lang.Long anId)
Sets the purchase record id of this purchase record.
|
void |
setRegistrantMemo(java.lang.String memo)
Sets the memo made by the registrant who owns this purchase record.
|
void |
setStatus(java.lang.Integer aStatus)
Sets the status of this purchase record.
|
void |
setTransactionId(java.lang.String anId)
Sets the transaction ID of this purchase record.
|
void |
setUpdateTime(java.sql.Timestamp time)
Sets the time when this purchase record is updated.
|
equals, get, getContext, getDataMap, getDescriptor, getObjectKey, hashCode, isEmpty, set, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String PURCHASE_RECORD_ID
public static final java.lang.String CREATE_TIME
public static final java.lang.String UPDATE_TIME
public static final java.lang.String PURCHASE_DATE
public static final java.lang.String STATUS
public static final java.lang.String IS_NOTE_SENT
public static final java.lang.String PURCHASE_QUANTITY
public static final java.lang.String TRANSACTION_ID
public static final java.lang.String REGISTRANT_MEMO
public static final java.lang.String PURCHASE_LOCATION
public static final java.lang.String PART_NUMER
public static final java.lang.String PART_AUXILIARY_KEY
public static final java.lang.String GIFT_GIVER_ADDRESS
public static final java.lang.String GIFT_REGISTRY_EXTERNAL_ID
public static final java.lang.String ORDER_ITEM_ID
public static final java.lang.String GIFT_ITEM_ID
public java.lang.Object getId()
getId
in class BaseVO
BaseVO.getId()
public java.lang.Long getGiftItemId()
public boolean isNew()
BaseVO
public void setGiftItemId(java.lang.Long giftItemId)
giftItemId
- the Id of the gift item that is bought for this purchase recordpublic java.lang.Long getPurchaseRecordId()
public java.sql.Timestamp getCreateTime()
public java.sql.Timestamp getUpdateTime()
public java.sql.Date getPurchaseDate()
public java.lang.Integer getStatus()
public java.lang.Boolean getIsNoteSent()
public java.lang.Integer getPurchaseQuantity()
public java.lang.String getTransactionId()
public java.lang.String getRegistrantMemo()
public java.lang.String getPurchaseLocation()
public java.lang.String getPartNumber()
public java.lang.String getPartAuxiliaryKey()
public GiftRegistryAddressVO getGiftGiverAddress()
public java.lang.String getGiftRegistryExternalId()
public void setPurchaseRecordId(java.lang.Long anId)
anId
- a purchase record idpublic void setCreateTime(java.sql.Timestamp time)
time
- the time when the purchase record is createdpublic void setUpdateTime(java.sql.Timestamp time)
time
- the time when the purchase record is updatedpublic void setPurchaseDate(java.sql.Date date)
date
- the date when the purchase is madepublic void setStatus(java.lang.Integer aStatus)
aStatus
- the status to be setpublic void setIsNoteSent(java.lang.Boolean flag)
flag
- the flag indicates whether a note is sentpublic void setPurchaseQuantity(java.lang.Integer quantity)
quantity
- the purchased quantity of the item in this recordpublic void setTransactionId(java.lang.String anId)
anId
- the transaction IDpublic void setRegistrantMemo(java.lang.String memo)
memo
- the memo made by the registrantpublic void setPurchaseLocation(java.lang.String location)
location
- the location where the item was purchased.public void setPartNumber(java.lang.String aPartNumber)
aPartNumber
- the part number of the itempublic void setPartAuxiliaryKey(java.lang.String key)
key
- the auxiliary key that identifies the item along with the part numberpublic void setGiftGiverAddress(GiftRegistryAddressVO address)
address
- the address of the gift giver who made the purchasepublic void setGiftRegistryExternalId(java.lang.String registryExternalId)
registryId
- the ID of the gift registry this record belongs topublic java.lang.Long getOrderItemId()
public void setOrderItemId(java.lang.Long anId)
anId
- the orderItemId to be set