public class Permissions extends Object
Java class for Permissions complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Permissions">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Permission" maxOccurs="unbounded" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="/permission/device-mgt/user/groups/device_operation"/>
<enumeration value="/permission/device-mgt/groups"/>
<enumeration value="/permission/device-mgt/user/groups"/>
<enumeration value="/permission/device-mgt/user/groups/device_monitor"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
permission |
| Constructor and Description |
|---|
Permissions() |
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
Copyright © 2016 WSO2. All rights reserved.