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.XmlType; 17 18 19 /** 20 * <p>Java class for SimilarityLookupRequest complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="SimilarityLookupRequest"> 26 * <complexContent> 27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 28 * <sequence> 29 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}Condition" minOccurs="0"/> 30 * <element ref="{http://webservices.amazon.com/AWSECommerceService/2007-04-04}DeliveryMethod" minOccurs="0"/> 31 * <element name="ItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 32 * <element name="ISPUPostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 33 * <element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 34 * <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 35 * <element name="ReviewSort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 36 * <element name="SimilarityType" minOccurs="0"> 37 * <simpleType> 38 * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> 39 * <enumeration value="Intersection"/> 40 * <enumeration value="Random"/> 41 * </restriction> 42 * </simpleType> 43 * </element> 44 * </sequence> 45 * </restriction> 46 * </complexContent> 47 * </complexType> 48 * </pre> 49 * 50 * 51 */ 52 @XmlAccessorType(XmlAccessType.FIELD) 53 @XmlType(name = "SimilarityLookupRequest", propOrder = { 54 "condition", 55 "deliveryMethod", 56 "itemId", 57 "ispuPostalCode", 58 "merchantId", 59 "responseGroup", 60 "reviewSort", 61 "similarityType" 62 }) 63 public class SimilarityLookupRequest { 64 65 @XmlElement(name = "Condition") 66 protected String condition; 67 @XmlElement(name = "DeliveryMethod") 68 protected String deliveryMethod; 69 @XmlElement(name = "ItemId") 70 protected List<String> itemId; 71 @XmlElement(name = "ISPUPostalCode") 72 protected String ispuPostalCode; 73 @XmlElement(name = "MerchantId") 74 protected String merchantId; 75 @XmlElement(name = "ResponseGroup") 76 protected List<String> responseGroup; 77 @XmlElement(name = "ReviewSort") 78 protected String reviewSort; 79 @XmlElement(name = "SimilarityType") 80 protected String similarityType; 81 82 /** 83 * Gets the value of the condition property. 84 * 85 * @return 86 * possible object is 87 * {@link String } 88 * 89 */ 90 public String getCondition() { 91 return condition; 92 } 93 94 /** 95 * Sets the value of the condition property. 96 * 97 * @param value 98 * allowed object is 99 * {@link String } 100 * 101 */ 102 public void setCondition(String value) { 103 this.condition = value; 104 } 105 106 /** 107 * Gets the value of the deliveryMethod property. 108 * 109 * @return 110 * possible object is 111 * {@link String } 112 * 113 */ 114 public String getDeliveryMethod() { 115 return deliveryMethod; 116 } 117 118 /** 119 * Sets the value of the deliveryMethod property. 120 * 121 * @param value 122 * allowed object is 123 * {@link String } 124 * 125 */ 126 public void setDeliveryMethod(String value) { 127 this.deliveryMethod = value; 128 } 129 130 /** 131 * Gets the value of the itemId property. 132 * 133 * <p> 134 * This accessor method returns a reference to the live list, 135 * not a snapshot. Therefore any modification you make to the 136 * returned list will be present inside the JAXB object. 137 * This is why there is not a <CODE>set</CODE> method for the itemId property. 138 * 139 * <p> 140 * For example, to add a new item, do as follows: 141 * <pre> 142 * getItemId().add(newItem); 143 * </pre> 144 * 145 * 146 * <p> 147 * Objects of the following type(s) are allowed in the list 148 * {@link String } 149 * 150 * 151 */ 152 public List<String> getItemId() { 153 if (itemId == null) { 154 itemId = new ArrayList<String>(); 155 } 156 return this.itemId; 157 } 158 159 /** 160 * Gets the value of the ispuPostalCode property. 161 * 162 * @return 163 * possible object is 164 * {@link String } 165 * 166 */ 167 public String getISPUPostalCode() { 168 return ispuPostalCode; 169 } 170 171 /** 172 * Sets the value of the ispuPostalCode property. 173 * 174 * @param value 175 * allowed object is 176 * {@link String } 177 * 178 */ 179 public void setISPUPostalCode(String value) { 180 this.ispuPostalCode = value; 181 } 182 183 /** 184 * Gets the value of the merchantId property. 185 * 186 * @return 187 * possible object is 188 * {@link String } 189 * 190 */ 191 public String getMerchantId() { 192 return merchantId; 193 } 194 195 /** 196 * Sets the value of the merchantId property. 197 * 198 * @param value 199 * allowed object is 200 * {@link String } 201 * 202 */ 203 public void setMerchantId(String value) { 204 this.merchantId = value; 205 } 206 207 /** 208 * Gets the value of the responseGroup property. 209 * 210 * <p> 211 * This accessor method returns a reference to the live list, 212 * not a snapshot. Therefore any modification you make to the 213 * returned list will be present inside the JAXB object. 214 * This is why there is not a <CODE>set</CODE> method for the responseGroup property. 215 * 216 * <p> 217 * For example, to add a new item, do as follows: 218 * <pre> 219 * getResponseGroup().add(newItem); 220 * </pre> 221 * 222 * 223 * <p> 224 * Objects of the following type(s) are allowed in the list 225 * {@link String } 226 * 227 * 228 */ 229 public List<String> getResponseGroup() { 230 if (responseGroup == null) { 231 responseGroup = new ArrayList<String>(); 232 } 233 return this.responseGroup; 234 } 235 236 /** 237 * Gets the value of the reviewSort property. 238 * 239 * @return 240 * possible object is 241 * {@link String } 242 * 243 */ 244 public String getReviewSort() { 245 return reviewSort; 246 } 247 248 /** 249 * Sets the value of the reviewSort property. 250 * 251 * @param value 252 * allowed object is 253 * {@link String } 254 * 255 */ 256 public void setReviewSort(String value) { 257 this.reviewSort = value; 258 } 259 260 /** 261 * Gets the value of the similarityType property. 262 * 263 * @return 264 * possible object is 265 * {@link String } 266 * 267 */ 268 public String getSimilarityType() { 269 return similarityType; 270 } 271 272 /** 273 * Sets the value of the similarityType property. 274 * 275 * @param value 276 * allowed object is 277 * {@link String } 278 * 279 */ 280 public void setSimilarityType(String value) { 281 this.similarityType = value; 282 } 283 284 }