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

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

public class CmisAccessControlEntryType
extends java.lang.Object

Java class for cmisAccessControlEntryType complex type.

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

 <complexType name="cmisAccessControlEntryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="principal" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlPrincipalType"/>
         <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
         <element name="direct" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  boolean direct
           
protected  java.util.List<java.lang.String> permission
           
protected  CmisAccessControlPrincipalType principal
           
 
Constructor Summary
CmisAccessControlEntryType()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.util.List<java.lang.String> getPermission()
          Gets the value of the permission property.
 CmisAccessControlPrincipalType getPrincipal()
          Gets the value of the principal property.
 boolean isDirect()
          Gets the value of the direct property.
 void setDirect(boolean value)
          Sets the value of the direct property.
 void setPrincipal(CmisAccessControlPrincipalType value)
          Sets the value of the principal property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

principal

protected CmisAccessControlPrincipalType principal

permission

protected java.util.List<java.lang.String> permission

direct

protected boolean direct

any

protected java.util.List<java.lang.Object> any
Constructor Detail

CmisAccessControlEntryType

public CmisAccessControlEntryType()
Method Detail

getPrincipal

public CmisAccessControlPrincipalType getPrincipal()
Gets the value of the principal property.

Returns:
possible object is CmisAccessControlPrincipalType

setPrincipal

public void setPrincipal(CmisAccessControlPrincipalType value)
Sets the value of the principal property.

Parameters:
value - allowed object is CmisAccessControlPrincipalType

getPermission

public java.util.List<java.lang.String> getPermission()
Gets the value of the permission 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 permission property.

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

    getPermission().add(newItem);
 

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


isDirect

public boolean isDirect()
Gets the value of the direct property.


setDirect

public void setDirect(boolean value)
Sets the value of the direct property.


getAny

public java.util.List<java.lang.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 Object Element



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