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
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
82
83
84
85
86
87
88 public String getRepositoryId() {
89 return repositoryId;
90 }
91
92
93
94
95
96
97
98
99
100 public void setRepositoryId(String value) {
101 this.repositoryId = value;
102 }
103
104
105
106
107
108
109
110
111
112 public String getObjectId() {
113 return objectId;
114 }
115
116
117
118
119
120
121
122
123
124 public void setObjectId(String value) {
125 this.objectId = value;
126 }
127
128
129
130
131
132
133
134
135
136 public JAXBElement<Boolean> getMajor() {
137 return major;
138 }
139
140
141
142
143
144
145
146
147
148 public void setMajor(JAXBElement<Boolean> value) {
149 this.major = ((JAXBElement<Boolean> ) value);
150 }
151
152
153
154
155
156
157
158
159
160 public JAXBElement<CmisPropertiesType> getProperties() {
161 return properties;
162 }
163
164
165
166
167
168
169
170
171
172 public void setProperties(JAXBElement<CmisPropertiesType> value) {
173 this.properties = ((JAXBElement<CmisPropertiesType> ) value);
174 }
175
176
177
178
179
180
181
182
183
184 public JAXBElement<CmisContentStreamType> getContentStream() {
185 return contentStream;
186 }
187
188
189
190
191
192
193
194
195
196 public void setContentStream(JAXBElement<CmisContentStreamType> value) {
197 this.contentStream = ((JAXBElement<CmisContentStreamType> ) value);
198 }
199
200
201
202
203
204
205
206
207
208 public JAXBElement<String> getCheckinComment() {
209 return checkinComment;
210 }
211
212
213
214
215
216
217
218
219
220 public void setCheckinComment(JAXBElement<String> value) {
221 this.checkinComment = ((JAXBElement<String> ) value);
222 }
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
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
255
256
257
258
259
260
261 public JAXBElement<CmisAccessControlListType> getAddACEs() {
262 return addACEs;
263 }
264
265
266
267
268
269
270
271
272
273 public void setAddACEs(JAXBElement<CmisAccessControlListType> value) {
274 this.addACEs = ((JAXBElement<CmisAccessControlListType> ) value);
275 }
276
277
278
279
280
281
282
283
284
285 public JAXBElement<CmisAccessControlListType> getRemoveACEs() {
286 return removeACEs;
287 }
288
289
290
291
292
293
294
295
296
297 public void setRemoveACEs(JAXBElement<CmisAccessControlListType> value) {
298 this.removeACEs = ((JAXBElement<CmisAccessControlListType> ) value);
299 }
300
301
302
303
304
305
306
307
308
309 public JAXBElement<CmisExtensionType> getExtension() {
310 return extension;
311 }
312
313
314
315
316
317
318
319
320
321 public void setExtension(JAXBElement<CmisExtensionType> value) {
322 this.extension = ((JAXBElement<CmisExtensionType> ) value);
323 }
324
325 }