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.XmlRootElement; 18 import javax.xml.bind.annotation.XmlSchemaType; 19 import javax.xml.bind.annotation.XmlType; 20 21 22 /** 23 * <p>Java class for anonymous complex type. 24 * 25 * <p>The following schema fragment specifies the expected content contained within this class. 26 * 27 * <pre> 28 * <complexType> 29 * <complexContent> 30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 31 * <sequence> 32 * <element name="Feedback" maxOccurs="unbounded"> 33 * <complexType> 34 * <complexContent> 35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 36 * <sequence> 37 * <element name="Rating" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> 38 * <element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 39 * <element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 40 * <element name="RatedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 41 * </sequence> 42 * </restriction> 43 * </complexContent> 44 * </complexType> 45 * </element> 46 * </sequence> 47 * </restriction> 48 * </complexContent> 49 * </complexType> 50 * </pre> 51 * 52 * 53 */ 54 @XmlAccessorType(XmlAccessType.FIELD) 55 @XmlType(name = "", propOrder = { 56 "feedback" 57 }) 58 @XmlRootElement(name = "SellerFeedback") 59 public class SellerFeedback { 60 61 @XmlElement(name = "Feedback", required = true) 62 protected List<SellerFeedback.Feedback> feedback; 63 64 /** 65 * Gets the value of the feedback property. 66 * 67 * <p> 68 * This accessor method returns a reference to the live list, 69 * not a snapshot. Therefore any modification you make to the 70 * returned list will be present inside the JAXB object. 71 * This is why there is not a <CODE>set</CODE> method for the feedback property. 72 * 73 * <p> 74 * For example, to add a new item, do as follows: 75 * <pre> 76 * getFeedback().add(newItem); 77 * </pre> 78 * 79 * 80 * <p> 81 * Objects of the following type(s) are allowed in the list 82 * {@link SellerFeedback.Feedback } 83 * 84 * 85 */ 86 public List<SellerFeedback.Feedback> getFeedback() { 87 if (feedback == null) { 88 feedback = new ArrayList<SellerFeedback.Feedback>(); 89 } 90 return this.feedback; 91 } 92 93 94 /** 95 * <p>Java class for anonymous complex type. 96 * 97 * <p>The following schema fragment specifies the expected content contained within this class. 98 * 99 * <pre> 100 * <complexType> 101 * <complexContent> 102 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 103 * <sequence> 104 * <element name="Rating" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> 105 * <element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 106 * <element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 107 * <element name="RatedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 108 * </sequence> 109 * </restriction> 110 * </complexContent> 111 * </complexType> 112 * </pre> 113 * 114 * 115 */ 116 @XmlAccessorType(XmlAccessType.FIELD) 117 @XmlType(name = "", propOrder = { 118 "rating", 119 "comment", 120 "date", 121 "ratedBy" 122 }) 123 public static class Feedback { 124 125 @XmlElement(name = "Rating") 126 @XmlSchemaType(name = "nonNegativeInteger") 127 protected BigInteger rating; 128 @XmlElement(name = "Comment") 129 protected String comment; 130 @XmlElement(name = "Date") 131 protected String date; 132 @XmlElement(name = "RatedBy") 133 protected String ratedBy; 134 135 /** 136 * Gets the value of the rating property. 137 * 138 * @return 139 * possible object is 140 * {@link BigInteger } 141 * 142 */ 143 public BigInteger getRating() { 144 return rating; 145 } 146 147 /** 148 * Sets the value of the rating property. 149 * 150 * @param value 151 * allowed object is 152 * {@link BigInteger } 153 * 154 */ 155 public void setRating(BigInteger value) { 156 this.rating = value; 157 } 158 159 /** 160 * Gets the value of the comment property. 161 * 162 * @return 163 * possible object is 164 * {@link String } 165 * 166 */ 167 public String getComment() { 168 return comment; 169 } 170 171 /** 172 * Sets the value of the comment property. 173 * 174 * @param value 175 * allowed object is 176 * {@link String } 177 * 178 */ 179 public void setComment(String value) { 180 this.comment = value; 181 } 182 183 /** 184 * Gets the value of the date property. 185 * 186 * @return 187 * possible object is 188 * {@link String } 189 * 190 */ 191 public String getDate() { 192 return date; 193 } 194 195 /** 196 * Sets the value of the date property. 197 * 198 * @param value 199 * allowed object is 200 * {@link String } 201 * 202 */ 203 public void setDate(String value) { 204 this.date = value; 205 } 206 207 /** 208 * Gets the value of the ratedBy property. 209 * 210 * @return 211 * possible object is 212 * {@link String } 213 * 214 */ 215 public String getRatedBy() { 216 return ratedBy; 217 } 218 219 /** 220 * Sets the value of the ratedBy property. 221 * 222 * @param value 223 * allowed object is 224 * {@link String } 225 * 226 */ 227 public void setRatedBy(String value) { 228 this.ratedBy = value; 229 } 230 231 } 232 233 }