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