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