1
2 package org.apache.chemistry.opencmis.commons.impl.jaxb;
3
4 import java.math.BigInteger;
5 import java.util.ArrayList;
6 import java.util.List;
7 import javax.xml.bind.annotation.XmlAccessType;
8 import javax.xml.bind.annotation.XmlAccessorType;
9 import javax.xml.bind.annotation.XmlAnyElement;
10 import javax.xml.bind.annotation.XmlType;
11 import org.w3c.dom.Element;
12
13
14 /**
15 * <p>Java class for cmisPropertyInteger complex type.
16 *
17 * <p>The following schema fragment specifies the expected content contained within this class.
18 *
19 * <pre>
20 * <complexType name="cmisPropertyInteger">
21 * <complexContent>
22 * <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
23 * <sequence>
24 * <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
25 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
26 * </sequence>
27 * <anyAttribute processContents='lax' namespace='##other'/>
28 * </extension>
29 * </complexContent>
30 * </complexType>
31 * </pre>
32 *
33 *
34 */
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "cmisPropertyInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
37 "value",
38 "any"
39 })
40 public class CmisPropertyInteger
41 extends CmisProperty
42 {
43
44 protected List<BigInteger> value;
45 @XmlAnyElement(lax = true)
46 protected List<Object> any;
47
48 /**
49 * Gets the value of the value property.
50 *
51 * <p>
52 * This accessor method returns a reference to the live list,
53 * not a snapshot. Therefore any modification you make to the
54 * returned list will be present inside the JAXB object.
55 * This is why there is not a <CODE>set</CODE> method for the value property.
56 *
57 * <p>
58 * For example, to add a new item, do as follows:
59 * <pre>
60 * getValue().add(newItem);
61 * </pre>
62 *
63 *
64 * <p>
65 * Objects of the following type(s) are allowed in the list
66 * {@link BigInteger }
67 *
68 *
69 */
70 public List<BigInteger> getValue() {
71 if (value == null) {
72 value = new ArrayList<BigInteger>();
73 }
74 return this.value;
75 }
76
77 /**
78 * Gets the value of the any property.
79 *
80 * <p>
81 * This accessor method returns a reference to the live list,
82 * not a snapshot. Therefore any modification you make to the
83 * returned list will be present inside the JAXB object.
84 * This is why there is not a <CODE>set</CODE> method for the any property.
85 *
86 * <p>
87 * For example, to add a new item, do as follows:
88 * <pre>
89 * getAny().add(newItem);
90 * </pre>
91 *
92 *
93 * <p>
94 * Objects of the following type(s) are allowed in the list
95 * {@link Element }
96 * {@link Object }
97 *
98 *
99 */
100 public List<Object> getAny() {
101 if (any == null) {
102 any = new ArrayList<Object>();
103 }
104 return this.any;
105 }
106
107 }