public class PolicyCollection extends Object
Java class for PolicyCollection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyCollection"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="type" type="{http://ws.rim.com/enterprise/admin}PolicyRuleType"/> <element name="collectionValue" type="{http://ws.rim.com/enterprise/admin}PolicyRuleValue" maxOccurs="unbounded" minOccurs="0"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<PolicyRuleValue> |
collectionValue |
protected PolicyRuleType |
type |
Constructor and Description |
---|
PolicyCollection() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<PolicyRuleValue> |
getCollectionValue()
Gets the value of the collectionValue property.
|
PolicyRuleType |
getType()
Gets the value of the type property.
|
void |
setType(PolicyRuleType value)
Sets the value of the type property.
|
protected PolicyRuleType type
protected List<PolicyRuleValue> collectionValue
public PolicyRuleType getType()
PolicyRuleType
public void setType(PolicyRuleType value)
value
- allowed object is PolicyRuleType
public List<PolicyRuleValue> getCollectionValue()
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
collectionValue property.
For example, to add a new item, do as follows:
getCollectionValue().add(newItem);
Objects of the following type(s) are allowed in the list PolicyRuleValue
public List<Object> getAny()
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 any
property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Object
Copyright © 2014. All rights reserved.