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 * <complexType>
29 * <complexContent>
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <sequence>
32 * <element name="TotalOffers" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
33 * <element name="TotalOfferPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
34 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Offer" maxOccurs="unbounded" minOccurs="0"/>
35 * </sequence>
36 * </restriction>
37 * </complexContent>
38 * </complexType>
39 * </pre>
40 *
41 *
42 */
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "", propOrder = {
45 "totalOffers",
46 "totalOfferPages",
47 "offer"
48 })
49 @XmlRootElement(name = "Offers")
50 public class Offers {
51
52 @XmlElement(name = "TotalOffers")
53 @XmlSchemaType(name = "nonNegativeInteger")
54 protected BigInteger totalOffers;
55 @XmlElement(name = "TotalOfferPages")
56 @XmlSchemaType(name = "nonNegativeInteger")
57 protected BigInteger totalOfferPages;
58 @XmlElement(name = "Offer")
59 protected List<Offer> offer;
60
61 /**
62 * Gets the value of the totalOffers property.
63 *
64 * @return
65 * possible object is
66 * {@link BigInteger }
67 *
68 */
69 public BigInteger getTotalOffers() {
70 return totalOffers;
71 }
72
73 /**
74 * Sets the value of the totalOffers property.
75 *
76 * @param value
77 * allowed object is
78 * {@link BigInteger }
79 *
80 */
81 public void setTotalOffers(BigInteger value) {
82 this.totalOffers = value;
83 }
84
85 /**
86 * Gets the value of the totalOfferPages property.
87 *
88 * @return
89 * possible object is
90 * {@link BigInteger }
91 *
92 */
93 public BigInteger getTotalOfferPages() {
94 return totalOfferPages;
95 }
96
97 /**
98 * Sets the value of the totalOfferPages property.
99 *
100 * @param value
101 * allowed object is
102 * {@link BigInteger }
103 *
104 */
105 public void setTotalOfferPages(BigInteger value) {
106 this.totalOfferPages = value;
107 }
108
109 /**
110 * Gets the value of the offer property.
111 *
112 * <p>
113 * This accessor method returns a reference to the live list,
114 * not a snapshot. Therefore any modification you make to the
115 * returned list will be present inside the JAXB object.
116 * This is why there is not a <CODE>set</CODE> method for the offer property.
117 *
118 * <p>
119 * For example, to add a new item, do as follows:
120 * <pre>
121 * getOffer().add(newItem);
122 * </pre>
123 *
124 *
125 * <p>
126 * Objects of the following type(s) are allowed in the list
127 * {@link Offer }
128 *
129 *
130 */
131 public List<Offer> getOffer() {
132 if (offer == null) {
133 offer = new ArrayList<Offer>();
134 }
135 return this.offer;
136 }
137
138 }