Class PolicySet
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.PolicySet
-
- All Implemented Interfaces:
XACMLRootElement
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AdviceExpressionsadviceExpressionsprotected Stringdescriptionprotected BigIntegermaxDelegationDepthprotected ObligationExpressionsobligationExpressionsprotected StringpolicyCombiningAlgIdprotected PolicyIssuerpolicyIssuerprotected DefaultspolicySetDefaultsprotected StringpolicySetIdprotected List<JAXBElement<?>>policySetOrPolicyOrPolicySetIdReferenceprotected Targettargetprotected Versionversion-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description PolicySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdviceExpressionsgetAdviceExpressions()Gets the value of the adviceExpressions property.StringgetDescription()Gets the value of the description property.BigIntegergetMaxDelegationDepth()Gets the value of the maxDelegationDepth property.ObligationExpressionsgetObligationExpressions()Gets the value of the obligationExpressions property.StringgetPolicyCombiningAlgId()Gets the value of the policyCombiningAlgId property.PolicyIssuergetPolicyIssuer()Gets the value of the policyIssuer property.DefaultsgetPolicySetDefaults()Gets the value of the policySetDefaults property.StringgetPolicySetId()Gets the value of the policySetId property.List<JAXBElement<?>>getPolicySetOrPolicyOrPolicySetIdReference()Gets the value of the policySetOrPolicyOrPolicySetIdReference property.TargetgetTarget()Gets the value of the target property.VersiongetVersion()Gets the value of the version property.voidsetAdviceExpressions(AdviceExpressions value)Sets the value of the adviceExpressions property.voidsetDescription(String value)Sets the value of the description property.voidsetMaxDelegationDepth(BigInteger value)Sets the value of the maxDelegationDepth property.voidsetObligationExpressions(ObligationExpressions value)Sets the value of the obligationExpressions property.voidsetPolicyCombiningAlgId(String value)Sets the value of the policyCombiningAlgId property.voidsetPolicyIssuer(PolicyIssuer value)Sets the value of the policyIssuer property.voidsetPolicySetDefaults(Defaults value)Sets the value of the policySetDefaults property.voidsetPolicySetId(String value)Sets the value of the policySetId property.voidsetTarget(Target value)Sets the value of the target property.voidsetVersion(Version value)Sets the value of the version property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
description
protected String description
-
policyIssuer
protected PolicyIssuer policyIssuer
-
policySetDefaults
protected Defaults policySetDefaults
-
target
protected Target target
-
policySetOrPolicyOrPolicySetIdReference
protected List<JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference
-
obligationExpressions
protected ObligationExpressions obligationExpressions
-
adviceExpressions
protected AdviceExpressions adviceExpressions
-
policySetId
protected String policySetId
-
version
protected Version version
-
policyCombiningAlgId
protected String policyCombiningAlgId
-
maxDelegationDepth
protected BigInteger maxDelegationDepth
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getPolicyIssuer
public PolicyIssuer getPolicyIssuer()
Gets the value of the policyIssuer property.- Returns:
- possible object is
PolicyIssuer
-
setPolicyIssuer
public void setPolicyIssuer(PolicyIssuer value)
Sets the value of the policyIssuer property.- Parameters:
value- allowed object isPolicyIssuer
-
getPolicySetDefaults
public Defaults getPolicySetDefaults()
Gets the value of the policySetDefaults property.- Returns:
- possible object is
Defaults
-
setPolicySetDefaults
public void setPolicySetDefaults(Defaults value)
Sets the value of the policySetDefaults property.- Parameters:
value- allowed object isDefaults
-
getTarget
public Target getTarget()
Gets the value of the target property.- Returns:
- possible object is
Target
-
setTarget
public void setTarget(Target value)
Sets the value of the target property.- Parameters:
value- allowed object isTarget
-
getPolicySetOrPolicyOrPolicySetIdReference
public List<JAXBElement<?>> getPolicySetOrPolicyOrPolicySetIdReference()
Gets the value of the policySetOrPolicyOrPolicySetIdReference property.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
setmethod 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>
-
getObligationExpressions
public ObligationExpressions getObligationExpressions()
Gets the value of the obligationExpressions property.- Returns:
- possible object is
ObligationExpressions
-
setObligationExpressions
public void setObligationExpressions(ObligationExpressions value)
Sets the value of the obligationExpressions property.- Parameters:
value- allowed object isObligationExpressions
-
getAdviceExpressions
public AdviceExpressions getAdviceExpressions()
Gets the value of the adviceExpressions property.- Returns:
- possible object is
AdviceExpressions
-
setAdviceExpressions
public void setAdviceExpressions(AdviceExpressions value)
Sets the value of the adviceExpressions property.- Parameters:
value- allowed object isAdviceExpressions
-
getPolicySetId
public String getPolicySetId()
Gets the value of the policySetId property.- Returns:
- possible object is
String
-
setPolicySetId
public void setPolicySetId(String value)
Sets the value of the policySetId property.- Parameters:
value- allowed object isString
-
getVersion
public Version getVersion()
Gets the value of the version property.- Returns:
- possible object is
Version
-
setVersion
public void setVersion(Version value)
Sets the value of the version property.- Parameters:
value- allowed object isVersion
-
getPolicyCombiningAlgId
public String getPolicyCombiningAlgId()
Gets the value of the policyCombiningAlgId property.- Returns:
- possible object is
String
-
setPolicyCombiningAlgId
public void setPolicyCombiningAlgId(String value)
Sets the value of the policyCombiningAlgId property.- Parameters:
value- allowed object isString
-
getMaxDelegationDepth
public BigInteger getMaxDelegationDepth()
Gets the value of the maxDelegationDepth property.- Returns:
- possible object is
BigInteger
-
setMaxDelegationDepth
public void setMaxDelegationDepth(BigInteger value)
Sets the value of the maxDelegationDepth property.- Parameters:
value- allowed object isBigInteger
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-