This project has retired. For details please refer to its
Attic page.
CmisAccessControlPrincipalType xref
12package org.apache.chemistry.opencmis.commons.impl.jaxb;
34import java.util.ArrayList;
5import java.util.List;
6import javax.xml.bind.annotation.XmlAccessType;
7import javax.xml.bind.annotation.XmlAccessorType;
8import javax.xml.bind.annotation.XmlAnyElement;
9import javax.xml.bind.annotation.XmlElement;
10import javax.xml.bind.annotation.XmlType;
11import org.w3c.dom.Element;
121314/**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 * <complexType name="cmisAccessControlPrincipalType">21 * <complexContent>22 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">23 * <sequence>24 * <element name="principalId" type="{http://www.w3.org/2001/XMLSchema}string"/>25 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>26 * </sequence>27 * </restriction>28 * </complexContent>29 * </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 })
39publicclassCmisAccessControlPrincipalType {
4041 @XmlElement(required = true)
42protected String principalId;
43 @XmlAnyElement(lax = true)
44protected List<Object> any;
4546/**47 * Gets the value of the principalId property.48 * 49 * @return50 * possible object is51 * {@link String }52 * 53 */54public String getPrincipalId() {
55return principalId;
56 }
5758/**59 * Sets the value of the principalId property.60 * 61 * @param value62 * allowed object is63 * {@link String }64 * 65 */66publicvoid setPrincipalId(String value) {
67this.principalId = value;
68 }
6970/**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 the76 * 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 list88 * {@link Element }89 * {@link Object }90 * 91 * 92 */93public List<Object> getAny() {
94if (any == null) {
95 any = new ArrayList<Object>();
96 }
97returnthis.any;
98 }
99100 }