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.XmlSchemaType; 18 import javax.xml.bind.annotation.XmlType; 19 20 21 /** 22 * <p>Java class for ListSearchRequest complex type. 23 * 24 * <p>The following schema fragment specifies the expected content contained within this class. 25 * 26 * <pre> 27 * <complexType name="ListSearchRequest"> 28 * <complexContent> 29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 30 * <sequence> 31 * <element name="City" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 32 * <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 33 * <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 34 * <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 35 * <element name="ListPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/> 36 * <element name="ListType"> 37 * <simpleType> 38 * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 39 * <enumeration value="WishList"/> 40 * <enumeration value="WeddingRegistry"/> 41 * <enumeration value="BabyRegistry"/> 42 * </restriction> 43 * </simpleType> 44 * </element> 45 * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 46 * <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 47 * <element name="State" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 48 * </sequence> 49 * </restriction> 50 * </complexContent> 51 * </complexType> 52 * </pre> 53 * 54 * 55 */ 56 @XmlAccessorType(XmlAccessType.FIELD) 57 @XmlType(name = "ListSearchRequest", propOrder = { 58 "city", 59 "email", 60 "firstName", 61 "lastName", 62 "listPage", 63 "listType", 64 "name", 65 "responseGroup", 66 "state" 67 }) 68 public class ListSearchRequest { 69 70 @XmlElement(name = "City") 71 protected String city; 72 @XmlElement(name = "Email") 73 protected String email; 74 @XmlElement(name = "FirstName") 75 protected String firstName; 76 @XmlElement(name = "LastName") 77 protected String lastName; 78 @XmlElement(name = "ListPage") 79 @XmlSchemaType(name = "positiveInteger") 80 protected BigInteger listPage; 81 @XmlElement(name = "ListType", required = true) 82 protected String listType; 83 @XmlElement(name = "Name") 84 protected String name; 85 @XmlElement(name = "ResponseGroup") 86 protected List<String> responseGroup; 87 @XmlElement(name = "State") 88 protected String state; 89 90 /** 91 * Gets the value of the city property. 92 * 93 * @return 94 * possible object is 95 * {@link String } 96 * 97 */ 98 public String getCity() { 99 return city; 100 } 101 102 /** 103 * Sets the value of the city property. 104 * 105 * @param value 106 * allowed object is 107 * {@link String } 108 * 109 */ 110 public void setCity(String value) { 111 this.city = value; 112 } 113 114 /** 115 * Gets the value of the email property. 116 * 117 * @return 118 * possible object is 119 * {@link String } 120 * 121 */ 122 public String getEmail() { 123 return email; 124 } 125 126 /** 127 * Sets the value of the email property. 128 * 129 * @param value 130 * allowed object is 131 * {@link String } 132 * 133 */ 134 public void setEmail(String value) { 135 this.email = value; 136 } 137 138 /** 139 * Gets the value of the firstName property. 140 * 141 * @return 142 * possible object is 143 * {@link String } 144 * 145 */ 146 public String getFirstName() { 147 return firstName; 148 } 149 150 /** 151 * Sets the value of the firstName property. 152 * 153 * @param value 154 * allowed object is 155 * {@link String } 156 * 157 */ 158 public void setFirstName(String value) { 159 this.firstName = value; 160 } 161 162 /** 163 * Gets the value of the lastName property. 164 * 165 * @return 166 * possible object is 167 * {@link String } 168 * 169 */ 170 public String getLastName() { 171 return lastName; 172 } 173 174 /** 175 * Sets the value of the lastName property. 176 * 177 * @param value 178 * allowed object is 179 * {@link String } 180 * 181 */ 182 public void setLastName(String value) { 183 this.lastName = value; 184 } 185 186 /** 187 * Gets the value of the listPage property. 188 * 189 * @return 190 * possible object is 191 * {@link BigInteger } 192 * 193 */ 194 public BigInteger getListPage() { 195 return listPage; 196 } 197 198 /** 199 * Sets the value of the listPage property. 200 * 201 * @param value 202 * allowed object is 203 * {@link BigInteger } 204 * 205 */ 206 public void setListPage(BigInteger value) { 207 this.listPage = value; 208 } 209 210 /** 211 * Gets the value of the listType property. 212 * 213 * @return 214 * possible object is 215 * {@link String } 216 * 217 */ 218 public String getListType() { 219 return listType; 220 } 221 222 /** 223 * Sets the value of the listType property. 224 * 225 * @param value 226 * allowed object is 227 * {@link String } 228 * 229 */ 230 public void setListType(String value) { 231 this.listType = value; 232 } 233 234 /** 235 * Gets the value of the name property. 236 * 237 * @return 238 * possible object is 239 * {@link String } 240 * 241 */ 242 public String getName() { 243 return name; 244 } 245 246 /** 247 * Sets the value of the name property. 248 * 249 * @param value 250 * allowed object is 251 * {@link String } 252 * 253 */ 254 public void setName(String value) { 255 this.name = value; 256 } 257 258 /** 259 * Gets the value of the responseGroup property. 260 * 261 * <p> 262 * This accessor method returns a reference to the live list, 263 * not a snapshot. Therefore any modification you make to the 264 * returned list will be present inside the JAXB object. 265 * This is why there is not a <CODE>set</CODE> method for the responseGroup property. 266 * 267 * <p> 268 * For example, to add a new item, do as follows: 269 * <pre> 270 * getResponseGroup().add(newItem); 271 * </pre> 272 * 273 * 274 * <p> 275 * Objects of the following type(s) are allowed in the list 276 * {@link String } 277 * 278 * 279 */ 280 public List<String> getResponseGroup() { 281 if (responseGroup == null) { 282 responseGroup = new ArrayList<String>(); 283 } 284 return this.responseGroup; 285 } 286 287 /** 288 * Gets the value of the state property. 289 * 290 * @return 291 * possible object is 292 * {@link String } 293 * 294 */ 295 public String getState() { 296 return state; 297 } 298 299 /** 300 * Sets the value of the state property. 301 * 302 * @param value 303 * allowed object is 304 * {@link String } 305 * 306 */ 307 public void setState(String value) { 308 this.state = value; 309 } 310 311 }