1
2 package org.apache.chemistry.opencmis.commons.impl.jaxb;
3
4 import java.util.ArrayList;
5 import java.util.HashMap;
6 import java.util.List;
7 import java.util.Map;
8 import javax.xml.bind.annotation.XmlAccessType;
9 import javax.xml.bind.annotation.XmlAccessorType;
10 import javax.xml.bind.annotation.XmlAnyAttribute;
11 import javax.xml.bind.annotation.XmlAnyElement;
12 import javax.xml.bind.annotation.XmlElement;
13 import javax.xml.bind.annotation.XmlType;
14 import javax.xml.namespace.QName;
15 import org.w3c.dom.Element;
16
17
18 /**
19 * <p>Java class for cmisRepositoryCapabilitiesType complex type.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <complexType name="cmisRepositoryCapabilitiesType">
25 * <complexContent>
26 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27 * <sequence>
28 * <element name="capabilityACL" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityACL"/>
29 * <element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
30 * <element name="capabilityChanges" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityChanges"/>
31 * <element name="capabilityContentStreamUpdatability" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityContentStreamUpdates"/>
32 * <element name="capabilityGetDescendants" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
33 * <element name="capabilityGetFolderTree" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
34 * <element name="capabilityMultifiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
35 * <element name="capabilityPWCSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
36 * <element name="capabilityPWCUpdatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
37 * <element name="capabilityQuery" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityQuery"/>
38 * <element name="capabilityRenditions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityRendition"/>
39 * <element name="capabilityUnfiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
40 * <element name="capabilityVersionSpecificFiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
41 * <element name="capabilityJoin" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityJoin"/>
42 * <any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
43 * </sequence>
44 * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
45 * <anyAttribute processContents='lax' namespace='##other'/>
46 * </restriction>
47 * </complexContent>
48 * </complexType>
49 * </pre>
50 *
51 *
52 */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "cmisRepositoryCapabilitiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
55 "capabilityACL",
56 "capabilityAllVersionsSearchable",
57 "capabilityChanges",
58 "capabilityContentStreamUpdatability",
59 "capabilityGetDescendants",
60 "capabilityGetFolderTree",
61 "capabilityMultifiling",
62 "capabilityPWCSearchable",
63 "capabilityPWCUpdatable",
64 "capabilityQuery",
65 "capabilityRenditions",
66 "capabilityUnfiling",
67 "capabilityVersionSpecificFiling",
68 "capabilityJoin",
69 "any"
70 })
71 public class CmisRepositoryCapabilitiesType {
72
73 @XmlElement(required = true)
74 protected EnumCapabilityACL capabilityACL;
75 protected boolean capabilityAllVersionsSearchable;
76 @XmlElement(required = true)
77 protected EnumCapabilityChanges capabilityChanges;
78 @XmlElement(required = true)
79 protected EnumCapabilityContentStreamUpdates capabilityContentStreamUpdatability;
80 protected boolean capabilityGetDescendants;
81 protected boolean capabilityGetFolderTree;
82 protected boolean capabilityMultifiling;
83 protected boolean capabilityPWCSearchable;
84 protected boolean capabilityPWCUpdatable;
85 @XmlElement(required = true)
86 protected EnumCapabilityQuery capabilityQuery;
87 @XmlElement(required = true)
88 protected EnumCapabilityRendition capabilityRenditions;
89 protected boolean capabilityUnfiling;
90 protected boolean capabilityVersionSpecificFiling;
91 @XmlElement(required = true)
92 protected EnumCapabilityJoin capabilityJoin;
93 @XmlAnyElement
94 protected List<Element> any;
95 @XmlAnyAttribute
96 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
97
98 /**
99 * Gets the value of the capabilityACL property.
100 *
101 * @return
102 * possible object is
103 * {@link EnumCapabilityACL }
104 *
105 */
106 public EnumCapabilityACL getCapabilityACL() {
107 return capabilityACL;
108 }
109
110 /**
111 * Sets the value of the capabilityACL property.
112 *
113 * @param value
114 * allowed object is
115 * {@link EnumCapabilityACL }
116 *
117 */
118 public void setCapabilityACL(EnumCapabilityACL value) {
119 this.capabilityACL = value;
120 }
121
122 /**
123 * Gets the value of the capabilityAllVersionsSearchable property.
124 *
125 */
126 public boolean isCapabilityAllVersionsSearchable() {
127 return capabilityAllVersionsSearchable;
128 }
129
130 /**
131 * Sets the value of the capabilityAllVersionsSearchable property.
132 *
133 */
134 public void setCapabilityAllVersionsSearchable(boolean value) {
135 this.capabilityAllVersionsSearchable = value;
136 }
137
138 /**
139 * Gets the value of the capabilityChanges property.
140 *
141 * @return
142 * possible object is
143 * {@link EnumCapabilityChanges }
144 *
145 */
146 public EnumCapabilityChanges getCapabilityChanges() {
147 return capabilityChanges;
148 }
149
150 /**
151 * Sets the value of the capabilityChanges property.
152 *
153 * @param value
154 * allowed object is
155 * {@link EnumCapabilityChanges }
156 *
157 */
158 public void setCapabilityChanges(EnumCapabilityChanges value) {
159 this.capabilityChanges = value;
160 }
161
162 /**
163 * Gets the value of the capabilityContentStreamUpdatability property.
164 *
165 * @return
166 * possible object is
167 * {@link EnumCapabilityContentStreamUpdates }
168 *
169 */
170 public EnumCapabilityContentStreamUpdates getCapabilityContentStreamUpdatability() {
171 return capabilityContentStreamUpdatability;
172 }
173
174 /**
175 * Sets the value of the capabilityContentStreamUpdatability property.
176 *
177 * @param value
178 * allowed object is
179 * {@link EnumCapabilityContentStreamUpdates }
180 *
181 */
182 public void setCapabilityContentStreamUpdatability(EnumCapabilityContentStreamUpdates value) {
183 this.capabilityContentStreamUpdatability = value;
184 }
185
186 /**
187 * Gets the value of the capabilityGetDescendants property.
188 *
189 */
190 public boolean isCapabilityGetDescendants() {
191 return capabilityGetDescendants;
192 }
193
194 /**
195 * Sets the value of the capabilityGetDescendants property.
196 *
197 */
198 public void setCapabilityGetDescendants(boolean value) {
199 this.capabilityGetDescendants = value;
200 }
201
202 /**
203 * Gets the value of the capabilityGetFolderTree property.
204 *
205 */
206 public boolean isCapabilityGetFolderTree() {
207 return capabilityGetFolderTree;
208 }
209
210 /**
211 * Sets the value of the capabilityGetFolderTree property.
212 *
213 */
214 public void setCapabilityGetFolderTree(boolean value) {
215 this.capabilityGetFolderTree = value;
216 }
217
218 /**
219 * Gets the value of the capabilityMultifiling property.
220 *
221 */
222 public boolean isCapabilityMultifiling() {
223 return capabilityMultifiling;
224 }
225
226 /**
227 * Sets the value of the capabilityMultifiling property.
228 *
229 */
230 public void setCapabilityMultifiling(boolean value) {
231 this.capabilityMultifiling = value;
232 }
233
234 /**
235 * Gets the value of the capabilityPWCSearchable property.
236 *
237 */
238 public boolean isCapabilityPWCSearchable() {
239 return capabilityPWCSearchable;
240 }
241
242 /**
243 * Sets the value of the capabilityPWCSearchable property.
244 *
245 */
246 public void setCapabilityPWCSearchable(boolean value) {
247 this.capabilityPWCSearchable = value;
248 }
249
250 /**
251 * Gets the value of the capabilityPWCUpdatable property.
252 *
253 */
254 public boolean isCapabilityPWCUpdatable() {
255 return capabilityPWCUpdatable;
256 }
257
258 /**
259 * Sets the value of the capabilityPWCUpdatable property.
260 *
261 */
262 public void setCapabilityPWCUpdatable(boolean value) {
263 this.capabilityPWCUpdatable = value;
264 }
265
266 /**
267 * Gets the value of the capabilityQuery property.
268 *
269 * @return
270 * possible object is
271 * {@link EnumCapabilityQuery }
272 *
273 */
274 public EnumCapabilityQuery getCapabilityQuery() {
275 return capabilityQuery;
276 }
277
278 /**
279 * Sets the value of the capabilityQuery property.
280 *
281 * @param value
282 * allowed object is
283 * {@link EnumCapabilityQuery }
284 *
285 */
286 public void setCapabilityQuery(EnumCapabilityQuery value) {
287 this.capabilityQuery = value;
288 }
289
290 /**
291 * Gets the value of the capabilityRenditions property.
292 *
293 * @return
294 * possible object is
295 * {@link EnumCapabilityRendition }
296 *
297 */
298 public EnumCapabilityRendition getCapabilityRenditions() {
299 return capabilityRenditions;
300 }
301
302 /**
303 * Sets the value of the capabilityRenditions property.
304 *
305 * @param value
306 * allowed object is
307 * {@link EnumCapabilityRendition }
308 *
309 */
310 public void setCapabilityRenditions(EnumCapabilityRendition value) {
311 this.capabilityRenditions = value;
312 }
313
314 /**
315 * Gets the value of the capabilityUnfiling property.
316 *
317 */
318 public boolean isCapabilityUnfiling() {
319 return capabilityUnfiling;
320 }
321
322 /**
323 * Sets the value of the capabilityUnfiling property.
324 *
325 */
326 public void setCapabilityUnfiling(boolean value) {
327 this.capabilityUnfiling = value;
328 }
329
330 /**
331 * Gets the value of the capabilityVersionSpecificFiling property.
332 *
333 */
334 public boolean isCapabilityVersionSpecificFiling() {
335 return capabilityVersionSpecificFiling;
336 }
337
338 /**
339 * Sets the value of the capabilityVersionSpecificFiling property.
340 *
341 */
342 public void setCapabilityVersionSpecificFiling(boolean value) {
343 this.capabilityVersionSpecificFiling = value;
344 }
345
346 /**
347 * Gets the value of the capabilityJoin property.
348 *
349 * @return
350 * possible object is
351 * {@link EnumCapabilityJoin }
352 *
353 */
354 public EnumCapabilityJoin getCapabilityJoin() {
355 return capabilityJoin;
356 }
357
358 /**
359 * Sets the value of the capabilityJoin property.
360 *
361 * @param value
362 * allowed object is
363 * {@link EnumCapabilityJoin }
364 *
365 */
366 public void setCapabilityJoin(EnumCapabilityJoin value) {
367 this.capabilityJoin = value;
368 }
369
370 /**
371 * Gets the value of the any property.
372 *
373 * <p>
374 * This accessor method returns a reference to the live list,
375 * not a snapshot. Therefore any modification you make to the
376 * returned list will be present inside the JAXB object.
377 * This is why there is not a <CODE>set</CODE> method for the any property.
378 *
379 * <p>
380 * For example, to add a new item, do as follows:
381 * <pre>
382 * getAny().add(newItem);
383 * </pre>
384 *
385 *
386 * <p>
387 * Objects of the following type(s) are allowed in the list
388 * {@link Element }
389 *
390 *
391 */
392 public List<Element> getAny() {
393 if (any == null) {
394 any = new ArrayList<Element>();
395 }
396 return this.any;
397 }
398
399 /**
400 * Gets a map that contains attributes that aren't bound to any typed property on this class.
401 *
402 * <p>
403 * the map is keyed by the name of the attribute and
404 * the value is the string value of the attribute.
405 *
406 * the map returned by this method is live, and you can add new attribute
407 * by updating the map directly. Because of this design, there's no setter.
408 *
409 *
410 * @return
411 * always non-null
412 */
413 public Map<QName, String> getOtherAttributes() {
414 return otherAttributes;
415 }
416
417 }