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