public class Policy extends Object
Java class for Policy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Policy"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="localeNameAndDescription" type="{http://ws.rim.com/enterprise/admin}LocaleNameAndDescription" maxOccurs="unbounded" minOccurs="0"/> <element name="organizationUid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="priority" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="policyRules" type="{http://ws.rim.com/enterprise/admin}PolicyRule" maxOccurs="unbounded" minOccurs="0"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<LocaleNameAndDescription> |
localeNameAndDescription |
protected String |
name |
protected String |
organizationUid |
protected List<PolicyRule> |
policyRules |
protected String |
priority |
protected String |
uid |
Constructor and Description |
---|
Policy() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<LocaleNameAndDescription> |
getLocaleNameAndDescription()
Gets the value of the localeNameAndDescription property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOrganizationUid()
Gets the value of the organizationUid property.
|
List<PolicyRule> |
getPolicyRules()
Gets the value of the policyRules property.
|
String |
getPriority()
Gets the value of the priority property.
|
String |
getUid()
Gets the value of the uid property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOrganizationUid(String value)
Sets the value of the organizationUid property.
|
void |
setPriority(String value)
Sets the value of the priority property.
|
void |
setUid(String value)
Sets the value of the uid property.
|
protected String uid
protected String name
protected List<LocaleNameAndDescription> localeNameAndDescription
protected String organizationUid
protected String priority
protected List<PolicyRule> policyRules
public void setUid(String value)
value
- allowed object is String
public String getName()
String
public void setName(String value)
value
- allowed object is String
public List<LocaleNameAndDescription> getLocaleNameAndDescription()
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
localeNameAndDescription property.
For example, to add a new item, do as follows:
getLocaleNameAndDescription().add(newItem);
Objects of the following type(s) are allowed in the list LocaleNameAndDescription
public String getOrganizationUid()
String
public void setOrganizationUid(String value)
value
- allowed object is String
public String getPriority()
String
public void setPriority(String value)
value
- allowed object is String
public List<PolicyRule> getPolicyRules()
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
policyRules property.
For example, to add a new item, do as follows:
getPolicyRules().add(newItem);
Objects of the following type(s) are allowed in the list PolicyRule
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.