com.amazonaws.a2s.model
Class SimilarProducts

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

public class SimilarProducts
extends java.lang.Object

Java class for anonymous complex type.

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

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

Thu Jan 10 05:27:59 PST 2008


Field Summary
protected  java.util.List<SimilarProduct> similarProduct
           
 
Constructor Summary
SimilarProducts()
           
 
Method Summary
 java.util.List<SimilarProduct> getSimilarProduct()
          Gets the value of the similarProduct property.
 boolean isSetSimilarProduct()
           
 void setSimilarProduct(java.util.List<SimilarProduct> similarProduct)
          Sets the value of the similarProduct property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetSimilarProduct()
           
 SimilarProducts withSimilarProduct(SimilarProduct... values)
          Sets the value of the SimilarProduct property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

similarProduct

protected java.util.List<SimilarProduct> similarProduct
Constructor Detail

SimilarProducts

public SimilarProducts()
Method Detail

getSimilarProduct

public java.util.List<SimilarProduct> getSimilarProduct()
Gets the value of the similarProduct 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 similarProduct property.

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

    getSimilarProduct().add(newItem);
 

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


isSetSimilarProduct

public boolean isSetSimilarProduct()

unsetSimilarProduct

public void unsetSimilarProduct()

withSimilarProduct

public SimilarProducts withSimilarProduct(SimilarProduct... values)
Sets the value of the SimilarProduct property.

Parameters:
values -
Returns:
this instance

setSimilarProduct

public void setSimilarProduct(java.util.List<SimilarProduct> similarProduct)
Sets the value of the similarProduct property.

Parameters:
similarProduct - allowed object is SimilarProduct

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