|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.alcs.connect.shoppingcart.data.CartItemsDto
public class CartItemsDto
Represents a collection of items in a shopping cart.
| Constructor Summary | |
|---|---|
CartItemsDto()
Empty constructor. |
|
CartItemsDto(java.util.List<? extends CartItem> privateCartItems)
Creates a CartItems object that contains a list of cart items, but first converts the given list of private cart item domain objects into public cart item objects. |
|
| Method Summary | |
|---|---|
java.util.List<CartItemDto> |
getCartItemList()
Gets the value of the cartItem property. |
boolean |
isSetCartItemList()
Determines whether the CartItem collection has been set. |
void |
setCartItemList(java.util.List<CartItemDto> cartItemList)
Sets the value of the cartItem property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CartItemsDto()
public CartItemsDto(java.util.List<? extends CartItem> privateCartItems)
privateCartItems - cart items that are part of the private domain| Method Detail |
|---|
public java.util.List<CartItemDto> getCartItemList()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the cartItem property.
For example, to add a new item, do as follows:
getCartItem().add(newItem);
Objects of the following type(s) are allowed in the list
CartItem
public void setCartItemList(java.util.List<CartItemDto> cartItemList)
cartItemList - Objects of the following type(s) are allowed in the list: CartItem public boolean isSetCartItemList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||