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.BigDecimal;
12  import java.math.BigInteger;
13  import java.util.ArrayList;
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="ListId" type="{http://www.w3.org/2001/XMLSchema}string"/>
33   *         &lt;element name="ListURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34   *         &lt;element name="RegistryNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
35   *         &lt;element name="ListName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36   *         &lt;element name="ListType" minOccurs="0">
37   *           &lt;simpleType>
38   *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
39   *               &lt;enumeration value="WishList"/>
40   *               &lt;enumeration value="WeddingRegistry"/>
41   *               &lt;enumeration value="BabyRegistry"/>
42   *               &lt;enumeration value="Listmania"/>
43   *             &lt;/restriction>
44   *           &lt;/simpleType>
45   *         &lt;/element>
46   *         &lt;element name="TotalItems" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
47   *         &lt;element name="TotalPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
48   *         &lt;element name="DateCreated" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49   *         &lt;element name="OccasionDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
50   *         &lt;element name="CustomerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
51   *         &lt;element name="PartnerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
52   *         &lt;element name="AdditionalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
53   *         &lt;element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
54   *         &lt;element name="Image" type="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Image" minOccurs="0"/>
55   *         &lt;element name="AverageRating" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
56   *         &lt;element name="TotalVotes" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
57   *         &lt;element name="TotalTimesRead" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
58   *         &lt;element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}ListItem" maxOccurs="unbounded" minOccurs="0"/>
59   *       &lt;/sequence>
60   *     &lt;/restriction>
61   *   &lt;/complexContent>
62   * &lt;/complexType>
63   * </pre>
64   * 
65   * 
66   */
67  @XmlAccessorType(XmlAccessType.FIELD)
68  @XmlType(name = "", propOrder = {
69      "listId",
70      "listURL",
71      "registryNumber",
72      "listName",
73      "listType",
74      "totalItems",
75      "totalPages",
76      "dateCreated",
77      "occasionDate",
78      "customerName",
79      "partnerName",
80      "additionalName",
81      "comment",
82      "image",
83      "averageRating",
84      "totalVotes",
85      "totalTimesRead",
86      "listItem"
87  })
88  @XmlRootElement(name = "List")
89  public class List {
90  
91      @XmlElement(name = "ListId", required = true)
92      protected String listId;
93      @XmlElement(name = "ListURL")
94      protected String listURL;
95      @XmlElement(name = "RegistryNumber")
96      protected String registryNumber;
97      @XmlElement(name = "ListName")
98      protected String listName;
99      @XmlElement(name = "ListType")
100     protected String listType;
101     @XmlElement(name = "TotalItems")
102     @XmlSchemaType(name = "nonNegativeInteger")
103     protected BigInteger totalItems;
104     @XmlElement(name = "TotalPages")
105     @XmlSchemaType(name = "nonNegativeInteger")
106     protected BigInteger totalPages;
107     @XmlElement(name = "DateCreated")
108     protected String dateCreated;
109     @XmlElement(name = "OccasionDate")
110     protected String occasionDate;
111     @XmlElement(name = "CustomerName")
112     protected String customerName;
113     @XmlElement(name = "PartnerName")
114     protected String partnerName;
115     @XmlElement(name = "AdditionalName")
116     protected String additionalName;
117     @XmlElement(name = "Comment")
118     protected String comment;
119     @XmlElement(name = "Image")
120     protected Image image;
121     @XmlElement(name = "AverageRating")
122     protected BigDecimal averageRating;
123     @XmlElement(name = "TotalVotes")
124     @XmlSchemaType(name = "nonNegativeInteger")
125     protected BigInteger totalVotes;
126     @XmlElement(name = "TotalTimesRead")
127     @XmlSchemaType(name = "nonNegativeInteger")
128     protected BigInteger totalTimesRead;
129     @XmlElement(name = "ListItem")
130     protected java.util.List<ListItem> listItem;
131 
132     /**
133      * Gets the value of the listId property.
134      * 
135      * @return
136      *     possible object is
137      *     {@link String }
138      *     
139      */
140     public String getListId() {
141         return listId;
142     }
143 
144     /**
145      * Sets the value of the listId property.
146      * 
147      * @param value
148      *     allowed object is
149      *     {@link String }
150      *     
151      */
152     public void setListId(String value) {
153         this.listId = value;
154     }
155 
156     /**
157      * Gets the value of the listURL property.
158      * 
159      * @return
160      *     possible object is
161      *     {@link String }
162      *     
163      */
164     public String getListURL() {
165         return listURL;
166     }
167 
168     /**
169      * Sets the value of the listURL property.
170      * 
171      * @param value
172      *     allowed object is
173      *     {@link String }
174      *     
175      */
176     public void setListURL(String value) {
177         this.listURL = value;
178     }
179 
180     /**
181      * Gets the value of the registryNumber property.
182      * 
183      * @return
184      *     possible object is
185      *     {@link String }
186      *     
187      */
188     public String getRegistryNumber() {
189         return registryNumber;
190     }
191 
192     /**
193      * Sets the value of the registryNumber property.
194      * 
195      * @param value
196      *     allowed object is
197      *     {@link String }
198      *     
199      */
200     public void setRegistryNumber(String value) {
201         this.registryNumber = value;
202     }
203 
204     /**
205      * Gets the value of the listName property.
206      * 
207      * @return
208      *     possible object is
209      *     {@link String }
210      *     
211      */
212     public String getListName() {
213         return listName;
214     }
215 
216     /**
217      * Sets the value of the listName property.
218      * 
219      * @param value
220      *     allowed object is
221      *     {@link String }
222      *     
223      */
224     public void setListName(String value) {
225         this.listName = value;
226     }
227 
228     /**
229      * Gets the value of the listType property.
230      * 
231      * @return
232      *     possible object is
233      *     {@link String }
234      *     
235      */
236     public String getListType() {
237         return listType;
238     }
239 
240     /**
241      * Sets the value of the listType property.
242      * 
243      * @param value
244      *     allowed object is
245      *     {@link String }
246      *     
247      */
248     public void setListType(String value) {
249         this.listType = value;
250     }
251 
252     /**
253      * Gets the value of the totalItems property.
254      * 
255      * @return
256      *     possible object is
257      *     {@link BigInteger }
258      *     
259      */
260     public BigInteger getTotalItems() {
261         return totalItems;
262     }
263 
264     /**
265      * Sets the value of the totalItems property.
266      * 
267      * @param value
268      *     allowed object is
269      *     {@link BigInteger }
270      *     
271      */
272     public void setTotalItems(BigInteger value) {
273         this.totalItems = value;
274     }
275 
276     /**
277      * Gets the value of the totalPages property.
278      * 
279      * @return
280      *     possible object is
281      *     {@link BigInteger }
282      *     
283      */
284     public BigInteger getTotalPages() {
285         return totalPages;
286     }
287 
288     /**
289      * Sets the value of the totalPages property.
290      * 
291      * @param value
292      *     allowed object is
293      *     {@link BigInteger }
294      *     
295      */
296     public void setTotalPages(BigInteger value) {
297         this.totalPages = value;
298     }
299 
300     /**
301      * Gets the value of the dateCreated property.
302      * 
303      * @return
304      *     possible object is
305      *     {@link String }
306      *     
307      */
308     public String getDateCreated() {
309         return dateCreated;
310     }
311 
312     /**
313      * Sets the value of the dateCreated property.
314      * 
315      * @param value
316      *     allowed object is
317      *     {@link String }
318      *     
319      */
320     public void setDateCreated(String value) {
321         this.dateCreated = value;
322     }
323 
324     /**
325      * Gets the value of the occasionDate property.
326      * 
327      * @return
328      *     possible object is
329      *     {@link String }
330      *     
331      */
332     public String getOccasionDate() {
333         return occasionDate;
334     }
335 
336     /**
337      * Sets the value of the occasionDate property.
338      * 
339      * @param value
340      *     allowed object is
341      *     {@link String }
342      *     
343      */
344     public void setOccasionDate(String value) {
345         this.occasionDate = value;
346     }
347 
348     /**
349      * Gets the value of the customerName property.
350      * 
351      * @return
352      *     possible object is
353      *     {@link String }
354      *     
355      */
356     public String getCustomerName() {
357         return customerName;
358     }
359 
360     /**
361      * Sets the value of the customerName property.
362      * 
363      * @param value
364      *     allowed object is
365      *     {@link String }
366      *     
367      */
368     public void setCustomerName(String value) {
369         this.customerName = value;
370     }
371 
372     /**
373      * Gets the value of the partnerName property.
374      * 
375      * @return
376      *     possible object is
377      *     {@link String }
378      *     
379      */
380     public String getPartnerName() {
381         return partnerName;
382     }
383 
384     /**
385      * Sets the value of the partnerName property.
386      * 
387      * @param value
388      *     allowed object is
389      *     {@link String }
390      *     
391      */
392     public void setPartnerName(String value) {
393         this.partnerName = value;
394     }
395 
396     /**
397      * Gets the value of the additionalName property.
398      * 
399      * @return
400      *     possible object is
401      *     {@link String }
402      *     
403      */
404     public String getAdditionalName() {
405         return additionalName;
406     }
407 
408     /**
409      * Sets the value of the additionalName property.
410      * 
411      * @param value
412      *     allowed object is
413      *     {@link String }
414      *     
415      */
416     public void setAdditionalName(String value) {
417         this.additionalName = value;
418     }
419 
420     /**
421      * Gets the value of the comment property.
422      * 
423      * @return
424      *     possible object is
425      *     {@link String }
426      *     
427      */
428     public String getComment() {
429         return comment;
430     }
431 
432     /**
433      * Sets the value of the comment property.
434      * 
435      * @param value
436      *     allowed object is
437      *     {@link String }
438      *     
439      */
440     public void setComment(String value) {
441         this.comment = value;
442     }
443 
444     /**
445      * Gets the value of the image property.
446      * 
447      * @return
448      *     possible object is
449      *     {@link Image }
450      *     
451      */
452     public Image getImage() {
453         return image;
454     }
455 
456     /**
457      * Sets the value of the image property.
458      * 
459      * @param value
460      *     allowed object is
461      *     {@link Image }
462      *     
463      */
464     public void setImage(Image value) {
465         this.image = value;
466     }
467 
468     /**
469      * Gets the value of the averageRating property.
470      * 
471      * @return
472      *     possible object is
473      *     {@link BigDecimal }
474      *     
475      */
476     public BigDecimal getAverageRating() {
477         return averageRating;
478     }
479 
480     /**
481      * Sets the value of the averageRating property.
482      * 
483      * @param value
484      *     allowed object is
485      *     {@link BigDecimal }
486      *     
487      */
488     public void setAverageRating(BigDecimal value) {
489         this.averageRating = value;
490     }
491 
492     /**
493      * Gets the value of the totalVotes property.
494      * 
495      * @return
496      *     possible object is
497      *     {@link BigInteger }
498      *     
499      */
500     public BigInteger getTotalVotes() {
501         return totalVotes;
502     }
503 
504     /**
505      * Sets the value of the totalVotes property.
506      * 
507      * @param value
508      *     allowed object is
509      *     {@link BigInteger }
510      *     
511      */
512     public void setTotalVotes(BigInteger value) {
513         this.totalVotes = value;
514     }
515 
516     /**
517      * Gets the value of the totalTimesRead property.
518      * 
519      * @return
520      *     possible object is
521      *     {@link BigInteger }
522      *     
523      */
524     public BigInteger getTotalTimesRead() {
525         return totalTimesRead;
526     }
527 
528     /**
529      * Sets the value of the totalTimesRead property.
530      * 
531      * @param value
532      *     allowed object is
533      *     {@link BigInteger }
534      *     
535      */
536     public void setTotalTimesRead(BigInteger value) {
537         this.totalTimesRead = value;
538     }
539 
540     /**
541      * Gets the value of the listItem property.
542      * 
543      * <p>
544      * This accessor method returns a reference to the live list,
545      * not a snapshot. Therefore any modification you make to the
546      * returned list will be present inside the JAXB object.
547      * This is why there is not a <CODE>set</CODE> method for the listItem property.
548      * 
549      * <p>
550      * For example, to add a new item, do as follows:
551      * <pre>
552      *    getListItem().add(newItem);
553      * </pre>
554      * 
555      * 
556      * <p>
557      * Objects of the following type(s) are allowed in the list
558      * {@link ListItem }
559      * 
560      * 
561      */
562     public java.util.List<ListItem> getListItem() {
563         if (listItem == null) {
564             listItem = new ArrayList<ListItem>();
565         }
566         return this.listItem;
567     }
568 
569 }