public static class PermissionsXto.PermissionXto extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="permissionId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="scopes" type="{http://eclipse.org/stardust/ws/v2012a/api}PermissionScope" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
PermissionsXto.PermissionXto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPermissionId()
Gets the value of the permissionId property.
|
List<PermissionScopeXto> |
getScopes()
Gets the value of the scopes property.
|
void |
setPermissionId(String value)
Sets the value of the permissionId property.
|
public String getPermissionId()
Stringpublic void setPermissionId(String value)
value - allowed object is
Stringpublic List<PermissionScopeXto> getScopes()
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 scopes property.
For example, to add a new item, do as follows:
getScopes().add(newItem);
Objects of the following type(s) are allowed in the list
PermissionScopeXto
Copyright © 2016 Eclipse Stardust. All Rights Reserved.