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="SimilarProduct" maxOccurs="unbounded"> 31 * <complexType> 32 * <complexContent> 33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 34 * <sequence> 35 * <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 36 * <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 37 * </sequence> 38 * </restriction> 39 * </complexContent> 40 * </complexType> 41 * </element> 42 * </sequence> 43 * </restriction> 44 * </complexContent> 45 * </complexType> 46 * </pre> 47 * 48 * 49 */ 50 @XmlAccessorType(XmlAccessType.FIELD) 51 @XmlType(name = "", propOrder = { 52 "similarProduct" 53 }) 54 @XmlRootElement(name = "SimilarProducts") 55 public class SimilarProducts { 56 57 @XmlElement(name = "SimilarProduct", required = true) 58 protected List<SimilarProducts.SimilarProduct> similarProduct; 59 60 /** 61 * Gets the value of the similarProduct property. 62 * 63 * <p> 64 * This accessor method returns a reference to the live list, 65 * not a snapshot. Therefore any modification you make to the 66 * returned list will be present inside the JAXB object. 67 * This is why there is not a <CODE>set</CODE> method for the similarProduct property. 68 * 69 * <p> 70 * For example, to add a new item, do as follows: 71 * <pre> 72 * getSimilarProduct().add(newItem); 73 * </pre> 74 * 75 * 76 * <p> 77 * Objects of the following type(s) are allowed in the list 78 * {@link SimilarProducts.SimilarProduct } 79 * 80 * 81 */ 82 public List<SimilarProducts.SimilarProduct> getSimilarProduct() { 83 if (similarProduct == null) { 84 similarProduct = new ArrayList<SimilarProducts.SimilarProduct>(); 85 } 86 return this.similarProduct; 87 } 88 89 90 /** 91 * <p>Java class for anonymous complex type. 92 * 93 * <p>The following schema fragment specifies the expected content contained within this class. 94 * 95 * <pre> 96 * <complexType> 97 * <complexContent> 98 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 99 * <sequence> 100 * <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 101 * <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 102 * </sequence> 103 * </restriction> 104 * </complexContent> 105 * </complexType> 106 * </pre> 107 * 108 * 109 */ 110 @XmlAccessorType(XmlAccessType.FIELD) 111 @XmlType(name = "", propOrder = { 112 "asin", 113 "title" 114 }) 115 public static class SimilarProduct { 116 117 @XmlElement(name = "ASIN") 118 protected String asin; 119 @XmlElement(name = "Title") 120 protected String title; 121 122 /** 123 * Gets the value of the asin property. 124 * 125 * @return 126 * possible object is 127 * {@link String } 128 * 129 */ 130 public String getASIN() { 131 return asin; 132 } 133 134 /** 135 * Sets the value of the asin property. 136 * 137 * @param value 138 * allowed object is 139 * {@link String } 140 * 141 */ 142 public void setASIN(String value) { 143 this.asin = value; 144 } 145 146 /** 147 * Gets the value of the title property. 148 * 149 * @return 150 * possible object is 151 * {@link String } 152 * 153 */ 154 public String getTitle() { 155 return title; 156 } 157 158 /** 159 * Sets the value of the title property. 160 * 161 * @param value 162 * allowed object is 163 * {@link String } 164 * 165 */ 166 public void setTitle(String value) { 167 this.title = value; 168 } 169 170 } 171 172 }