com.amazonaws.a2s.model
Class Variations

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

public class Variations
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="TotalVariations" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="TotalVariationPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}VariationDimensions" minOccurs="0"/>
         <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Item" 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<Item> item
           
protected  java.math.BigInteger totalVariationPages
           
protected  java.math.BigInteger totalVariations
           
protected  VariationDimensions variationDimensions
           
 
Constructor Summary
Variations()
           
 
Method Summary
 java.util.List<Item> getItem()
          Gets the value of the item property.
 java.math.BigInteger getTotalVariationPages()
          Gets the value of the totalVariationPages property.
 java.math.BigInteger getTotalVariations()
          Gets the value of the totalVariations property.
 VariationDimensions getVariationDimensions()
          Gets the value of the variationDimensions property.
 boolean isSetItem()
           
 boolean isSetTotalVariationPages()
           
 boolean isSetTotalVariations()
           
 boolean isSetVariationDimensions()
           
 void setItem(java.util.List<Item> item)
          Sets the value of the item property.
 void setTotalVariationPages(java.math.BigInteger value)
          Sets the value of the totalVariationPages property.
 void setTotalVariations(java.math.BigInteger value)
          Sets the value of the totalVariations property.
 void setVariationDimensions(VariationDimensions value)
          Sets the value of the variationDimensions property.
protected  java.lang.String toXMLFragment()
          XML fragment representation of this object
 void unsetItem()
           
 Variations withItem(Item... values)
          Sets the value of the Item property.
 Variations withTotalVariationPages(java.math.BigInteger value)
          Sets the value of the TotalVariationPages property.
 Variations withTotalVariations(java.math.BigInteger value)
          Sets the value of the TotalVariations property.
 Variations withVariationDimensions(VariationDimensions value)
          Sets the value of the VariationDimensions property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalVariations

protected java.math.BigInteger totalVariations

totalVariationPages

protected java.math.BigInteger totalVariationPages

variationDimensions

protected VariationDimensions variationDimensions

item

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

Variations

public Variations()
Method Detail

getTotalVariations

public java.math.BigInteger getTotalVariations()
Gets the value of the totalVariations property.

Returns:
possible object is BigInteger

setTotalVariations

public void setTotalVariations(java.math.BigInteger value)
Sets the value of the totalVariations property.

Parameters:
value - allowed object is BigInteger

isSetTotalVariations

public boolean isSetTotalVariations()

getTotalVariationPages

public java.math.BigInteger getTotalVariationPages()
Gets the value of the totalVariationPages property.

Returns:
possible object is BigInteger

setTotalVariationPages

public void setTotalVariationPages(java.math.BigInteger value)
Sets the value of the totalVariationPages property.

Parameters:
value - allowed object is BigInteger

isSetTotalVariationPages

public boolean isSetTotalVariationPages()

getVariationDimensions

public VariationDimensions getVariationDimensions()
Gets the value of the variationDimensions property.

Returns:
possible object is VariationDimensions

setVariationDimensions

public void setVariationDimensions(VariationDimensions value)
Sets the value of the variationDimensions property.

Parameters:
value - allowed object is VariationDimensions

isSetVariationDimensions

public boolean isSetVariationDimensions()

getItem

public java.util.List<Item> 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 Item


isSetItem

public boolean isSetItem()

unsetItem

public void unsetItem()

withTotalVariations

public Variations withTotalVariations(java.math.BigInteger value)
Sets the value of the TotalVariations property.

Parameters:
value -
Returns:
this instance

withTotalVariationPages

public Variations withTotalVariationPages(java.math.BigInteger value)
Sets the value of the TotalVariationPages property.

Parameters:
value -
Returns:
this instance

withVariationDimensions

public Variations withVariationDimensions(VariationDimensions value)
Sets the value of the VariationDimensions property.

Parameters:
value -
Returns:
this instance

withItem

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

Parameters:
values -
Returns:
this instance

setItem

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

Parameters:
item - allowed object is Item

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