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.XmlSchemaType;
14 import javax.xml.bind.annotation.XmlType;
15 import javax.xml.namespace.QName;
16 import org.w3c.dom.Element;
17
18
19 /**
20 * <p>Java class for cmisRepositoryInfoType complex type.
21 *
22 * <p>The following schema fragment specifies the expected content contained within this class.
23 *
24 * <pre>
25 * <complexType name="cmisRepositoryInfoType">
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <sequence>
29 * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
30 * <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
31 * <element name="repositoryDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
32 * <element name="vendorName" type="{http://www.w3.org/2001/XMLSchema}string"/>
33 * <element name="productName" type="{http://www.w3.org/2001/XMLSchema}string"/>
34 * <element name="productVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
35 * <element name="rootFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
36 * <element name="latestChangeLogToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
37 * <element name="capabilities" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRepositoryCapabilitiesType"/>
38 * <element name="aclCapability" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisACLCapabilityType" minOccurs="0"/>
39 * <element name="cmisVersionSupported" type="{http://www.w3.org/2001/XMLSchema}string"/>
40 * <element name="thinClientURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
41 * <element name="changesIncomplete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
42 * <element name="changesOnType" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumBaseObjectTypeIds" maxOccurs="unbounded" minOccurs="0"/>
43 * <element name="principalAnonymous" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
44 * <element name="principalAnyone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
45 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
46 * </sequence>
47 * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
48 * <anyAttribute processContents='lax' namespace='##other'/>
49 * </restriction>
50 * </complexContent>
51 * </complexType>
52 * </pre>
53 *
54 *
55 */
56 @XmlAccessorType(XmlAccessType.FIELD)
57 @XmlType(name = "cmisRepositoryInfoType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
58 "repositoryId",
59 "repositoryName",
60 "repositoryDescription",
61 "vendorName",
62 "productName",
63 "productVersion",
64 "rootFolderId",
65 "latestChangeLogToken",
66 "capabilities",
67 "aclCapability",
68 "cmisVersionSupported",
69 "thinClientURI",
70 "changesIncomplete",
71 "changesOnType",
72 "principalAnonymous",
73 "principalAnyone",
74 "any"
75 })
76 public class CmisRepositoryInfoType {
77
78 @XmlElement(required = true)
79 protected String repositoryId;
80 @XmlElement(required = true)
81 protected String repositoryName;
82 @XmlElement(required = true)
83 protected String repositoryDescription;
84 @XmlElement(required = true)
85 protected String vendorName;
86 @XmlElement(required = true)
87 protected String productName;
88 @XmlElement(required = true)
89 protected String productVersion;
90 @XmlElement(required = true)
91 protected String rootFolderId;
92 protected String latestChangeLogToken;
93 @XmlElement(required = true)
94 protected CmisRepositoryCapabilitiesType capabilities;
95 protected CmisACLCapabilityType aclCapability;
96 @XmlElement(required = true)
97 protected String cmisVersionSupported;
98 @XmlSchemaType(name = "anyURI")
99 protected String thinClientURI;
100 protected Boolean changesIncomplete;
101 protected List<EnumBaseObjectTypeIds> changesOnType;
102 protected String principalAnonymous;
103 protected String principalAnyone;
104 @XmlAnyElement(lax = true)
105 protected List<Object> any;
106 @XmlAnyAttribute
107 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
108
109 /**
110 * Gets the value of the repositoryId property.
111 *
112 * @return
113 * possible object is
114 * {@link String }
115 *
116 */
117 public String getRepositoryId() {
118 return repositoryId;
119 }
120
121 /**
122 * Sets the value of the repositoryId property.
123 *
124 * @param value
125 * allowed object is
126 * {@link String }
127 *
128 */
129 public void setRepositoryId(String value) {
130 this.repositoryId = value;
131 }
132
133 /**
134 * Gets the value of the repositoryName property.
135 *
136 * @return
137 * possible object is
138 * {@link String }
139 *
140 */
141 public String getRepositoryName() {
142 return repositoryName;
143 }
144
145 /**
146 * Sets the value of the repositoryName property.
147 *
148 * @param value
149 * allowed object is
150 * {@link String }
151 *
152 */
153 public void setRepositoryName(String value) {
154 this.repositoryName = value;
155 }
156
157 /**
158 * Gets the value of the repositoryDescription property.
159 *
160 * @return
161 * possible object is
162 * {@link String }
163 *
164 */
165 public String getRepositoryDescription() {
166 return repositoryDescription;
167 }
168
169 /**
170 * Sets the value of the repositoryDescription property.
171 *
172 * @param value
173 * allowed object is
174 * {@link String }
175 *
176 */
177 public void setRepositoryDescription(String value) {
178 this.repositoryDescription = value;
179 }
180
181 /**
182 * Gets the value of the vendorName property.
183 *
184 * @return
185 * possible object is
186 * {@link String }
187 *
188 */
189 public String getVendorName() {
190 return vendorName;
191 }
192
193 /**
194 * Sets the value of the vendorName property.
195 *
196 * @param value
197 * allowed object is
198 * {@link String }
199 *
200 */
201 public void setVendorName(String value) {
202 this.vendorName = value;
203 }
204
205 /**
206 * Gets the value of the productName property.
207 *
208 * @return
209 * possible object is
210 * {@link String }
211 *
212 */
213 public String getProductName() {
214 return productName;
215 }
216
217 /**
218 * Sets the value of the productName property.
219 *
220 * @param value
221 * allowed object is
222 * {@link String }
223 *
224 */
225 public void setProductName(String value) {
226 this.productName = value;
227 }
228
229 /**
230 * Gets the value of the productVersion property.
231 *
232 * @return
233 * possible object is
234 * {@link String }
235 *
236 */
237 public String getProductVersion() {
238 return productVersion;
239 }
240
241 /**
242 * Sets the value of the productVersion property.
243 *
244 * @param value
245 * allowed object is
246 * {@link String }
247 *
248 */
249 public void setProductVersion(String value) {
250 this.productVersion = value;
251 }
252
253 /**
254 * Gets the value of the rootFolderId property.
255 *
256 * @return
257 * possible object is
258 * {@link String }
259 *
260 */
261 public String getRootFolderId() {
262 return rootFolderId;
263 }
264
265 /**
266 * Sets the value of the rootFolderId property.
267 *
268 * @param value
269 * allowed object is
270 * {@link String }
271 *
272 */
273 public void setRootFolderId(String value) {
274 this.rootFolderId = value;
275 }
276
277 /**
278 * Gets the value of the latestChangeLogToken property.
279 *
280 * @return
281 * possible object is
282 * {@link String }
283 *
284 */
285 public String getLatestChangeLogToken() {
286 return latestChangeLogToken;
287 }
288
289 /**
290 * Sets the value of the latestChangeLogToken property.
291 *
292 * @param value
293 * allowed object is
294 * {@link String }
295 *
296 */
297 public void setLatestChangeLogToken(String value) {
298 this.latestChangeLogToken = value;
299 }
300
301 /**
302 * Gets the value of the capabilities property.
303 *
304 * @return
305 * possible object is
306 * {@link CmisRepositoryCapabilitiesType }
307 *
308 */
309 public CmisRepositoryCapabilitiesType getCapabilities() {
310 return capabilities;
311 }
312
313 /**
314 * Sets the value of the capabilities property.
315 *
316 * @param value
317 * allowed object is
318 * {@link CmisRepositoryCapabilitiesType }
319 *
320 */
321 public void setCapabilities(CmisRepositoryCapabilitiesType value) {
322 this.capabilities = value;
323 }
324
325 /**
326 * Gets the value of the aclCapability property.
327 *
328 * @return
329 * possible object is
330 * {@link CmisACLCapabilityType }
331 *
332 */
333 public CmisACLCapabilityType getAclCapability() {
334 return aclCapability;
335 }
336
337 /**
338 * Sets the value of the aclCapability property.
339 *
340 * @param value
341 * allowed object is
342 * {@link CmisACLCapabilityType }
343 *
344 */
345 public void setAclCapability(CmisACLCapabilityType value) {
346 this.aclCapability = value;
347 }
348
349 /**
350 * Gets the value of the cmisVersionSupported property.
351 *
352 * @return
353 * possible object is
354 * {@link String }
355 *
356 */
357 public String getCmisVersionSupported() {
358 return cmisVersionSupported;
359 }
360
361 /**
362 * Sets the value of the cmisVersionSupported property.
363 *
364 * @param value
365 * allowed object is
366 * {@link String }
367 *
368 */
369 public void setCmisVersionSupported(String value) {
370 this.cmisVersionSupported = value;
371 }
372
373 /**
374 * Gets the value of the thinClientURI property.
375 *
376 * @return
377 * possible object is
378 * {@link String }
379 *
380 */
381 public String getThinClientURI() {
382 return thinClientURI;
383 }
384
385 /**
386 * Sets the value of the thinClientURI property.
387 *
388 * @param value
389 * allowed object is
390 * {@link String }
391 *
392 */
393 public void setThinClientURI(String value) {
394 this.thinClientURI = value;
395 }
396
397 /**
398 * Gets the value of the changesIncomplete property.
399 *
400 * @return
401 * possible object is
402 * {@link Boolean }
403 *
404 */
405 public Boolean isChangesIncomplete() {
406 return changesIncomplete;
407 }
408
409 /**
410 * Sets the value of the changesIncomplete property.
411 *
412 * @param value
413 * allowed object is
414 * {@link Boolean }
415 *
416 */
417 public void setChangesIncomplete(Boolean value) {
418 this.changesIncomplete = value;
419 }
420
421 /**
422 * Gets the value of the changesOnType property.
423 *
424 * <p>
425 * This accessor method returns a reference to the live list,
426 * not a snapshot. Therefore any modification you make to the
427 * returned list will be present inside the JAXB object.
428 * This is why there is not a <CODE>set</CODE> method for the changesOnType property.
429 *
430 * <p>
431 * For example, to add a new item, do as follows:
432 * <pre>
433 * getChangesOnType().add(newItem);
434 * </pre>
435 *
436 *
437 * <p>
438 * Objects of the following type(s) are allowed in the list
439 * {@link EnumBaseObjectTypeIds }
440 *
441 *
442 */
443 public List<EnumBaseObjectTypeIds> getChangesOnType() {
444 if (changesOnType == null) {
445 changesOnType = new ArrayList<EnumBaseObjectTypeIds>();
446 }
447 return this.changesOnType;
448 }
449
450 /**
451 * Gets the value of the principalAnonymous property.
452 *
453 * @return
454 * possible object is
455 * {@link String }
456 *
457 */
458 public String getPrincipalAnonymous() {
459 return principalAnonymous;
460 }
461
462 /**
463 * Sets the value of the principalAnonymous property.
464 *
465 * @param value
466 * allowed object is
467 * {@link String }
468 *
469 */
470 public void setPrincipalAnonymous(String value) {
471 this.principalAnonymous = value;
472 }
473
474 /**
475 * Gets the value of the principalAnyone property.
476 *
477 * @return
478 * possible object is
479 * {@link String }
480 *
481 */
482 public String getPrincipalAnyone() {
483 return principalAnyone;
484 }
485
486 /**
487 * Sets the value of the principalAnyone property.
488 *
489 * @param value
490 * allowed object is
491 * {@link String }
492 *
493 */
494 public void setPrincipalAnyone(String value) {
495 this.principalAnyone = value;
496 }
497
498 /**
499 * Gets the value of the any property.
500 *
501 * <p>
502 * This accessor method returns a reference to the live list,
503 * not a snapshot. Therefore any modification you make to the
504 * returned list will be present inside the JAXB object.
505 * This is why there is not a <CODE>set</CODE> method for the any property.
506 *
507 * <p>
508 * For example, to add a new item, do as follows:
509 * <pre>
510 * getAny().add(newItem);
511 * </pre>
512 *
513 *
514 * <p>
515 * Objects of the following type(s) are allowed in the list
516 * {@link Element }
517 * {@link Object }
518 *
519 *
520 */
521 public List<Object> getAny() {
522 if (any == null) {
523 any = new ArrayList<Object>();
524 }
525 return this.any;
526 }
527
528 /**
529 * Gets a map that contains attributes that aren't bound to any typed property on this class.
530 *
531 * <p>
532 * the map is keyed by the name of the attribute and
533 * the value is the string value of the attribute.
534 *
535 * the map returned by this method is live, and you can add new attribute
536 * by updating the map directly. Because of this design, there's no setter.
537 *
538 *
539 * @return
540 * always non-null
541 */
542 public Map<QName, String> getOtherAttributes() {
543 return otherAttributes;
544 }
545
546 }