com.amazonaws.a2s.model
Class CartItemMetaData

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

public class CartItemMetaData
extends java.lang.Object

Java class for CartItemMetaData complex type.

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

 <complexType name="CartItemMetaData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="KeyValuePair" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}MetaData" 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<MetaData> keyValuePair
           
 
Constructor Summary
CartItemMetaData()
           
 
Method Summary
 java.util.List<MetaData> getKeyValuePair()
          Gets the value of the keyValuePair property.
 boolean isSetKeyValuePair()
           
 void setKeyValuePair(java.util.List<MetaData> keyValuePair)
          Sets the value of the keyValuePair property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetKeyValuePair()
           
 CartItemMetaData withKeyValuePair(MetaData... values)
          Sets the value of the KeyValuePair property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyValuePair

protected java.util.List<MetaData> keyValuePair
Constructor Detail

CartItemMetaData

public CartItemMetaData()
Method Detail

getKeyValuePair

public java.util.List<MetaData> getKeyValuePair()
Gets the value of the keyValuePair 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 keyValuePair property.

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

    getKeyValuePair().add(newItem);
 

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


isSetKeyValuePair

public boolean isSetKeyValuePair()

unsetKeyValuePair

public void unsetKeyValuePair()

withKeyValuePair

public CartItemMetaData withKeyValuePair(MetaData... values)
Sets the value of the KeyValuePair property.

Parameters:
values -
Returns:
this instance

setKeyValuePair

public void setKeyValuePair(java.util.List<MetaData> keyValuePair)
Sets the value of the keyValuePair property.

Parameters:
keyValuePair - allowed object is MetaData

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