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.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21 * <p>Java class for anonymous complex type.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.
24 *
25 * <pre>
26 * <complexType>
27 * <complexContent>
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <sequence>
30 * <element name="CustomerId" type="{http://www.w3.org/2001/XMLSchema}string"/>
31 * <element name="Nickname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
32 * <element name="Birthday" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33 * <element name="WishListId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34 * <element name="Location" minOccurs="0">
35 * <complexType>
36 * <complexContent>
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 * <sequence>
39 * <element name="UserDefinedLocation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40 * <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41 * <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
42 * <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
43 * </sequence>
44 * </restriction>
45 * </complexContent>
46 * </complexType>
47 * </element>
48 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}CustomerReviews" maxOccurs="unbounded" minOccurs="0"/>
49 * </sequence>
50 * </restriction>
51 * </complexContent>
52 * </complexType>
53 * </pre>
54 *
55 *
56 */
57 @XmlAccessorType(XmlAccessType.FIELD)
58 @XmlType(name = "", propOrder = {
59 "customerId",
60 "nickname",
61 "birthday",
62 "wishListId",
63 "location",
64 "customerReviews"
65 })
66 @XmlRootElement(name = "Customer")
67 public class Customer {
68
69 @XmlElement(name = "CustomerId", required = true)
70 protected String customerId;
71 @XmlElement(name = "Nickname")
72 protected String nickname;
73 @XmlElement(name = "Birthday")
74 protected String birthday;
75 @XmlElement(name = "WishListId")
76 protected String wishListId;
77 @XmlElement(name = "Location")
78 protected Customer.Location location;
79 @XmlElement(name = "CustomerReviews")
80 protected List<CustomerReviews> customerReviews;
81
82 /**
83 * Gets the value of the customerId property.
84 *
85 * @return
86 * possible object is
87 * {@link String }
88 *
89 */
90 public String getCustomerId() {
91 return customerId;
92 }
93
94 /**
95 * Sets the value of the customerId property.
96 *
97 * @param value
98 * allowed object is
99 * {@link String }
100 *
101 */
102 public void setCustomerId(String value) {
103 this.customerId = value;
104 }
105
106 /**
107 * Gets the value of the nickname property.
108 *
109 * @return
110 * possible object is
111 * {@link String }
112 *
113 */
114 public String getNickname() {
115 return nickname;
116 }
117
118 /**
119 * Sets the value of the nickname property.
120 *
121 * @param value
122 * allowed object is
123 * {@link String }
124 *
125 */
126 public void setNickname(String value) {
127 this.nickname = value;
128 }
129
130 /**
131 * Gets the value of the birthday property.
132 *
133 * @return
134 * possible object is
135 * {@link String }
136 *
137 */
138 public String getBirthday() {
139 return birthday;
140 }
141
142 /**
143 * Sets the value of the birthday property.
144 *
145 * @param value
146 * allowed object is
147 * {@link String }
148 *
149 */
150 public void setBirthday(String value) {
151 this.birthday = value;
152 }
153
154 /**
155 * Gets the value of the wishListId property.
156 *
157 * @return
158 * possible object is
159 * {@link String }
160 *
161 */
162 public String getWishListId() {
163 return wishListId;
164 }
165
166 /**
167 * Sets the value of the wishListId property.
168 *
169 * @param value
170 * allowed object is
171 * {@link String }
172 *
173 */
174 public void setWishListId(String value) {
175 this.wishListId = value;
176 }
177
178 /**
179 * Gets the value of the location property.
180 *
181 * @return
182 * possible object is
183 * {@link Customer.Location }
184 *
185 */
186 public Customer.Location getLocation() {
187 return location;
188 }
189
190 /**
191 * Sets the value of the location property.
192 *
193 * @param value
194 * allowed object is
195 * {@link Customer.Location }
196 *
197 */
198 public void setLocation(Customer.Location value) {
199 this.location = value;
200 }
201
202 /**
203 * Gets the value of the customerReviews property.
204 *
205 * <p>
206 * This accessor method returns a reference to the live list,
207 * not a snapshot. Therefore any modification you make to the
208 * returned list will be present inside the JAXB object.
209 * This is why there is not a <CODE>set</CODE> method for the customerReviews property.
210 *
211 * <p>
212 * For example, to add a new item, do as follows:
213 * <pre>
214 * getCustomerReviews().add(newItem);
215 * </pre>
216 *
217 *
218 * <p>
219 * Objects of the following type(s) are allowed in the list
220 * {@link CustomerReviews }
221 *
222 *
223 */
224 public List<CustomerReviews> getCustomerReviews() {
225 if (customerReviews == null) {
226 customerReviews = new ArrayList<CustomerReviews>();
227 }
228 return this.customerReviews;
229 }
230
231
232 /**
233 * <p>Java class for anonymous complex type.
234 *
235 * <p>The following schema fragment specifies the expected content contained within this class.
236 *
237 * <pre>
238 * <complexType>
239 * <complexContent>
240 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
241 * <sequence>
242 * <element name="UserDefinedLocation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
243 * <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
244 * <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
245 * <element name="Country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
246 * </sequence>
247 * </restriction>
248 * </complexContent>
249 * </complexType>
250 * </pre>
251 *
252 *
253 */
254 @XmlAccessorType(XmlAccessType.FIELD)
255 @XmlType(name = "", propOrder = {
256 "userDefinedLocation",
257 "city",
258 "state",
259 "country"
260 })
261 public static class Location {
262
263 @XmlElement(name = "UserDefinedLocation")
264 protected String userDefinedLocation;
265 @XmlElement(name = "City")
266 protected String city;
267 @XmlElement(name = "State")
268 protected String state;
269 @XmlElement(name = "Country")
270 protected String country;
271
272 /**
273 * Gets the value of the userDefinedLocation property.
274 *
275 * @return
276 * possible object is
277 * {@link String }
278 *
279 */
280 public String getUserDefinedLocation() {
281 return userDefinedLocation;
282 }
283
284 /**
285 * Sets the value of the userDefinedLocation property.
286 *
287 * @param value
288 * allowed object is
289 * {@link String }
290 *
291 */
292 public void setUserDefinedLocation(String value) {
293 this.userDefinedLocation = value;
294 }
295
296 /**
297 * Gets the value of the city property.
298 *
299 * @return
300 * possible object is
301 * {@link String }
302 *
303 */
304 public String getCity() {
305 return city;
306 }
307
308 /**
309 * Sets the value of the city property.
310 *
311 * @param value
312 * allowed object is
313 * {@link String }
314 *
315 */
316 public void setCity(String value) {
317 this.city = value;
318 }
319
320 /**
321 * Gets the value of the state property.
322 *
323 * @return
324 * possible object is
325 * {@link String }
326 *
327 */
328 public String getState() {
329 return state;
330 }
331
332 /**
333 * Sets the value of the state property.
334 *
335 * @param value
336 * allowed object is
337 * {@link String }
338 *
339 */
340 public void setState(String value) {
341 this.state = value;
342 }
343
344 /**
345 * Gets the value of the country property.
346 *
347 * @return
348 * possible object is
349 * {@link String }
350 *
351 */
352 public String getCountry() {
353 return country;
354 }
355
356 /**
357 * Sets the value of the country property.
358 *
359 * @param value
360 * allowed object is
361 * {@link String }
362 *
363 */
364 public void setCountry(String value) {
365 this.country = value;
366 }
367
368 }
369
370 }