This project has retired. For details please refer to its Attic page.
CreateFolder xref

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