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

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

public class CmisPermissionMapping
extends java.lang.Object

Java class for cmisPermissionMapping complex type.

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

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


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  EnumAllowableActionsKey key
           
protected  java.util.List<java.lang.String> permission
           
 
Constructor Summary
CmisPermissionMapping()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 EnumAllowableActionsKey getKey()
          Gets the value of the key property.
 java.util.List<java.lang.String> getPermission()
          Gets the value of the permission property.
 void setKey(EnumAllowableActionsKey value)
          Sets the value of the key property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected EnumAllowableActionsKey key

permission

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

any

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

CmisPermissionMapping

public CmisPermissionMapping()
Method Detail

getKey

public EnumAllowableActionsKey getKey()
Gets the value of the key property.

Returns:
possible object is EnumAllowableActionsKey

setKey

public void setKey(EnumAllowableActionsKey value)
Sets the value of the key property.

Parameters:
value - allowed object is EnumAllowableActionsKey

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


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.