public class GiftRegistryVO extends BaseVO
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
Name of this class
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
GIFT_REGISTRY_ACCEPT_GIFT_CARD
Flag for accept gift card
|
static java.lang.String |
GIFT_REGISTRY_COREGISTRANT_PASSWORD
Co-registrant password
|
static java.lang.String |
GIFT_REGISTRY_CREATED_TIME
Gift registry creation time
|
static java.lang.String |
GIFT_REGISTRY_DESCRIPTION
Gift registry description
|
static java.lang.String |
GIFT_REGISTRY_EVENT_DATE
Gift registry event date
|
static java.lang.String |
GIFT_REGISTRY_EVENT_TYPE_ID
Gift registry event type ID
|
static java.lang.String |
GIFT_REGISTRY_EXTERNAL_ID
Gift registry external ID
|
static java.lang.String |
GIFT_REGISTRY_FIELD1
Gift registry customizable field 1
|
static java.lang.String |
GIFT_REGISTRY_FIELD2
Gift registry customizable field 2
|
static java.lang.String |
GIFT_REGISTRY_FIELD3
Gift registry customizable field 3
|
static java.lang.String |
GIFT_REGISTRY_FIELD4
Gift registry customizable field 4
|
static java.lang.String |
GIFT_REGISTRY_FIELD5
Gift registry customizable field 5
|
static java.lang.String |
GIFT_REGISTRY_GIFT_ITEMS
Gift Items
|
static java.lang.String |
GIFT_REGISTRY_GIFT_ITEMS_ARRAY
RegistrantsArray.
|
static java.lang.String |
GIFT_REGISTRY_GIFTREGISTRY_ID
Gift registry ID
|
static java.lang.String |
GIFT_REGISTRY_GUEST_ACCESS_KEY
Guest access key
|
static java.lang.String |
GIFT_REGISTRY_GUEST_OPTION
Option for guest user browsing of the gift registry
|
static java.lang.String |
GIFT_REGISTRY_GUEST_PASSWORD
Gift giver password of the gift registry
|
static java.lang.String |
GIFT_REGISTRY_LOCATION
Gift registry location
|
static java.lang.String |
GIFT_REGISTRY_MESSAGE_FOR_GUEST
Message for guest
|
static java.lang.String |
GIFT_REGISTRY_NAME
Name of the gift registry
|
static java.lang.String |
GIFT_REGISTRY_OPT_FOR_EMAIL
Option for email
|
static java.lang.String |
GIFT_REGISTRY_POST_EVENT_SHIPPING_ADDRESS
Post-event shipping address
|
static java.lang.String |
GIFT_REGISTRY_POST_EVENT_SHIPPING_PREFERENCE
Post-event shipping preference
|
static java.lang.String |
GIFT_REGISTRY_PRE_EVENT_SHIPPING_ADDRESS
Pre-event shipping address
|
static java.lang.String |
GIFT_REGISTRY_PRE_EVENT_SHIPPING_PREFERENCE
Pre-event shipping preference
|
static java.lang.String |
GIFT_REGISTRY_REGISTRANT_ACCESS_KEY
Registrant access key
|
static java.lang.String |
GIFT_REGISTRY_REGISTRANT_PASSWORD
Registrant password of the gift registry
|
static java.lang.String |
GIFT_REGISTRY_REGISTRANTS
Registrants
|
static java.lang.String |
GIFT_REGISTRY_REGISTRANTS_ARRAY
RegistrantsArray.
|
static java.lang.String |
GIFT_REGISTRY_STATUS
Gift registry status
|
static java.lang.String |
GIFT_REGISTRY_STORE_ID
Store ID
|
static java.lang.String |
GIFT_REGISTRY_TYPE
Registry type
|
static java.lang.String |
GIFT_REGISTRY_UPDATED_TIME
Last update time of the gift registry
|
VALUE_OBJECT_ID
Constructor and Description |
---|
GiftRegistryVO()
Default constructor
|
GiftRegistryVO(GiftRegistryVO vo)
Create a gift registry value object
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAcceptGiftCard() |
java.lang.String |
getCoRegistrantPassword()
Gets the co-registrant password of the gift registry
|
java.sql.Timestamp |
getCreatedTime()
Gets the creation time of the gift registry
|
java.lang.String |
getDescription()
Gets the gift registry description
|
java.sql.Date |
getEventDate()
Gets the event date of the gift registry
|
java.lang.Integer |
getEventTypeId()
Get the event type ID of the gift registry
|
java.lang.String |
getExternalId()
Gets the external ID of the gift registry
|
java.lang.Integer |
getField1()
Gets the value of the gift registry customizable field 1
|
java.lang.Integer |
getField2()
Gets the value of the gift registry customizable field 2
|
java.lang.String |
getField3()
Gets the value of the gift registry customizable field 3
|
java.lang.String |
getField4()
Gets the value of the gift registry customizable field 4
|
java.lang.String |
getField5()
Gets the value of the gift registry customizable field 5
|
java.util.List |
getGiftItems()
Gets the list gift items from the gift registry.
|
GiftRegistryItemVO |
getGiftItems(int index)
Retrieves an item from the item list at the given postion
|
GiftRegistryItemVO[] |
getGiftItemsArray() |
GiftRegistryItemVO |
getGiftItemsArray(int index) |
java.lang.Long |
getGiftRegistryId()
Gets the gift registry ID
|
java.lang.String |
getGuestAccessKey()
Gets the guest access key of the gift registry
|
java.lang.Integer |
getGuestOption()
Gets the value of guest option
|
java.lang.String |
getGuestPassword()
Gets the guest password of the gift registry
|
java.lang.Object |
getId()
Get the ID of the gift registry
|
java.lang.String |
getLocation()
Gets the purchase location of the gift registry
|
java.lang.String |
getMessageForGuest()
Gets the message for guess of the gift registry
|
java.lang.String |
getName()
Gets the registry name
|
java.lang.Integer |
getOptForEmail()
Gets the value of option for accept email about the gift registry
|
GiftRegistryAddressVO |
getPostEventShippingAddress()
Gets the post-event shipping address
|
java.lang.String |
getPostEventShippingPreference()
Gets the post-event shipping preference
|
GiftRegistryAddressVO |
getPreEventShippingAddress()
Gets the pre-event shipping address
|
java.lang.String |
getPreEventShippingPreference()
Gets the pre-event shipping preference
|
java.lang.String |
getRegistrantAccessKey()
Gets the registrant access key of the gift registry
|
java.lang.String |
getRegistrantPassword()
Gets the registrant password of the gift registry
|
java.util.List |
getRegistrants()
Gets the list of registrant from the gift registry
|
GiftRegistryRegistrantVO |
getRegistrants(int index)
Retrieves the registrant at the given index in the registrant list.
|
GiftRegistryRegistrantVO[] |
getRegistrantsArray() |
GiftRegistryRegistrantVO |
getRegistrantsArray(int index)
Gets the registrant in the give position of the registrant list
|
java.lang.Integer |
getStatus()
Gets the status of the gift registry
|
java.lang.Integer |
getStoreId()
Gets the store ID of the gift registry
|
java.lang.Integer |
getType()
Gets the registry type
|
java.sql.Timestamp |
getUpdatedTime()
Gets the last update time of the gift registry
|
boolean |
isNew()
Checks if a value object is newly created.
|
void |
setAcceptGiftCard(boolean choice)
Sets the value of the accept gift card option to specify accept gift card or not
|
void |
setAcceptGiftCard(java.lang.Integer choice)
Sets the value of the accept gift card option to specify accept gift card or not
|
void |
setCoRegistrantPassword(java.lang.String choice)
Sets the co-registrant password of the gift registry
|
void |
setCreatedTime(java.sql.Timestamp time)
Set the creation time for the gift registry
|
void |
setDescription(java.lang.String description)
Sets the gift registry description
|
void |
setEventDate(java.sql.Date eventDate)
Sets the event date for the gift registry
|
void |
setEventTypeId(java.lang.Integer anEventTypeId)
Set the event type ID for the gift registry
|
void |
setExternalId(java.lang.String id)
Sets the external ID of the gift registry.
|
void |
setField1(java.lang.Integer value)
Set the value of the gift registry customizable field 1
|
void |
setField2(java.lang.Integer value)
Set the value of the gift registry customizable field 2
|
void |
setField3(java.lang.String value)
Set the value of the gift registry customizable field 3
|
void |
setField4(java.lang.String value)
Set the value of the gift registry customizable field 4
|
void |
setField5(java.lang.String value)
Set the value of the gift registry customizable field 5
|
void |
setGiftItems(int index,
GiftRegistryItemVO item)
Sets an item to the indicated position in the gift item list.
|
void |
setGiftItems(java.util.List items)
Sets the gift items to the gift registry
|
void |
setGiftItemsArray(GiftRegistryItemVO[] items)
Sets the whole item list
|
void |
setGiftItemsArray(int index,
GiftRegistryItemVO item)
Sets an item
|
void |
setGiftRegistryId(java.lang.Long grId)
Set the gift registry ID
|
void |
setGuestAccessKey(java.lang.String value)
Sets the registrant access key of the gift registry
|
void |
setGuestOption(int option)
Set the value of guest option
|
void |
setGuestOption(java.lang.Integer option)
Set the value of guest option
|
void |
setGuestPassword(java.lang.String choice)
Sets the guest password of the gift registry
|
void |
setLocation(java.lang.String location)
sets the purchase location of the gift registry
|
void |
setMessageForGuest(java.lang.String message)
Sets the message for guess for the gift registry
|
void |
setName(java.lang.String name)
set the registry name
|
void |
setOptForEmail(java.lang.Integer option)
set the option for accept email about the gift registry
|
void |
setPostEventShippingAddress(GiftRegistryAddressVO addressVO)
Set the post-event shipping address of the gift registry
|
void |
setPostEventShippingPreference(java.lang.String preference)
Sets the post-event shipping preference
|
void |
setPreEventShippingAddress(GiftRegistryAddressVO addressVO)
Set the pre-event shipping address of the gift registry
|
void |
setPreEventShippingPreference(java.lang.String preference)
Sets the pre-event shipping preference
|
void |
setRegistrantAccessKey(java.lang.String value)
Sets the guest access key of the gift registry
|
void |
setRegistrantPassword(java.lang.String choice)
Sets the registrant password of the gift registry
|
void |
setRegistrants(int index,
GiftRegistryRegistrantVO registrant)
Set the registrant to registrant list
|
void |
setRegistrants(java.util.List registrants)
Sets the list of registrant to the gift registry
|
void |
setRegistrantsArray(GiftRegistryRegistrantVO[] registrants)
Sets the whole registrant list
|
void |
setRegistrantsArray(int index,
GiftRegistryRegistrantVO registrant)
Sets a registrant
|
void |
setStatus(java.lang.Integer status)
Sets the status of the gift registry
|
void |
setStoreId(java.lang.Integer aStoreId)
Set the store ID for the gift registry
|
void |
setType(java.lang.Integer type)
Sets the registry type
|
void |
setUpdatedTime(java.sql.Timestamp time)
Sets the last update time of the gift registry
|
equals, get, getContext, getDataMap, getDescriptor, getObjectKey, hashCode, isEmpty, set, toString
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public static final java.lang.String GIFT_REGISTRY_TYPE
public static final java.lang.String GIFT_REGISTRY_COREGISTRANT_PASSWORD
public static final java.lang.String GIFT_REGISTRY_REGISTRANT_ACCESS_KEY
public static final java.lang.String GIFT_REGISTRY_PRE_EVENT_SHIPPING_ADDRESS
public static final java.lang.String GIFT_REGISTRY_POST_EVENT_SHIPPING_ADDRESS
public static final java.lang.String GIFT_REGISTRY_GUEST_ACCESS_KEY
public static final java.lang.String GIFT_REGISTRY_FIELD1
public static final java.lang.String GIFT_REGISTRY_FIELD2
public static final java.lang.String GIFT_REGISTRY_FIELD3
public static final java.lang.String GIFT_REGISTRY_FIELD4
public static final java.lang.String GIFT_REGISTRY_FIELD5
public static final java.lang.String GIFT_REGISTRY_STATUS
public static final java.lang.String GIFT_REGISTRY_STORE_ID
public static final java.lang.String GIFT_REGISTRY_MESSAGE_FOR_GUEST
public static final java.lang.String GIFT_REGISTRY_OPT_FOR_EMAIL
public static final java.lang.String GIFT_REGISTRY_EVENT_DATE
public static final java.lang.String GIFT_REGISTRY_CREATED_TIME
public static final java.lang.String GIFT_REGISTRY_EVENT_TYPE_ID
public static final java.lang.String GIFT_REGISTRY_ACCEPT_GIFT_CARD
public static final java.lang.String GIFT_REGISTRY_GUEST_OPTION
public static final java.lang.String GIFT_REGISTRY_NAME
public static final java.lang.String GIFT_REGISTRY_EXTERNAL_ID
public static final java.lang.String GIFT_REGISTRY_DESCRIPTION
public static final java.lang.String GIFT_REGISTRY_REGISTRANTS
public static final java.lang.String GIFT_REGISTRY_REGISTRANTS_ARRAY
public static final java.lang.String GIFT_REGISTRY_GIFT_ITEMS_ARRAY
public static final java.lang.String GIFT_REGISTRY_GIFT_ITEMS
public static final java.lang.String GIFT_REGISTRY_REGISTRANT_PASSWORD
public static final java.lang.String GIFT_REGISTRY_GUEST_PASSWORD
public static final java.lang.String GIFT_REGISTRY_LOCATION
public static final java.lang.String GIFT_REGISTRY_GIFTREGISTRY_ID
public static final java.lang.String GIFT_REGISTRY_UPDATED_TIME
public static final java.lang.String GIFT_REGISTRY_PRE_EVENT_SHIPPING_PREFERENCE
public static final java.lang.String GIFT_REGISTRY_POST_EVENT_SHIPPING_PREFERENCE
public GiftRegistryVO()
public GiftRegistryVO(GiftRegistryVO vo)
vo
- public GiftRegistryRegistrantVO[] getRegistrantsArray()
public void setRegistrantsArray(int index, GiftRegistryRegistrantVO registrant)
index
- the index of the registrant in the registrant listregistrant
- the registrant to setpublic void setRegistrantsArray(GiftRegistryRegistrantVO[] registrants)
registrants
- the list of registrantspublic void setRegistrants(int index, GiftRegistryRegistrantVO registrant)
index
- the index in the registrant listregistrant
- the registrant to setpublic GiftRegistryRegistrantVO getRegistrants(int index)
index
- the index where the registrant ispublic GiftRegistryRegistrantVO getRegistrantsArray(int index)
index
- the index of the registrantpublic java.lang.Integer getAcceptGiftCard()
GIFT_REGISTRY_ACCEPT_GIFT_CARD
public void setAcceptGiftCard(java.lang.Integer choice)
choice
- public void setAcceptGiftCard(boolean choice)
choice
- public java.lang.Integer getGuestOption()
public void setGuestOption(java.lang.Integer option)
option
- public void setGuestOption(int option)
option
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.lang.Long getGiftRegistryId()
public void setGiftRegistryId(java.lang.Long grId)
giftRegistryId
- public java.lang.String getExternalId()
setExternalId(String)
public void setExternalId(java.lang.String id)
externalId
- public java.util.List getGiftItems()
public void setGiftItems(java.util.List items)
giftItems
- the items to setpublic void setGiftItems(int index, GiftRegistryItemVO item)
index
- the position where the item will be setitem
- the item that will be setpublic GiftRegistryItemVO getGiftItems(int index)
index
- the position of the item that is to be retrievednull
will be returnedpublic GiftRegistryItemVO[] getGiftItemsArray()
public void setGiftItemsArray(int index, GiftRegistryItemVO item)
index
- the index of the gift item in the item listitem
- the item to setpublic void setGiftItemsArray(GiftRegistryItemVO[] items)
items
- the list of itemspublic GiftRegistryItemVO getGiftItemsArray(int index)
index
- the position of the item in the item listpublic java.util.List getRegistrants()
public void setRegistrants(java.util.List registrants)
registrants
- public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- public void setEventTypeId(java.lang.Integer anEventTypeId)
eventTypeId
- public java.lang.Integer getEventTypeId()
public java.sql.Timestamp getCreatedTime()
public void setCreatedTime(java.sql.Timestamp time)
time
- public java.sql.Date getEventDate()
public void setEventDate(java.sql.Date eventDate)
eventDate
- public void setOptForEmail(java.lang.Integer option)
option
- public java.lang.Integer getOptForEmail()
public void setMessageForGuest(java.lang.String message)
message
- public java.lang.String getMessageForGuest()
public void setLocation(java.lang.String location)
location
- public java.lang.String getLocation()
public void setStoreId(java.lang.Integer aStoreId)
storeId
- public java.lang.Integer getStoreId()
public java.lang.Integer getStatus()
public void setStatus(java.lang.Integer status)
status
- public void setField1(java.lang.Integer value)
field1
- public java.lang.Integer getField1()
public void setField2(java.lang.Integer value)
field2
- public java.lang.Integer getField2()
public void setField3(java.lang.String value)
field3
- public java.lang.String getField3()
public void setField4(java.lang.String value)
field4
- public java.lang.String getField4()
public void setField5(java.lang.String value)
field5
- public java.lang.String getField5()
public java.lang.String getGuestAccessKey()
public void setRegistrantAccessKey(java.lang.String value)
guestAccessKey
- public java.lang.String getRegistrantAccessKey()
public void setGuestAccessKey(java.lang.String value)
registrantAccessKey
- public java.lang.String getRegistrantPassword()
public void setRegistrantPassword(java.lang.String choice)
registrantPassword
- public java.lang.String getCoRegistrantPassword()
public void setCoRegistrantPassword(java.lang.String choice)
coRegistrantPassword
- public java.lang.String getGuestPassword()
public void setGuestPassword(java.lang.String choice)
guestPassword
- public void setPreEventShippingAddress(GiftRegistryAddressVO addressVO)
addressVO
- public void setPostEventShippingAddress(GiftRegistryAddressVO addressVO)
addressVO
- public GiftRegistryAddressVO getPreEventShippingAddress()
public GiftRegistryAddressVO getPostEventShippingAddress()
public java.lang.Object getId()
public boolean isNew()
BaseVO
public java.lang.Integer getType()
public void setType(java.lang.Integer type)
type
- public java.sql.Timestamp getUpdatedTime()
public void setUpdatedTime(java.sql.Timestamp time)
updatedTime
- public void setPreEventShippingPreference(java.lang.String preference)
preEventShippingPreference
- public java.lang.String getPreEventShippingPreference()
public void setPostEventShippingPreference(java.lang.String preference)
postEventShippingPreference
- public java.lang.String getPostEventShippingPreference()