org.eclipse.stardust.engine.api.ws
Class PermissionsXto.PermissionXto

java.lang.Object
  extended by org.eclipse.stardust.engine.api.ws.PermissionsXto.PermissionXto
Enclosing class:
PermissionsXto

public static class PermissionsXto.PermissionXto
extends Object

Represents a permission that is granted by using the declarative security aspect of the workflow engine.

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 Summary
PermissionsXto.PermissionXto()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionsXto.PermissionXto

public PermissionsXto.PermissionXto()
Method Detail

getPermissionId

public String getPermissionId()
Gets the value of the permissionId property.

Returns:
possible object is String

setPermissionId

public void setPermissionId(String value)
Sets the value of the permissionId property.

Parameters:
value - allowed object is String

getScopes

public List<PermissionScopeXto> getScopes()
Gets the value of the scopes 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 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 © 2017 Eclipse Stardust. All Rights Reserved.