public class Policy extends Object implements XACMLRootElement
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:3.0:core:schema:wd-17}Description" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyIssuer" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyDefaults" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Target"/> <choice maxOccurs="unbounded"> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}CombinerParameters" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}RuleCombinerParameters" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}VariableDefinition"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Rule"/> </choice> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}ObligationExpressions" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AdviceExpressions" minOccurs="0"/> </sequence> <attribute name="PolicyId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="Version" use="required" type="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}VersionType" /> <attribute name="RuleCombiningAlgId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="MaxDelegationDepth" type="{http://www.w3.org/2001/XMLSchema}integer" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected AdviceExpressions |
adviceExpressions |
protected List<Object> |
combinerParametersOrRuleCombinerParametersOrVariableDefinition |
protected String |
description |
protected BigInteger |
maxDelegationDepth |
protected ObligationExpressions |
obligationExpressions |
protected Defaults |
policyDefaults |
protected String |
policyId |
protected PolicyIssuer |
policyIssuer |
protected String |
ruleCombiningAlgId |
protected Target |
target |
protected Version |
version |
XACML3_NAMESPACE
Constructor and Description |
---|
Policy() |
Modifier and Type | Method and Description |
---|---|
AdviceExpressions |
getAdviceExpressions()
Gets the value of the adviceExpressions property.
|
List<Object> |
getCombinerParametersOrRuleCombinerParametersOrVariableDefinition()
Gets the value of the combinerParametersOrRuleCombinerParametersOrVariableDefinition property.
|
String |
getDescription()
Gets the value of the description property.
|
BigInteger |
getMaxDelegationDepth()
Gets the value of the maxDelegationDepth property.
|
ObligationExpressions |
getObligationExpressions()
Gets the value of the obligationExpressions property.
|
Defaults |
getPolicyDefaults()
Gets the value of the policyDefaults property.
|
String |
getPolicyId()
Gets the value of the policyId property.
|
PolicyIssuer |
getPolicyIssuer()
Gets the value of the policyIssuer property.
|
String |
getRuleCombiningAlgId()
Gets the value of the ruleCombiningAlgId property.
|
Target |
getTarget()
Gets the value of the target property.
|
Version |
getVersion()
Gets the value of the version property.
|
void |
setAdviceExpressions(AdviceExpressions value)
Sets the value of the adviceExpressions property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setMaxDelegationDepth(BigInteger value)
Sets the value of the maxDelegationDepth property.
|
void |
setObligationExpressions(ObligationExpressions value)
Sets the value of the obligationExpressions property.
|
void |
setPolicyDefaults(Defaults value)
Sets the value of the policyDefaults property.
|
void |
setPolicyId(String value)
Sets the value of the policyId property.
|
void |
setPolicyIssuer(PolicyIssuer value)
Sets the value of the policyIssuer property.
|
void |
setRuleCombiningAlgId(String value)
Sets the value of the ruleCombiningAlgId property.
|
void |
setTarget(Target value)
Sets the value of the target property.
|
void |
setVersion(Version value)
Sets the value of the version property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected String description
protected PolicyIssuer policyIssuer
protected Defaults policyDefaults
protected Target target
protected List<Object> combinerParametersOrRuleCombinerParametersOrVariableDefinition
protected ObligationExpressions obligationExpressions
protected AdviceExpressions adviceExpressions
protected String policyId
protected Version version
protected String ruleCombiningAlgId
protected BigInteger maxDelegationDepth
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public PolicyIssuer getPolicyIssuer()
PolicyIssuer
public void setPolicyIssuer(PolicyIssuer value)
value
- allowed object is
PolicyIssuer
public Defaults getPolicyDefaults()
Defaults
public void setPolicyDefaults(Defaults value)
value
- allowed object is
Defaults
public Target getTarget()
Target
public void setTarget(Target value)
value
- allowed object is
Target
public 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
CombinerParameters
VariableDefinition
RuleCombinerParameters
Rule
public ObligationExpressions getObligationExpressions()
ObligationExpressions
public void setObligationExpressions(ObligationExpressions value)
value
- allowed object is
ObligationExpressions
public AdviceExpressions getAdviceExpressions()
AdviceExpressions
public void setAdviceExpressions(AdviceExpressions value)
value
- allowed object is
AdviceExpressions
public String getPolicyId()
String
public void setPolicyId(String value)
value
- allowed object is
String
public Version getVersion()
Version
public void setVersion(Version value)
value
- allowed object is
Version
public String getRuleCombiningAlgId()
String
public void setRuleCombiningAlgId(String value)
value
- allowed object is
String
public BigInteger getMaxDelegationDepth()
BigInteger
public void setMaxDelegationDepth(BigInteger value)
value
- allowed object is
BigInteger
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.