View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2007.04.05 at 10:47:13 AM CEST 
6   //
7   
8   
9   package com.amazon.webservices.awsecommerceservice._2007_04_04;
10  
11  import java.math.BigInteger;
12  import java.util.ArrayList;
13  import java.util.List;
14  import javax.xml.bind.annotation.XmlAccessType;
15  import javax.xml.bind.annotation.XmlAccessorType;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlRootElement;
18  import javax.xml.bind.annotation.XmlSchemaType;
19  import javax.xml.bind.annotation.XmlType;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType>
29   *   &lt;complexContent>
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31   *       &lt;sequence>
32   *         &lt;element name="TotalVariations" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
33   *         &lt;element name="TotalVariationPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
34   *         &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}VariationDimensions" minOccurs="0"/>
35   *         &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Item" maxOccurs="unbounded" minOccurs="0"/>
36   *       &lt;/sequence>
37   *     &lt;/restriction>
38   *   &lt;/complexContent>
39   * &lt;/complexType>
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "", propOrder = {
46      "totalVariations",
47      "totalVariationPages",
48      "variationDimensions",
49      "item"
50  })
51  @XmlRootElement(name = "Variations")
52  public class Variations {
53  
54      @XmlElement(name = "TotalVariations")
55      @XmlSchemaType(name = "nonNegativeInteger")
56      protected BigInteger totalVariations;
57      @XmlElement(name = "TotalVariationPages")
58      @XmlSchemaType(name = "nonNegativeInteger")
59      protected BigInteger totalVariationPages;
60      @XmlElement(name = "VariationDimensions")
61      protected VariationDimensions variationDimensions;
62      @XmlElement(name = "Item")
63      protected List<Item> item;
64  
65      /**
66       * Gets the value of the totalVariations property.
67       * 
68       * @return
69       *     possible object is
70       *     {@link BigInteger }
71       *     
72       */
73      public BigInteger getTotalVariations() {
74          return totalVariations;
75      }
76  
77      /**
78       * Sets the value of the totalVariations property.
79       * 
80       * @param value
81       *     allowed object is
82       *     {@link BigInteger }
83       *     
84       */
85      public void setTotalVariations(BigInteger value) {
86          this.totalVariations = value;
87      }
88  
89      /**
90       * Gets the value of the totalVariationPages property.
91       * 
92       * @return
93       *     possible object is
94       *     {@link BigInteger }
95       *     
96       */
97      public BigInteger getTotalVariationPages() {
98          return totalVariationPages;
99      }
100 
101     /**
102      * Sets the value of the totalVariationPages property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link BigInteger }
107      *     
108      */
109     public void setTotalVariationPages(BigInteger value) {
110         this.totalVariationPages = value;
111     }
112 
113     /**
114      * Gets the value of the variationDimensions property.
115      * 
116      * @return
117      *     possible object is
118      *     {@link VariationDimensions }
119      *     
120      */
121     public VariationDimensions getVariationDimensions() {
122         return variationDimensions;
123     }
124 
125     /**
126      * Sets the value of the variationDimensions property.
127      * 
128      * @param value
129      *     allowed object is
130      *     {@link VariationDimensions }
131      *     
132      */
133     public void setVariationDimensions(VariationDimensions value) {
134         this.variationDimensions = value;
135     }
136 
137     /**
138      * Gets the value of the item property.
139      * 
140      * <p>
141      * This accessor method returns a reference to the live list,
142      * not a snapshot. Therefore any modification you make to the
143      * returned list will be present inside the JAXB object.
144      * This is why there is not a <CODE>set</CODE> method for the item property.
145      * 
146      * <p>
147      * For example, to add a new item, do as follows:
148      * <pre>
149      *    getItem().add(newItem);
150      * </pre>
151      * 
152      * 
153      * <p>
154      * Objects of the following type(s) are allowed in the list
155      * {@link Item }
156      * 
157      * 
158      */
159     public List<Item> getItem() {
160         if (item == null) {
161             item = new ArrayList<Item>();
162         }
163         return this.item;
164     }
165 
166 }