org.apache.chemistry.opencmis.commons.impl.jaxb
Class CmisAccessControlPrincipalType

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisAccessControlPrincipalType

public class CmisAccessControlPrincipalType
extends Object

Java class for cmisAccessControlPrincipalType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cmisAccessControlPrincipalType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="principalId" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  String principalId
           
 
Constructor Summary
CmisAccessControlPrincipalType()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 String getPrincipalId()
          Gets the value of the principalId property.
 void setPrincipalId(String value)
          Sets the value of the principalId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principalId

protected String principalId

any

protected List<Object> any
Constructor Detail

CmisAccessControlPrincipalType

public CmisAccessControlPrincipalType()
Method Detail

getPrincipalId

public String getPrincipalId()
Gets the value of the principalId property.

Returns:
possible object is String

setPrincipalId

public void setPrincipalId(String value)
Sets the value of the principalId property.

Parameters:
value - allowed object is String

getAny

public List<Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Element Object



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.