View Javadoc

1   /**
2    * JSpiff
3    * -----------------
4    * Copyright (c) 2005-2006 Emil A. Lefkof III
5    *
6    * I always give it my best shot to make a program useful and solid, but
7    * remeber that there is absolutely no warranty for using this program as
8    * stated in the following terms:
9    *
10   * Licensed under the Apache License, Version 2.0 (the "License");
11   * you may not use this file except in compliance with the License.
12   * You may obtain a copy of the License at
13   *
14   *     http://www.apache.org/licenses/LICENSE-2.0
15   *
16   * Unless required by applicable law or agreed to in writing, software
17   * distributed under the License is distributed on an "AS IS" BASIS,
18   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   * See the License for the specific language governing permissions and
20   * limitations under the License.
21   */
22  
23  
24  package com.melloware.jspiff.jaxb;
25  
26  import java.util.ArrayList;
27  import java.util.List;
28  import javax.xml.bind.annotation.XmlAccessType;
29  import javax.xml.bind.annotation.XmlAccessorType;
30  import javax.xml.bind.annotation.XmlAttribute;
31  import javax.xml.bind.annotation.XmlElement;
32  import javax.xml.bind.annotation.XmlType;
33  import javax.xml.datatype.XMLGregorianCalendar;
34  
35  
36  /**
37   * <p>Java class for PlaylistType complex type.
38   * 
39   * <p>The following schema fragment specifies the expected content contained within this class.
40   * 
41   * <pre>
42   * &lt;complexType name="PlaylistType">
43   *   &lt;complexContent>
44   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45   *       &lt;sequence>
46   *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47   *         &lt;element name="creator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
48   *         &lt;element name="annotation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
49   *         &lt;element name="info" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
50   *         &lt;element name="location" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
51   *         &lt;element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
52   *         &lt;element name="image" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
53   *         &lt;element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
54   *         &lt;element name="license" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
55   *         &lt;element name="attribution" type="{http://xspf.org/ns/0/}AttributionType" minOccurs="0"/>
56   *         &lt;element name="link" type="{http://xspf.org/ns/0/}LinkType" maxOccurs="unbounded" minOccurs="0"/>
57   *         &lt;element name="meta" type="{http://xspf.org/ns/0/}MetaType" maxOccurs="unbounded" minOccurs="0"/>
58   *         &lt;element name="extension" type="{http://xspf.org/ns/0/}ExtensionType" maxOccurs="unbounded" minOccurs="0"/>
59   *         &lt;element name="trackList" type="{http://xspf.org/ns/0/}TrackListType"/>
60   *       &lt;/sequence>
61   *       &lt;attribute name="version" use="required" type="{http://xspf.org/ns/0/}VersionType" />
62   *     &lt;/restriction>
63   *   &lt;/complexContent>
64   * &lt;/complexType>
65   * </pre>
66   * 
67   * 
68   */
69  @XmlAccessorType(XmlAccessType.FIELD)
70  @XmlType(name = "PlaylistType", propOrder = {
71      "title",
72      "creator",
73      "annotation",
74      "info",
75      "location",
76      "identifier",
77      "image",
78      "date",
79      "license",
80      "attribution",
81      "link",
82      "meta",
83      "extension",
84      "trackList"
85  })
86  public class PlaylistType {
87  
88      protected String title;
89      protected String creator;
90      protected String annotation;
91      protected String info;
92      protected String location;
93      protected String identifier;
94      protected String image;
95      protected XMLGregorianCalendar date;
96      protected String license;
97      protected AttributionType attribution;
98      protected List<LinkType> link;
99      protected List<MetaType> meta;
100     protected List<ExtensionType> extension;
101     @XmlElement(required = true)
102     protected TrackListType trackList;
103     @XmlAttribute(required = true)
104     protected String version;
105 
106     /**
107      * Gets the value of the title property.
108      * 
109      * @return
110      *     possible object is
111      *     {@link String }
112      *     
113      */
114     public String getTitle() {
115         return title;
116     }
117 
118     /**
119      * Sets the value of the title property.
120      * 
121      * @param value
122      *     allowed object is
123      *     {@link String }
124      *     
125      */
126     public void setTitle(String value) {
127         this.title = value;
128     }
129 
130     /**
131      * Gets the value of the creator property.
132      * 
133      * @return
134      *     possible object is
135      *     {@link String }
136      *     
137      */
138     public String getCreator() {
139         return creator;
140     }
141 
142     /**
143      * Sets the value of the creator property.
144      * 
145      * @param value
146      *     allowed object is
147      *     {@link String }
148      *     
149      */
150     public void setCreator(String value) {
151         this.creator = value;
152     }
153 
154     /**
155      * Gets the value of the annotation property.
156      * 
157      * @return
158      *     possible object is
159      *     {@link String }
160      *     
161      */
162     public String getAnnotation() {
163         return annotation;
164     }
165 
166     /**
167      * Sets the value of the annotation property.
168      * 
169      * @param value
170      *     allowed object is
171      *     {@link String }
172      *     
173      */
174     public void setAnnotation(String value) {
175         this.annotation = value;
176     }
177 
178     /**
179      * Gets the value of the info property.
180      * 
181      * @return
182      *     possible object is
183      *     {@link String }
184      *     
185      */
186     public String getInfo() {
187         return info;
188     }
189 
190     /**
191      * Sets the value of the info property.
192      * 
193      * @param value
194      *     allowed object is
195      *     {@link String }
196      *     
197      */
198     public void setInfo(String value) {
199         this.info = value;
200     }
201 
202     /**
203      * Gets the value of the location property.
204      * 
205      * @return
206      *     possible object is
207      *     {@link String }
208      *     
209      */
210     public String getLocation() {
211         return location;
212     }
213 
214     /**
215      * Sets the value of the location property.
216      * 
217      * @param value
218      *     allowed object is
219      *     {@link String }
220      *     
221      */
222     public void setLocation(String value) {
223         this.location = value;
224     }
225 
226     /**
227      * Gets the value of the identifier property.
228      * 
229      * @return
230      *     possible object is
231      *     {@link String }
232      *     
233      */
234     public String getIdentifier() {
235         return identifier;
236     }
237 
238     /**
239      * Sets the value of the identifier property.
240      * 
241      * @param value
242      *     allowed object is
243      *     {@link String }
244      *     
245      */
246     public void setIdentifier(String value) {
247         this.identifier = value;
248     }
249 
250     /**
251      * Gets the value of the image property.
252      * 
253      * @return
254      *     possible object is
255      *     {@link String }
256      *     
257      */
258     public String getImage() {
259         return image;
260     }
261 
262     /**
263      * Sets the value of the image property.
264      * 
265      * @param value
266      *     allowed object is
267      *     {@link String }
268      *     
269      */
270     public void setImage(String value) {
271         this.image = value;
272     }
273 
274     /**
275      * Gets the value of the date property.
276      * 
277      * @return
278      *     possible object is
279      *     {@link XMLGregorianCalendar }
280      *     
281      */
282     public XMLGregorianCalendar getDate() {
283         return date;
284     }
285 
286     /**
287      * Sets the value of the date property.
288      * 
289      * @param value
290      *     allowed object is
291      *     {@link XMLGregorianCalendar }
292      *     
293      */
294     public void setDate(XMLGregorianCalendar value) {
295         this.date = value;
296     }
297 
298     /**
299      * Gets the value of the license property.
300      * 
301      * @return
302      *     possible object is
303      *     {@link String }
304      *     
305      */
306     public String getLicense() {
307         return license;
308     }
309 
310     /**
311      * Sets the value of the license property.
312      * 
313      * @param value
314      *     allowed object is
315      *     {@link String }
316      *     
317      */
318     public void setLicense(String value) {
319         this.license = value;
320     }
321 
322     /**
323      * Gets the value of the attribution property.
324      * 
325      * @return
326      *     possible object is
327      *     {@link AttributionType }
328      *     
329      */
330     public AttributionType getAttribution() {
331         return attribution;
332     }
333 
334     /**
335      * Sets the value of the attribution property.
336      * 
337      * @param value
338      *     allowed object is
339      *     {@link AttributionType }
340      *     
341      */
342     public void setAttribution(AttributionType value) {
343         this.attribution = value;
344     }
345 
346     /**
347      * Gets the value of the link property.
348      * 
349      * <p>
350      * This accessor method returns a reference to the live list,
351      * not a snapshot. Therefore any modification you make to the
352      * returned list will be present inside the JAXB object.
353      * This is why there is not a <CODE>set</CODE> method for the link property.
354      * 
355      * <p>
356      * For example, to add a new item, do as follows:
357      * <pre>
358      *    getLink().add(newItem);
359      * </pre>
360      * 
361      * 
362      * <p>
363      * Objects of the following type(s) are allowed in the list
364      * {@link LinkType }
365      * 
366      * 
367      */
368     public List<LinkType> getLink() {
369         if (link == null) {
370             link = new ArrayList<LinkType>();
371         }
372         return this.link;
373     }
374 
375     /**
376      * Gets the value of the meta property.
377      * 
378      * <p>
379      * This accessor method returns a reference to the live list,
380      * not a snapshot. Therefore any modification you make to the
381      * returned list will be present inside the JAXB object.
382      * This is why there is not a <CODE>set</CODE> method for the meta property.
383      * 
384      * <p>
385      * For example, to add a new item, do as follows:
386      * <pre>
387      *    getMeta().add(newItem);
388      * </pre>
389      * 
390      * 
391      * <p>
392      * Objects of the following type(s) are allowed in the list
393      * {@link MetaType }
394      * 
395      * 
396      */
397     public List<MetaType> getMeta() {
398         if (meta == null) {
399             meta = new ArrayList<MetaType>();
400         }
401         return this.meta;
402     }
403 
404     /**
405      * Gets the value of the extension property.
406      * 
407      * <p>
408      * This accessor method returns a reference to the live list,
409      * not a snapshot. Therefore any modification you make to the
410      * returned list will be present inside the JAXB object.
411      * This is why there is not a <CODE>set</CODE> method for the extension property.
412      * 
413      * <p>
414      * For example, to add a new item, do as follows:
415      * <pre>
416      *    getExtension().add(newItem);
417      * </pre>
418      * 
419      * 
420      * <p>
421      * Objects of the following type(s) are allowed in the list
422      * {@link ExtensionType }
423      * 
424      * 
425      */
426     public List<ExtensionType> getExtension() {
427         if (extension == null) {
428             extension = new ArrayList<ExtensionType>();
429         }
430         return this.extension;
431     }
432 
433     /**
434      * Gets the value of the trackList property.
435      * 
436      * @return
437      *     possible object is
438      *     {@link TrackListType }
439      *     
440      */
441     public TrackListType getTrackList() {
442         return trackList;
443     }
444 
445     /**
446      * Sets the value of the trackList property.
447      * 
448      * @param value
449      *     allowed object is
450      *     {@link TrackListType }
451      *     
452      */
453     public void setTrackList(TrackListType value) {
454         this.trackList = value;
455     }
456 
457     /**
458      * Gets the value of the version property.
459      * 
460      * @return
461      *     possible object is
462      *     {@link String }
463      *     
464      */
465     public String getVersion() {
466         return version;
467     }
468 
469     /**
470      * Sets the value of the version property.
471      * 
472      * @param value
473      *     allowed object is
474      *     {@link String }
475      *     
476      */
477     public void setVersion(String value) {
478         this.version = value;
479     }
480 
481 }