This project has retired. For details please refer to its Attic page.
CmisACLCapabilityType 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.annotation.XmlAccessType;
7   import javax.xml.bind.annotation.XmlAccessorType;
8   import javax.xml.bind.annotation.XmlElement;
9   import javax.xml.bind.annotation.XmlType;
10  
11  
12  /**
13   * <p>Java class for cmisACLCapabilityType complex type.
14   * 
15   * <p>The following schema fragment specifies the expected content contained within this class.
16   * 
17   * <pre>
18   * &lt;complexType name="cmisACLCapabilityType">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;element name="supportedPermissions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumSupportedPermissions"/>
23   *         &lt;element name="propagation" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumACLPropagation"/>
24   *         &lt;element name="permissions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPermissionDefinition" maxOccurs="unbounded"/>
25   *         &lt;element name="mapping" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPermissionMapping" maxOccurs="unbounded" minOccurs="0"/>
26   *       &lt;/sequence>
27   *     &lt;/restriction>
28   *   &lt;/complexContent>
29   * &lt;/complexType>
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "cmisACLCapabilityType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
36      "supportedPermissions",
37      "propagation",
38      "permissions",
39      "mapping"
40  })
41  public class CmisACLCapabilityType {
42  
43      @XmlElement(required = true)
44      protected EnumSupportedPermissions supportedPermissions;
45      @XmlElement(required = true)
46      protected EnumACLPropagation propagation;
47      @XmlElement(required = true)
48      protected List<CmisPermissionDefinition> permissions;
49      protected List<CmisPermissionMapping> mapping;
50  
51      /**
52       * Gets the value of the supportedPermissions property.
53       * 
54       * @return
55       *     possible object is
56       *     {@link EnumSupportedPermissions }
57       *     
58       */
59      public EnumSupportedPermissions getSupportedPermissions() {
60          return supportedPermissions;
61      }
62  
63      /**
64       * Sets the value of the supportedPermissions property.
65       * 
66       * @param value
67       *     allowed object is
68       *     {@link EnumSupportedPermissions }
69       *     
70       */
71      public void setSupportedPermissions(EnumSupportedPermissions value) {
72          this.supportedPermissions = value;
73      }
74  
75      /**
76       * Gets the value of the propagation property.
77       * 
78       * @return
79       *     possible object is
80       *     {@link EnumACLPropagation }
81       *     
82       */
83      public EnumACLPropagation getPropagation() {
84          return propagation;
85      }
86  
87      /**
88       * Sets the value of the propagation property.
89       * 
90       * @param value
91       *     allowed object is
92       *     {@link EnumACLPropagation }
93       *     
94       */
95      public void setPropagation(EnumACLPropagation value) {
96          this.propagation = value;
97      }
98  
99      /**
100      * Gets the value of the permissions property.
101      * 
102      * <p>
103      * This accessor method returns a reference to the live list,
104      * not a snapshot. Therefore any modification you make to the
105      * returned list will be present inside the JAXB object.
106      * This is why there is not a <CODE>set</CODE> method for the permissions property.
107      * 
108      * <p>
109      * For example, to add a new item, do as follows:
110      * <pre>
111      *    getPermissions().add(newItem);
112      * </pre>
113      * 
114      * 
115      * <p>
116      * Objects of the following type(s) are allowed in the list
117      * {@link CmisPermissionDefinition }
118      * 
119      * 
120      */
121     public List<CmisPermissionDefinition> getPermissions() {
122         if (permissions == null) {
123             permissions = new ArrayList<CmisPermissionDefinition>();
124         }
125         return this.permissions;
126     }
127 
128     /**
129      * Gets the value of the mapping property.
130      * 
131      * <p>
132      * This accessor method returns a reference to the live list,
133      * not a snapshot. Therefore any modification you make to the
134      * returned list will be present inside the JAXB object.
135      * This is why there is not a <CODE>set</CODE> method for the mapping property.
136      * 
137      * <p>
138      * For example, to add a new item, do as follows:
139      * <pre>
140      *    getMapping().add(newItem);
141      * </pre>
142      * 
143      * 
144      * <p>
145      * Objects of the following type(s) are allowed in the list
146      * {@link CmisPermissionMapping }
147      * 
148      * 
149      */
150     public List<CmisPermissionMapping> getMapping() {
151         if (mapping == null) {
152             mapping = new ArrayList<CmisPermissionMapping>();
153         }
154         return this.mapping;
155     }
156 
157 }