com.amazonaws.a2s.model
Class CartAddItems

java.lang.Object
  extended by com.amazonaws.a2s.model.CartAddItems

public class CartAddItems
extends java.lang.Object

Java class for CartAddItems complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CartAddItems">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Item" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}CartAddItem" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
Generated by AWS Code Generator

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.util.List<CartAddItem> item
           
 
Constructor Summary
CartAddItems()
           
 
Method Summary
 java.util.List<CartAddItem> getItem()
          Gets the value of the item property.
 boolean isSetItem()
           
 void setItem(java.util.List<CartAddItem> item)
          Sets the value of the item property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetItem()
           
 CartAddItems withItem(CartAddItem... values)
          Sets the value of the Item property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected java.util.List<CartAddItem> item
Constructor Detail

CartAddItems

public CartAddItems()
Method Detail

getItem

public java.util.List<CartAddItem> getItem()
Gets the value of the item property.

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 item property.

For example, to add a new item, do as follows:

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list CartAddItem


isSetItem

public boolean isSetItem()

unsetItem

public void unsetItem()

withItem

public CartAddItems withItem(CartAddItem... values)
Sets the value of the Item property.

Parameters:
values -
Returns:
this instance

setItem

public void setItem(java.util.List<CartAddItem> item)
Sets the value of the item property.

Parameters:
item - allowed object is CartAddItem

toXMLFragment

protected java.lang.String toXMLFragment()
XML fragment representation of this object

Returns:
XML fragment for this object. Name for outer tag expected to be set by calling method. This fragment returns inner properties representation only