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