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="SearchIndex" maxOccurs="unbounded">
33   *           &lt;complexType>
34   *             &lt;complexContent>
35   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *                 &lt;sequence>
37   *                   &lt;element name="IndexName" type="{http://www.w3.org/2001/XMLSchema}string"/>
38   *                   &lt;element name="Results" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
39   *                   &lt;element name="Pages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
40   *                   &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}CorrectedQuery" minOccurs="0"/>
41   *                   &lt;element name="RelevanceRank" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
42   *                   &lt;element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
43   *                 &lt;/sequence>
44   *               &lt;/restriction>
45   *             &lt;/complexContent>
46   *           &lt;/complexType>
47   *         &lt;/element>
48   *       &lt;/sequence>
49   *     &lt;/restriction>
50   *   &lt;/complexContent>
51   * &lt;/complexType>
52   * </pre>
53   * 
54   * 
55   */
56  @XmlAccessorType(XmlAccessType.FIELD)
57  @XmlType(name = "", propOrder = {
58      "searchIndex"
59  })
60  @XmlRootElement(name = "SearchResultsMap")
61  public class SearchResultsMap {
62  
63      @XmlElement(name = "SearchIndex", required = true)
64      protected List<SearchResultsMap.SearchIndex> searchIndex;
65  
66      /**
67       * Gets the value of the searchIndex property.
68       * 
69       * <p>
70       * This accessor method returns a reference to the live list,
71       * not a snapshot. Therefore any modification you make to the
72       * returned list will be present inside the JAXB object.
73       * This is why there is not a <CODE>set</CODE> method for the searchIndex property.
74       * 
75       * <p>
76       * For example, to add a new item, do as follows:
77       * <pre>
78       *    getSearchIndex().add(newItem);
79       * </pre>
80       * 
81       * 
82       * <p>
83       * Objects of the following type(s) are allowed in the list
84       * {@link SearchResultsMap.SearchIndex }
85       * 
86       * 
87       */
88      public List<SearchResultsMap.SearchIndex> getSearchIndex() {
89          if (searchIndex == null) {
90              searchIndex = new ArrayList<SearchResultsMap.SearchIndex>();
91          }
92          return this.searchIndex;
93      }
94  
95  
96      /**
97       * <p>Java class for anonymous complex type.
98       * 
99       * <p>The following schema fragment specifies the expected content contained within this class.
100      * 
101      * <pre>
102      * &lt;complexType>
103      *   &lt;complexContent>
104      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
105      *       &lt;sequence>
106      *         &lt;element name="IndexName" type="{http://www.w3.org/2001/XMLSchema}string"/>
107      *         &lt;element name="Results" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
108      *         &lt;element name="Pages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
109      *         &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}CorrectedQuery" minOccurs="0"/>
110      *         &lt;element name="RelevanceRank" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
111      *         &lt;element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
112      *       &lt;/sequence>
113      *     &lt;/restriction>
114      *   &lt;/complexContent>
115      * &lt;/complexType>
116      * </pre>
117      * 
118      * 
119      */
120     @XmlAccessorType(XmlAccessType.FIELD)
121     @XmlType(name = "", propOrder = {
122         "indexName",
123         "results",
124         "pages",
125         "correctedQuery",
126         "relevanceRank",
127         "asin"
128     })
129     public static class SearchIndex {
130 
131         @XmlElement(name = "IndexName", required = true)
132         protected String indexName;
133         @XmlElement(name = "Results")
134         @XmlSchemaType(name = "nonNegativeInteger")
135         protected BigInteger results;
136         @XmlElement(name = "Pages")
137         @XmlSchemaType(name = "nonNegativeInteger")
138         protected BigInteger pages;
139         @XmlElement(name = "CorrectedQuery")
140         protected CorrectedQuery correctedQuery;
141         @XmlElement(name = "RelevanceRank", required = true)
142         @XmlSchemaType(name = "positiveInteger")
143         protected BigInteger relevanceRank;
144         @XmlElement(name = "ASIN", required = true)
145         protected List<String> asin;
146 
147         /**
148          * Gets the value of the indexName property.
149          * 
150          * @return
151          *     possible object is
152          *     {@link String }
153          *     
154          */
155         public String getIndexName() {
156             return indexName;
157         }
158 
159         /**
160          * Sets the value of the indexName property.
161          * 
162          * @param value
163          *     allowed object is
164          *     {@link String }
165          *     
166          */
167         public void setIndexName(String value) {
168             this.indexName = value;
169         }
170 
171         /**
172          * Gets the value of the results property.
173          * 
174          * @return
175          *     possible object is
176          *     {@link BigInteger }
177          *     
178          */
179         public BigInteger getResults() {
180             return results;
181         }
182 
183         /**
184          * Sets the value of the results property.
185          * 
186          * @param value
187          *     allowed object is
188          *     {@link BigInteger }
189          *     
190          */
191         public void setResults(BigInteger value) {
192             this.results = value;
193         }
194 
195         /**
196          * Gets the value of the pages property.
197          * 
198          * @return
199          *     possible object is
200          *     {@link BigInteger }
201          *     
202          */
203         public BigInteger getPages() {
204             return pages;
205         }
206 
207         /**
208          * Sets the value of the pages property.
209          * 
210          * @param value
211          *     allowed object is
212          *     {@link BigInteger }
213          *     
214          */
215         public void setPages(BigInteger value) {
216             this.pages = value;
217         }
218 
219         /**
220          * Gets the value of the correctedQuery property.
221          * 
222          * @return
223          *     possible object is
224          *     {@link CorrectedQuery }
225          *     
226          */
227         public CorrectedQuery getCorrectedQuery() {
228             return correctedQuery;
229         }
230 
231         /**
232          * Sets the value of the correctedQuery property.
233          * 
234          * @param value
235          *     allowed object is
236          *     {@link CorrectedQuery }
237          *     
238          */
239         public void setCorrectedQuery(CorrectedQuery value) {
240             this.correctedQuery = value;
241         }
242 
243         /**
244          * Gets the value of the relevanceRank property.
245          * 
246          * @return
247          *     possible object is
248          *     {@link BigInteger }
249          *     
250          */
251         public BigInteger getRelevanceRank() {
252             return relevanceRank;
253         }
254 
255         /**
256          * Sets the value of the relevanceRank property.
257          * 
258          * @param value
259          *     allowed object is
260          *     {@link BigInteger }
261          *     
262          */
263         public void setRelevanceRank(BigInteger value) {
264             this.relevanceRank = value;
265         }
266 
267         /**
268          * Gets the value of the asin property.
269          * 
270          * <p>
271          * This accessor method returns a reference to the live list,
272          * not a snapshot. Therefore any modification you make to the
273          * returned list will be present inside the JAXB object.
274          * This is why there is not a <CODE>set</CODE> method for the asin property.
275          * 
276          * <p>
277          * For example, to add a new item, do as follows:
278          * <pre>
279          *    getASIN().add(newItem);
280          * </pre>
281          * 
282          * 
283          * <p>
284          * Objects of the following type(s) are allowed in the list
285          * {@link String }
286          * 
287          * 
288          */
289         public List<String> getASIN() {
290             if (asin == null) {
291                 asin = new ArrayList<String>();
292             }
293             return this.asin;
294         }
295 
296     }
297 
298 }