BlackBerry Administration API
v5.0.3.29

com.rim.bes.bas.baa
Class AddUsersToGroup

Package class diagram package AddUsersToGroup
java.lang.Object
  extended by com.rim.bes.bas.baa.AddUsersToGroup

public class AddUsersToGroup
extends java.lang.Object

Java class for addUsersToGroup complex type.

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

 <complexType name="addUsersToGroup">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="userIds" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int groupId
           
protected  java.util.List<java.lang.Integer> userIds
           
 
Constructor Summary
AddUsersToGroup()
           
 
Method Summary
 int getGroupId()
          Gets the value of the groupId property.
 java.util.List<java.lang.Integer> getUserIds()
          Gets the value of the userIds property.
 void setGroupId(int value)
          Sets the value of the groupId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupId

protected int groupId

userIds

protected java.util.List<java.lang.Integer> userIds
Constructor Detail

AddUsersToGroup

public AddUsersToGroup()
Method Detail

getGroupId

public int getGroupId()
Gets the value of the groupId property.


setGroupId

public void setGroupId(int value)
Sets the value of the groupId property.


getUserIds

public java.util.List<java.lang.Integer> getUserIds()
Gets the value of the userIds 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 userIds property.

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

    getUserIds().add(newItem);
 

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


BlackBerry Administration API
v5.0.3.29

Copyright 2009 Research In Motion Limited. All Rights Reserved.