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 java.util.List;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import javax.xml.bind.annotation.XmlSchemaType;
20 import javax.xml.bind.annotation.XmlType;
21
22
23 /**
24 * <p>Java class for anonymous complex type.
25 *
26 * <p>The following schema fragment specifies the expected content contained within this class.
27 *
28 * <pre>
29 * <complexType>
30 * <complexContent>
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <sequence>
33 * <element name="AverageRating" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
34 * <element name="TotalReviews" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
35 * <element name="TotalReviewPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
36 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Review" maxOccurs="unbounded" minOccurs="0"/>
37 * </sequence>
38 * </restriction>
39 * </complexContent>
40 * </complexType>
41 * </pre>
42 *
43 *
44 */
45 @XmlAccessorType(XmlAccessType.FIELD)
46 @XmlType(name = "", propOrder = {
47 "averageRating",
48 "totalReviews",
49 "totalReviewPages",
50 "review"
51 })
52 @XmlRootElement(name = "CustomerReviews")
53 public class CustomerReviews {
54
55 @XmlElement(name = "AverageRating")
56 protected BigDecimal averageRating;
57 @XmlElement(name = "TotalReviews")
58 @XmlSchemaType(name = "nonNegativeInteger")
59 protected BigInteger totalReviews;
60 @XmlElement(name = "TotalReviewPages")
61 @XmlSchemaType(name = "nonNegativeInteger")
62 protected BigInteger totalReviewPages;
63 @XmlElement(name = "Review")
64 protected List<Review> review;
65
66 /**
67 * Gets the value of the averageRating property.
68 *
69 * @return
70 * possible object is
71 * {@link BigDecimal }
72 *
73 */
74 public BigDecimal getAverageRating() {
75 return averageRating;
76 }
77
78 /**
79 * Sets the value of the averageRating property.
80 *
81 * @param value
82 * allowed object is
83 * {@link BigDecimal }
84 *
85 */
86 public void setAverageRating(BigDecimal value) {
87 this.averageRating = value;
88 }
89
90 /**
91 * Gets the value of the totalReviews property.
92 *
93 * @return
94 * possible object is
95 * {@link BigInteger }
96 *
97 */
98 public BigInteger getTotalReviews() {
99 return totalReviews;
100 }
101
102 /**
103 * Sets the value of the totalReviews property.
104 *
105 * @param value
106 * allowed object is
107 * {@link BigInteger }
108 *
109 */
110 public void setTotalReviews(BigInteger value) {
111 this.totalReviews = value;
112 }
113
114 /**
115 * Gets the value of the totalReviewPages property.
116 *
117 * @return
118 * possible object is
119 * {@link BigInteger }
120 *
121 */
122 public BigInteger getTotalReviewPages() {
123 return totalReviewPages;
124 }
125
126 /**
127 * Sets the value of the totalReviewPages property.
128 *
129 * @param value
130 * allowed object is
131 * {@link BigInteger }
132 *
133 */
134 public void setTotalReviewPages(BigInteger value) {
135 this.totalReviewPages = value;
136 }
137
138 /**
139 * Gets the value of the review property.
140 *
141 * <p>
142 * This accessor method returns a reference to the live list,
143 * not a snapshot. Therefore any modification you make to the
144 * returned list will be present inside the JAXB object.
145 * This is why there is not a <CODE>set</CODE> method for the review property.
146 *
147 * <p>
148 * For example, to add a new item, do as follows:
149 * <pre>
150 * getReview().add(newItem);
151 * </pre>
152 *
153 *
154 * <p>
155 * Objects of the following type(s) are allowed in the list
156 * {@link Review }
157 *
158 *
159 */
160 public List<Review> getReview() {
161 if (review == null) {
162 review = new ArrayList<Review>();
163 }
164 return this.review;
165 }
166
167 }