View Javadoc

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   * &lt;complexType>
29   *   &lt;complexContent>
30   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31   *       &lt;sequence>
32   *         &lt;element name="Feedback" maxOccurs="unbounded">
33   *           &lt;complexType>
34   *             &lt;complexContent>
35   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36   *                 &lt;sequence>
37   *                   &lt;element name="Rating" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
38   *                   &lt;element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39   *                   &lt;element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
40   *                   &lt;element name="RatedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41   *                 &lt;/sequence>
42   *               &lt;/restriction>
43   *             &lt;/complexContent>
44   *           &lt;/complexType>
45   *         &lt;/element>
46   *       &lt;/sequence>
47   *     &lt;/restriction>
48   *   &lt;/complexContent>
49   * &lt;/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      * &lt;complexType>
101      *   &lt;complexContent>
102      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
103      *       &lt;sequence>
104      *         &lt;element name="Rating" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
105      *         &lt;element name="Comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
106      *         &lt;element name="Date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
107      *         &lt;element name="RatedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
108      *       &lt;/sequence>
109      *     &lt;/restriction>
110      *   &lt;/complexContent>
111      * &lt;/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 }