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

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

public class CmisACLCapabilityType
extends java.lang.Object

Java class for cmisACLCapabilityType complex type.

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

 <complexType name="cmisACLCapabilityType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="supportedPermissions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumSupportedPermissions"/>
         <element name="propagation" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumACLPropagation"/>
         <element name="permissions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPermissionDefinition" maxOccurs="unbounded"/>
         <element name="mapping" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPermissionMapping" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<CmisPermissionMapping> mapping
           
protected  java.util.List<CmisPermissionDefinition> permissions
           
protected  EnumACLPropagation propagation
           
protected  EnumSupportedPermissions supportedPermissions
           
 
Constructor Summary
CmisACLCapabilityType()
           
 
Method Summary
 java.util.List<CmisPermissionMapping> getMapping()
          Gets the value of the mapping property.
 java.util.List<CmisPermissionDefinition> getPermissions()
          Gets the value of the permissions property.
 EnumACLPropagation getPropagation()
          Gets the value of the propagation property.
 EnumSupportedPermissions getSupportedPermissions()
          Gets the value of the supportedPermissions property.
 void setPropagation(EnumACLPropagation value)
          Sets the value of the propagation property.
 void setSupportedPermissions(EnumSupportedPermissions value)
          Sets the value of the supportedPermissions property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supportedPermissions

protected EnumSupportedPermissions supportedPermissions

propagation

protected EnumACLPropagation propagation

permissions

protected java.util.List<CmisPermissionDefinition> permissions

mapping

protected java.util.List<CmisPermissionMapping> mapping
Constructor Detail

CmisACLCapabilityType

public CmisACLCapabilityType()
Method Detail

getSupportedPermissions

public EnumSupportedPermissions getSupportedPermissions()
Gets the value of the supportedPermissions property.

Returns:
possible object is EnumSupportedPermissions

setSupportedPermissions

public void setSupportedPermissions(EnumSupportedPermissions value)
Sets the value of the supportedPermissions property.

Parameters:
value - allowed object is EnumSupportedPermissions

getPropagation

public EnumACLPropagation getPropagation()
Gets the value of the propagation property.

Returns:
possible object is EnumACLPropagation

setPropagation

public void setPropagation(EnumACLPropagation value)
Sets the value of the propagation property.

Parameters:
value - allowed object is EnumACLPropagation

getPermissions

public java.util.List<CmisPermissionDefinition> getPermissions()
Gets the value of the permissions 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 permissions property.

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

    getPermissions().add(newItem);
 

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


getMapping

public java.util.List<CmisPermissionMapping> getMapping()
Gets the value of the mapping 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 mapping property.

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

    getMapping().add(newItem);
 

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



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