BlackBerry Administration API
v5.0.3.29

com.rim.bes.bas.baa.dto
Class FindRolesResultType

Package class diagram package FindRolesResultType
java.lang.Object
  extended by com.rim.bes.bas.dto.BASBaseDTO
      extended by com.rim.bes.bas.baa.dto.FindRolesResultType
Direct Known Subclasses:
FindRolesResult

public abstract class FindRolesResultType
extends BASBaseDTO

Java class for FindRolesResultType complex type.

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

 <complexType name="FindRolesResultType">
   <complexContent>
     <extension base="{http://www.rim.com/com.rim.bes.bas.dto}BASBaseDTO">
       <sequence>
         <element name="findRolesReturnStatus" type="{http://www.rim.com/com.rim.bes.bas.baa.dto}FindRolesReturnStatus" minOccurs="0"/>
         <element name="metadata" type="{http://www.rim.com/com.rim.bes.bas.baa.common.dto}Metadata" minOccurs="0"/>
         <element name="roles" type="{http://www.rim.com/com.rim.bes.bas.dto}Role" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class com.rim.bes.bas.dto.BASBaseDTO
BASBaseDTO.VersionStamps
 
Field Summary
protected  FindRolesReturnStatus findRolesReturnStatus
           
protected  Metadata metadata
           
protected  java.util.List<Role> roles
           
 
Fields inherited from class com.rim.bes.bas.dto.BASBaseDTO
versionStamps
 
Constructor Summary
FindRolesResultType()
           
 
Method Summary
 FindRolesReturnStatus getFindRolesReturnStatus()
          Indicates whether or not an error has occurred.
 Metadata getMetadata()
          Gets the value of the metadata property.
 java.util.List<Role> getRoles()
          All roles.
 void setFindRolesReturnStatus(FindRolesReturnStatus value)
          Sets the value of the findRolesReturnStatus property.
 void setMetadata(Metadata value)
          Sets the value of the metadata property.
 
Methods inherited from class com.rim.bes.bas.dto.BASBaseDTO
getVersionStamps, setVersionStamps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

findRolesReturnStatus

protected FindRolesReturnStatus findRolesReturnStatus

metadata

protected Metadata metadata

roles

protected java.util.List<Role> roles
Constructor Detail

FindRolesResultType

public FindRolesResultType()
Method Detail

getFindRolesReturnStatus

public FindRolesReturnStatus getFindRolesReturnStatus()
Indicates whether or not an error has occurred.

Returns:
possible object is FindRolesReturnStatus

setFindRolesReturnStatus

public void setFindRolesReturnStatus(FindRolesReturnStatus value)
Sets the value of the findRolesReturnStatus property.

Parameters:
value - allowed object is FindRolesReturnStatus

getMetadata

public Metadata getMetadata()
Gets the value of the metadata property.

Returns:
possible object is Metadata

setMetadata

public void setMetadata(Metadata value)
Sets the value of the metadata property.

Parameters:
value - allowed object is Metadata

getRoles

public java.util.List<Role> getRoles()

All roles.

Gets the value of the roles 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 roles property.

For example, to add a new item, do as follows:

    getRoles().add(newItem);
 

Objects of the following type(s) are allowed in the list Role


BlackBerry Administration API
v5.0.3.29

Copyright 2009 Research In Motion Limited. All Rights Reserved.