public final class CSBasketContent extends CSItemContent
CSBasket
object.
set/get
methods within CSBasket
provide access to this content data and so there should
not typically be any need to explicitly use the set/get
methods supplied here.
CSBasket
,
Serialized FormConstructor and Description |
---|
CSBasketContent()
Creates an empty
CSBasketContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSBasketContent object is the same as that
contained within the one supplied. |
java.lang.String |
getBasketGroup()
Gets the group of the basket.
|
CSBasketItemMultiple |
getBasketItemMultiple()
Get the
CSBasketItemMultiple object containing the CSBasketItem objects associated with this
basket. |
java.lang.String |
getBasketName()
Gets the name of the basket.
|
java.util.Date |
getCreatedDate()
Gets the created date of the basket.
|
java.util.Date |
getLastUpdatedDate()
Gets the last updated date of the basket.
|
java.lang.String |
getUserData()
Gets the user data associated with the basket.
|
void |
setBasketGroup(java.lang.String strBasketGroup)
Sets the basket group.
|
void |
setBasketItemMultiple(CSBasketItemMultiple objBasketItemMultiple)
Set the
CSBasketItemMultiple object containing the CSBasketItem objects associated with this
basket. |
void |
setBasketName(java.lang.String strBasketName)
Sets the basket name.
|
void |
setCreatedDate(java.util.Date objCreatedDate)
Sets the created date of the basket.
|
void |
setLastUpdatedDate(java.util.Date objLastUpdatedDate)
Sets the last updated date of the basket.
|
void |
setUserData(java.lang.String strUserData)
Sets the user data associated with the basket.
|
void |
unset()
Clear all the content details of the
CSBasketContent object. |
clone, getID, setID, toString
public CSBasketContent()
CSBasketContent
object.public java.lang.String getBasketName()
public void setBasketName(java.lang.String strBasketName)
strBasketName
- the name of the basket.public java.lang.String getBasketGroup()
public void setBasketGroup(java.lang.String strBasketGroup)
strBasketGroup
- the group of the basket.public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date objCreatedDate)
objCreatedDate
- the basket's created date.public java.util.Date getLastUpdatedDate()
public void setLastUpdatedDate(java.util.Date objLastUpdatedDate)
objLastUpdatedDate
- the basket's last updated date.public java.lang.String getUserData()
public void setUserData(java.lang.String strUserData)
strUserData
- the basket's user data.public CSBasketItemMultiple getBasketItemMultiple()
CSBasketItemMultiple
object containing the CSBasketItem
objects associated with this
basket.
CSBasketItemMultiple
populated with CSBasketItem
objects which represent basket items
associated with this basket.public void setBasketItemMultiple(CSBasketItemMultiple objBasketItemMultiple)
CSBasketItemMultiple
object containing the CSBasketItem
objects associated with this
basket.
objBasketItemMultiple
- a CSBasketItemMultiple
object populated with CSBasketItem
objects each of which
represents a basket item associated with this basket.public void unset()
CSBasketContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSBasketContent
object is the same as that
contained within the one supplied. Note that the key data used for searching is not tested for equality.
equals
in class CSItemContent
obj
- the CSBasketContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.