This project has retired. For details please refer to its Attic page.
CmisExtensionType 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  
11  
12  /**
13   * <p>Java class for cmisExtensionType complex type.
14   * 
15   * <p>The following schema fragment specifies the expected content contained within this class.
16   * 
17   * <pre>
18   * &lt;complexType name="cmisExtensionType">
19   *   &lt;complexContent>
20   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
21   *       &lt;sequence>
22   *         &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
23   *       &lt;/sequence>
24   *     &lt;/restriction>
25   *   &lt;/complexContent>
26   * &lt;/complexType>
27   * </pre>
28   * 
29   * 
30   */
31  @XmlAccessorType(XmlAccessType.FIELD)
32  @XmlType(name = "cmisExtensionType", propOrder = {
33      "any"
34  })
35  public class CmisExtensionType {
36  
37      @XmlAnyElement(lax = true)
38      protected List<Object> any;
39  
40      /**
41       * Gets the value of the any property.
42       * 
43       * <p>
44       * This accessor method returns a reference to the live list,
45       * not a snapshot. Therefore any modification you make to the
46       * returned list will be present inside the JAXB object.
47       * This is why there is not a <CODE>set</CODE> method for the any property.
48       * 
49       * <p>
50       * For example, to add a new item, do as follows:
51       * <pre>
52       *    getAny().add(newItem);
53       * </pre>
54       * 
55       * 
56       * <p>
57       * Objects of the following type(s) are allowed in the list
58       * {@link Object }
59       * 
60       * 
61       */
62      public List<Object> getAny() {
63          if (any == null) {
64              any = new ArrayList<Object>();
65          }
66          return this.any;
67      }
68  
69  }