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