public class PolicyType extends Object
Java class for PolicyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicyType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Description" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}PolicyDefaults" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Target"/>
<choice maxOccurs="unbounded">
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}CombinerParameters" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}RuleCombinerParameters" minOccurs="0"/>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VariableDefinition"/>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Rule"/>
</choice>
<element ref="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}Obligations" minOccurs="0"/>
</sequence>
<attribute name="PolicyId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="Version" type="{urn:oasis:names:tc:xacml:2.0:policy:schema:os}VersionType" default="1.0" />
<attribute name="RuleCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
combinerParametersOrRuleCombinerParametersOrVariableDefinition |
protected String |
description |
protected ObligationsType |
obligations |
protected DefaultsType |
policyDefaults |
protected String |
policyId |
protected String |
ruleCombiningAlgId |
protected TargetType |
target |
protected String |
version |
| Constructor and Description |
|---|
PolicyType() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getCombinerParametersOrRuleCombinerParametersOrVariableDefinition()
Gets the value of the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
|
String |
getDescription()
Gets the value of the description property.
|
ObligationsType |
getObligations()
Gets the value of the obligations property.
|
DefaultsType |
getPolicyDefaults()
Gets the value of the policyDefaults property.
|
String |
getPolicyId()
Gets the value of the policyId property.
|
String |
getRuleCombiningAlgId()
Gets the value of the ruleCombiningAlgId property.
|
TargetType |
getTarget()
Gets the value of the target property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setObligations(ObligationsType value)
Sets the value of the obligations property.
|
void |
setPolicyDefaults(DefaultsType value)
Sets the value of the policyDefaults property.
|
void |
setPolicyId(String value)
Sets the value of the policyId property.
|
void |
setRuleCombiningAlgId(String value)
Sets the value of the ruleCombiningAlgId property.
|
void |
setTarget(TargetType value)
Sets the value of the target property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected String description
protected DefaultsType policyDefaults
protected TargetType target
protected List<Object> combinerParametersOrRuleCombinerParametersOrVariableDefinition
protected ObligationsType obligations
protected String policyId
protected String version
protected String ruleCombiningAlgId
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic DefaultsType getPolicyDefaults()
DefaultsTypepublic void setPolicyDefaults(DefaultsType value)
value - allowed object is
DefaultsTypepublic TargetType getTarget()
TargetTypepublic void setTarget(TargetType value)
value - allowed object is
TargetTypepublic List<Object> getCombinerParametersOrRuleCombinerParametersOrVariableDefinition()
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 combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
For example, to add a new item, do as follows:
getCombinerParametersOrRuleCombinerParametersOrVariableDefinition().add(newItem);
Objects of the following type(s) are allowed in the list
CombinerParametersType
RuleType
VariableDefinitionType
RuleCombinerParametersType
public ObligationsType getObligations()
ObligationsTypepublic void setObligations(ObligationsType value)
value - allowed object is
ObligationsTypepublic String getPolicyId()
Stringpublic void setPolicyId(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getRuleCombiningAlgId()
StringCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.