public class PolicySet extends Object implements XACMLRootElement
Java class for PolicySetType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PolicySetType"> <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}PolicySetDefaults" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Target"/> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySet"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Policy"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySetIdReference"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyIdReference"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}CombinerParameters"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyCombinerParameters"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySetCombinerParameters"/> </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="PolicySetId" 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="PolicyCombiningAlgId" 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 String |
description |
protected BigInteger |
maxDelegationDepth |
protected ObligationExpressions |
obligationExpressions |
protected String |
policyCombiningAlgId |
protected PolicyIssuer |
policyIssuer |
protected Defaults |
policySetDefaults |
protected String |
policySetId |
protected List<JAXBElement<?>> |
policySetOrPolicyOrPolicySetIdReference |
protected Target |
target |
protected Version |
version |
XACML3_NAMESPACE
Constructor and Description |
---|
PolicySet() |
Modifier and Type | Method and Description |
---|---|
AdviceExpressions |
getAdviceExpressions()
Gets the value of the adviceExpressions 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.
|
String |
getPolicyCombiningAlgId()
Gets the value of the policyCombiningAlgId property.
|
PolicyIssuer |
getPolicyIssuer()
Gets the value of the policyIssuer property.
|
Defaults |
getPolicySetDefaults()
Gets the value of the policySetDefaults property.
|
String |
getPolicySetId()
Gets the value of the policySetId property.
|
List<JAXBElement<?>> |
getPolicySetOrPolicyOrPolicySetIdReference()
Gets the value of the policySetOrPolicyOrPolicySetIdReference 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 |
setPolicyCombiningAlgId(String value)
Sets the value of the policyCombiningAlgId property.
|
void |
setPolicyIssuer(PolicyIssuer value)
Sets the value of the policyIssuer property.
|
void |
setPolicySetDefaults(Defaults value)
Sets the value of the policySetDefaults property.
|
void |
setPolicySetId(String value)
Sets the value of the policySetId 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 policySetDefaults
protected Target target
protected List<JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference
protected ObligationExpressions obligationExpressions
protected AdviceExpressions adviceExpressions
protected String policySetId
protected Version version
protected String policyCombiningAlgId
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 getPolicySetDefaults()
Defaults
public void setPolicySetDefaults(Defaults value)
value
- allowed object is
Defaults
public Target getTarget()
Target
public void setTarget(Target value)
value
- allowed object is
Target
public List<JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference()
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 policySetOrPolicyOrPolicySetIdReference property.
For example, to add a new item, do as follows:
getPolicySetOrPolicyOrPolicySetIdReference().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
PolicySetCombinerParameters
>
JAXBElement
<
IdReference
>
JAXBElement
<
Policy
>
JAXBElement
<
PolicySet
>
JAXBElement
<
IdReference
>
JAXBElement
<
PolicyCombinerParameters
>
JAXBElement
<
CombinerParameters
>
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 getPolicySetId()
String
public void setPolicySetId(String value)
value
- allowed object is
String
public Version getVersion()
Version
public void setVersion(Version value)
value
- allowed object is
Version
public String getPolicyCombiningAlgId()
String
public void setPolicyCombiningAlgId(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.