This project has retired. For details please refer to its
Attic page.
CmisPropertyDefinitionType xref
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.XmlSeeAlso;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.namespace.QName;
17 import org.w3c.dom.Element;
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
44
45
46
47
48
49
50
51
52
53
54
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "cmisPropertyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
57 "id",
58 "localName",
59 "localNamespace",
60 "displayName",
61 "queryName",
62 "description",
63 "propertyType",
64 "cardinality",
65 "updatability",
66 "inherited",
67 "required",
68 "queryable",
69 "orderable",
70 "openChoice",
71 "any"
72 })
73 @XmlSeeAlso({
74 CmisPropertyDateTimeDefinitionType.class,
75 CmisPropertyUriDefinitionType.class,
76 CmisPropertyDecimalDefinitionType.class,
77 CmisPropertyIntegerDefinitionType.class,
78 CmisPropertyBooleanDefinitionType.class,
79 CmisPropertyHtmlDefinitionType.class,
80 CmisPropertyIdDefinitionType.class,
81 CmisPropertyStringDefinitionType.class
82 })
83 public class CmisPropertyDefinitionType {
84
85 @XmlElement(required = true)
86 protected String id;
87 @XmlElement(required = true)
88 protected String localName;
89 @XmlSchemaType(name = "anyURI")
90 protected String localNamespace;
91 protected String displayName;
92 protected String queryName;
93 protected String description;
94 @XmlElement(required = true)
95 protected EnumPropertyType propertyType;
96 @XmlElement(required = true)
97 protected EnumCardinality cardinality;
98 @XmlElement(required = true)
99 protected EnumUpdatability updatability;
100 protected Boolean inherited;
101 protected boolean required;
102 protected boolean queryable;
103 protected boolean orderable;
104 protected Boolean openChoice;
105 @XmlAnyElement(lax = true)
106 protected List<Object> any;
107 @XmlAnyAttribute
108 private Map<QName, String> otherAttributes = new HashMap<QName, String>();
109
110
111
112
113
114
115
116
117
118 public String getId() {
119 return id;
120 }
121
122
123
124
125
126
127
128
129
130 public void setId(String value) {
131 this.id = value;
132 }
133
134
135
136
137
138
139
140
141
142 public String getLocalName() {
143 return localName;
144 }
145
146
147
148
149
150
151
152
153
154 public void setLocalName(String value) {
155 this.localName = value;
156 }
157
158
159
160
161
162
163
164
165
166 public String getLocalNamespace() {
167 return localNamespace;
168 }
169
170
171
172
173
174
175
176
177
178 public void setLocalNamespace(String value) {
179 this.localNamespace = value;
180 }
181
182
183
184
185
186
187
188
189
190 public String getDisplayName() {
191 return displayName;
192 }
193
194
195
196
197
198
199
200
201
202 public void setDisplayName(String value) {
203 this.displayName = value;
204 }
205
206
207
208
209
210
211
212
213
214 public String getQueryName() {
215 return queryName;
216 }
217
218
219
220
221
222
223
224
225
226 public void setQueryName(String value) {
227 this.queryName = value;
228 }
229
230
231
232
233
234
235
236
237
238 public String getDescription() {
239 return description;
240 }
241
242
243
244
245
246
247
248
249
250 public void setDescription(String value) {
251 this.description = value;
252 }
253
254
255
256
257
258
259
260
261
262 public EnumPropertyType getPropertyType() {
263 return propertyType;
264 }
265
266
267
268
269
270
271
272
273
274 public void setPropertyType(EnumPropertyType value) {
275 this.propertyType = value;
276 }
277
278
279
280
281
282
283
284
285
286 public EnumCardinality getCardinality() {
287 return cardinality;
288 }
289
290
291
292
293
294
295
296
297
298 public void setCardinality(EnumCardinality value) {
299 this.cardinality = value;
300 }
301
302
303
304
305
306
307
308
309
310 public EnumUpdatability getUpdatability() {
311 return updatability;
312 }
313
314
315
316
317
318
319
320
321
322 public void setUpdatability(EnumUpdatability value) {
323 this.updatability = value;
324 }
325
326
327
328
329
330
331
332
333
334 public Boolean isInherited() {
335 return inherited;
336 }
337
338
339
340
341
342
343
344
345
346 public void setInherited(Boolean value) {
347 this.inherited = value;
348 }
349
350
351
352
353
354 public boolean isRequired() {
355 return required;
356 }
357
358
359
360
361
362 public void setRequired(boolean value) {
363 this.required = value;
364 }
365
366
367
368
369
370 public boolean isQueryable() {
371 return queryable;
372 }
373
374
375
376
377
378 public void setQueryable(boolean value) {
379 this.queryable = value;
380 }
381
382
383
384
385
386 public boolean isOrderable() {
387 return orderable;
388 }
389
390
391
392
393
394 public void setOrderable(boolean value) {
395 this.orderable = value;
396 }
397
398
399
400
401
402
403
404
405
406 public Boolean isOpenChoice() {
407 return openChoice;
408 }
409
410
411
412
413
414
415
416
417
418 public void setOpenChoice(Boolean value) {
419 this.openChoice = value;
420 }
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445 public List<Object> getAny() {
446 if (any == null) {
447 any = new ArrayList<Object>();
448 }
449 return this.any;
450 }
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466 public Map<QName, String> getOtherAttributes() {
467 return otherAttributes;
468 }
469
470 }