This project has retired. For details please refer to its Attic page.
CheckIn 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="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
27   *         &lt;element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
28   *         &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType" minOccurs="0"/>
29   *         &lt;element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType" minOccurs="0"/>
30   *         &lt;element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
31   *         &lt;element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
32   *         &lt;element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
33   *         &lt;element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
34   *         &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
35   *       &lt;/sequence>
36   *     &lt;/restriction>
37   *   &lt;/complexContent>
38   * &lt;/complexType>
39   * </pre>
40   * 
41   * 
42   */
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "", propOrder = {
45      "repositoryId",
46      "objectId",
47      "major",
48      "properties",
49      "contentStream",
50      "checkinComment",
51      "policies",
52      "addACEs",
53      "removeACEs",
54      "extension"
55  })
56  @XmlRootElement(name = "checkIn")
57  public class CheckIn {
58  
59      @XmlElement(required = true)
60      protected String repositoryId;
61      @XmlElement(required = true)
62      protected String objectId;
63      @XmlElementRef(name = "major", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
64      protected JAXBElement<Boolean> major;
65      @XmlElementRef(name = "properties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
66      protected JAXBElement<CmisPropertiesType> properties;
67      @XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
68      protected JAXBElement<CmisContentStreamType> contentStream;
69      @XmlElementRef(name = "checkinComment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
70      protected JAXBElement<String> checkinComment;
71      @XmlElement(nillable = true)
72      protected List<String> policies;
73      @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
74      protected JAXBElement<CmisAccessControlListType> addACEs;
75      @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
76      protected JAXBElement<CmisAccessControlListType> removeACEs;
77      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
78      protected JAXBElement<CmisExtensionType> extension;
79  
80      /**
81       * Gets the value of the repositoryId property.
82       * 
83       * @return
84       *     possible object is
85       *     {@link String }
86       *     
87       */
88      public String getRepositoryId() {
89          return repositoryId;
90      }
91  
92      /**
93       * Sets the value of the repositoryId property.
94       * 
95       * @param value
96       *     allowed object is
97       *     {@link String }
98       *     
99       */
100     public void setRepositoryId(String value) {
101         this.repositoryId = value;
102     }
103 
104     /**
105      * Gets the value of the objectId property.
106      * 
107      * @return
108      *     possible object is
109      *     {@link String }
110      *     
111      */
112     public String getObjectId() {
113         return objectId;
114     }
115 
116     /**
117      * Sets the value of the objectId property.
118      * 
119      * @param value
120      *     allowed object is
121      *     {@link String }
122      *     
123      */
124     public void setObjectId(String value) {
125         this.objectId = value;
126     }
127 
128     /**
129      * Gets the value of the major property.
130      * 
131      * @return
132      *     possible object is
133      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
134      *     
135      */
136     public JAXBElement<Boolean> getMajor() {
137         return major;
138     }
139 
140     /**
141      * Sets the value of the major property.
142      * 
143      * @param value
144      *     allowed object is
145      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
146      *     
147      */
148     public void setMajor(JAXBElement<Boolean> value) {
149         this.major = ((JAXBElement<Boolean> ) value);
150     }
151 
152     /**
153      * Gets the value of the properties property.
154      * 
155      * @return
156      *     possible object is
157      *     {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >}
158      *     
159      */
160     public JAXBElement<CmisPropertiesType> getProperties() {
161         return properties;
162     }
163 
164     /**
165      * Sets the value of the properties property.
166      * 
167      * @param value
168      *     allowed object is
169      *     {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >}
170      *     
171      */
172     public void setProperties(JAXBElement<CmisPropertiesType> value) {
173         this.properties = ((JAXBElement<CmisPropertiesType> ) value);
174     }
175 
176     /**
177      * Gets the value of the contentStream property.
178      * 
179      * @return
180      *     possible object is
181      *     {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >}
182      *     
183      */
184     public JAXBElement<CmisContentStreamType> getContentStream() {
185         return contentStream;
186     }
187 
188     /**
189      * Sets the value of the contentStream property.
190      * 
191      * @param value
192      *     allowed object is
193      *     {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >}
194      *     
195      */
196     public void setContentStream(JAXBElement<CmisContentStreamType> value) {
197         this.contentStream = ((JAXBElement<CmisContentStreamType> ) value);
198     }
199 
200     /**
201      * Gets the value of the checkinComment property.
202      * 
203      * @return
204      *     possible object is
205      *     {@link JAXBElement }{@code <}{@link String }{@code >}
206      *     
207      */
208     public JAXBElement<String> getCheckinComment() {
209         return checkinComment;
210     }
211 
212     /**
213      * Sets the value of the checkinComment property.
214      * 
215      * @param value
216      *     allowed object is
217      *     {@link JAXBElement }{@code <}{@link String }{@code >}
218      *     
219      */
220     public void setCheckinComment(JAXBElement<String> value) {
221         this.checkinComment = ((JAXBElement<String> ) value);
222     }
223 
224     /**
225      * Gets the value of the policies property.
226      * 
227      * <p>
228      * This accessor method returns a reference to the live list,
229      * not a snapshot. Therefore any modification you make to the
230      * returned list will be present inside the JAXB object.
231      * This is why there is not a <CODE>set</CODE> method for the policies property.
232      * 
233      * <p>
234      * For example, to add a new item, do as follows:
235      * <pre>
236      *    getPolicies().add(newItem);
237      * </pre>
238      * 
239      * 
240      * <p>
241      * Objects of the following type(s) are allowed in the list
242      * {@link String }
243      * 
244      * 
245      */
246     public List<String> getPolicies() {
247         if (policies == null) {
248             policies = new ArrayList<String>();
249         }
250         return this.policies;
251     }
252 
253     /**
254      * Gets the value of the addACEs property.
255      * 
256      * @return
257      *     possible object is
258      *     {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}
259      *     
260      */
261     public JAXBElement<CmisAccessControlListType> getAddACEs() {
262         return addACEs;
263     }
264 
265     /**
266      * Sets the value of the addACEs property.
267      * 
268      * @param value
269      *     allowed object is
270      *     {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}
271      *     
272      */
273     public void setAddACEs(JAXBElement<CmisAccessControlListType> value) {
274         this.addACEs = ((JAXBElement<CmisAccessControlListType> ) value);
275     }
276 
277     /**
278      * Gets the value of the removeACEs property.
279      * 
280      * @return
281      *     possible object is
282      *     {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}
283      *     
284      */
285     public JAXBElement<CmisAccessControlListType> getRemoveACEs() {
286         return removeACEs;
287     }
288 
289     /**
290      * Sets the value of the removeACEs property.
291      * 
292      * @param value
293      *     allowed object is
294      *     {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}
295      *     
296      */
297     public void setRemoveACEs(JAXBElement<CmisAccessControlListType> value) {
298         this.removeACEs = ((JAXBElement<CmisAccessControlListType> ) value);
299     }
300 
301     /**
302      * Gets the value of the extension property.
303      * 
304      * @return
305      *     possible object is
306      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
307      *     
308      */
309     public JAXBElement<CmisExtensionType> getExtension() {
310         return extension;
311     }
312 
313     /**
314      * Sets the value of the extension property.
315      * 
316      * @param value
317      *     allowed object is
318      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
319      *     
320      */
321     public void setExtension(JAXBElement<CmisExtensionType> value) {
322         this.extension = ((JAXBElement<CmisExtensionType> ) value);
323     }
324 
325 }