1
2 package org.apache.chemistry.opencmis.commons.impl.jaxb;
3
4 import java.util.ArrayList;
5 import java.util.List;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlRootElement;
9 import javax.xml.bind.annotation.XmlType;
10
11
12 /**
13 * <p>Java class for anonymous complex type.
14 *
15 * <p>The following schema fragment specifies the expected content contained within this class.
16 *
17 * <pre>
18 * <complexType>
19 * <complexContent>
20 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21 * <sequence>
22 * <element name="renditions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRenditionType" maxOccurs="unbounded" minOccurs="0"/>
23 * </sequence>
24 * </restriction>
25 * </complexContent>
26 * </complexType>
27 * </pre>
28 *
29 *
30 */
31 @XmlAccessorType(XmlAccessType.FIELD)
32 @XmlType(name = "", propOrder = {
33 "renditions"
34 })
35 @XmlRootElement(name = "getRenditionsResponse")
36 public class GetRenditionsResponse {
37
38 protected List<CmisRenditionType> renditions;
39
40 /**
41 * Gets the value of the renditions property.
42 *
43 * <p>
44 * This accessor method returns a reference to the live list,
45 * not a snapshot. Therefore any modification you make to the
46 * returned list will be present inside the JAXB object.
47 * This is why there is not a <CODE>set</CODE> method for the renditions property.
48 *
49 * <p>
50 * For example, to add a new item, do as follows:
51 * <pre>
52 * getRenditions().add(newItem);
53 * </pre>
54 *
55 *
56 * <p>
57 * Objects of the following type(s) are allowed in the list
58 * {@link CmisRenditionType }
59 *
60 *
61 */
62 public List<CmisRenditionType> getRenditions() {
63 if (renditions == null) {
64 renditions = new ArrayList<CmisRenditionType>();
65 }
66 return this.renditions;
67 }
68
69 }