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

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

public class CmisPermissionDefinition
extends java.lang.Object

Java class for cmisPermissionDefinition complex type.

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

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


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

Field Detail

permission

protected java.lang.String permission

description

protected java.lang.String description

any

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

CmisPermissionDefinition

public CmisPermissionDefinition()
Method Detail

getPermission

public java.lang.String getPermission()
Gets the value of the permission property.

Returns:
possible object is String

setPermission

public void setPermission(java.lang.String value)
Sets the value of the permission property.

Parameters:
value - allowed object is String

getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is 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.