Class 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 Detail

      • description

        protected String description
      • policySetDefaults

        protected Defaults policySetDefaults
      • target

        protected Target target
      • policySetOrPolicyOrPolicySetIdReference

        protected List<JAXBElement<?>> policySetOrPolicyOrPolicySetIdReference
      • policySetId

        protected String policySetId
      • version

        protected Version version
      • policyCombiningAlgId

        protected String policyCombiningAlgId
      • maxDelegationDepth

        protected BigInteger maxDelegationDepth
    • Constructor Detail

      • PolicySet

        public PolicySet()
    • 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 is String
      • 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 is PolicyIssuer
      • 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 is Defaults
      • 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 is Target
      • setObligationExpressions

        public void setObligationExpressions​(ObligationExpressions value)
        Sets the value of the obligationExpressions property.
        Parameters:
        value - allowed object is ObligationExpressions
      • setAdviceExpressions

        public void setAdviceExpressions​(AdviceExpressions value)
        Sets the value of the adviceExpressions property.
        Parameters:
        value - allowed object is AdviceExpressions
      • 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 is String
      • 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 is Version
      • 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 is String
      • 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 is BigInteger
      • toXML

        public String toXML()
        Default toXML Method to Marshal Object into XML.
        Specified by:
        toXML in interface XACMLRootElement
        Returns:
        String - Marshaled Results into XML String.