public class PolicyRule extends Object
Java class for PolicyRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyRule"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="tag" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="subTag" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="type" type="{http://ws.rim.com/enterprise/admin}PolicyRuleType"/> <element name="policyRuleValue" type="{http://ws.rim.com/enterprise/admin}PolicyRuleValue" minOccurs="0"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected String |
name |
protected PolicyRuleValue |
policyRuleValue |
protected int |
subTag |
protected int |
tag |
protected PolicyRuleType |
type |
Constructor and Description |
---|
PolicyRule() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getName()
Gets the value of the name property.
|
PolicyRuleValue |
getPolicyRuleValue()
Gets the value of the policyRuleValue property.
|
int |
getSubTag()
Gets the value of the subTag property.
|
int |
getTag()
Gets the value of the tag property.
|
PolicyRuleType |
getType()
Gets the value of the type property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPolicyRuleValue(PolicyRuleValue value)
Sets the value of the policyRuleValue property.
|
void |
setSubTag(int value)
Sets the value of the subTag property.
|
void |
setTag(int value)
Sets the value of the tag property.
|
void |
setType(PolicyRuleType value)
Sets the value of the type property.
|
protected int tag
protected int subTag
protected String name
protected PolicyRuleType type
protected PolicyRuleValue policyRuleValue
public int getTag()
public void setTag(int value)
public int getSubTag()
public void setSubTag(int value)
public String getName()
String
public void setName(String value)
value
- allowed object is String
public PolicyRuleType getType()
PolicyRuleType
public void setType(PolicyRuleType value)
value
- allowed object is PolicyRuleType
public PolicyRuleValue getPolicyRuleValue()
PolicyRuleValue
public void setPolicyRuleValue(PolicyRuleValue value)
value
- allowed object is 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.