public class CmisAccessControlEntryType extends 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>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected boolean |
direct |
protected List<String> |
permission |
protected CmisAccessControlPrincipalType |
principal |
Constructor and Description |
---|
CmisAccessControlEntryType() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<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.
|
protected CmisAccessControlPrincipalType principal
protected boolean direct
public CmisAccessControlPrincipalType getPrincipal()
CmisAccessControlPrincipalType
public void setPrincipal(CmisAccessControlPrincipalType value)
value
- allowed object is
CmisAccessControlPrincipalType
public List<String> getPermission()
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
public boolean isDirect()
public void setDirect(boolean value)
public List<Object> getAny()
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-2013 The Apache Software Foundation. All Rights Reserved.