Class PolicyTypeImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.xacml.policy.PolicyType, org.opensaml.xacml.XACMLObject

    public class PolicyTypeImpl
    extends AbstractXACMLObject
    implements org.opensaml.xacml.policy.PolicyType
    Concrete implemenation of PolicyType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<? extends org.opensaml.xacml.XACMLObject> choiceGroup
      Elements within the choice group.
      private org.opensaml.xacml.policy.DescriptionType description
      Policy description.
      private org.opensaml.xacml.policy.ObligationsType obligations
      Policy obligations.
      private org.opensaml.xacml.policy.DefaultsType policyDefaults
      Policy defaults.
      private String policyId
      ID of this policy.
      private String ruleCombiningAlgo
      Rule combinging algorithm ID.
      private org.opensaml.xacml.policy.TargetType target
      Policy target.
      private String version
      Version of this policy.
      • Fields inherited from interface org.opensaml.xacml.policy.PolicyType

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, POLICY_ID_ATTRIB_NAME, RULE_COMBINING_ALG_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME, VERSION_ATTRIB_NAME, VERSION_DEFAULT_VALUE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PolicyTypeImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.xacml.policy.CombinerParametersType> getCombinerParameters()
      org.opensaml.xacml.policy.DescriptionType getDescription()
      org.opensaml.xacml.policy.ObligationsType getObligations()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      org.opensaml.xacml.policy.DefaultsType getPolicyDefaults()
      String getPolicyId()
      List<org.opensaml.xacml.policy.RuleCombinerParametersType> getRuleCombinerParameters()
      String getRuleCombiningAlgoId()
      List<org.opensaml.xacml.policy.RuleType> getRules()
      org.opensaml.xacml.policy.TargetType getTarget()
      List<org.opensaml.xacml.policy.VariableDefinitionType> getVariableDefinitions()
      String getVersion()
      void setDescription​(org.opensaml.xacml.policy.DescriptionType newDescription)
      void setObligations​(org.opensaml.xacml.policy.ObligationsType newObligations)
      void setPolicyDefaults​(org.opensaml.xacml.policy.DefaultsType defaults)
      void setPolicyId​(String id)
      void setRuleCombiningAlgoId​(String id)
      void setTarget​(org.opensaml.xacml.policy.TargetType newTarget)
      void setVersion​(String newVersion)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • description

        private org.opensaml.xacml.policy.DescriptionType description
        Policy description.
      • policyDefaults

        private org.opensaml.xacml.policy.DefaultsType policyDefaults
        Policy defaults.
      • target

        private org.opensaml.xacml.policy.TargetType target
        Policy target.
      • choiceGroup

        private org.opensaml.core.xml.util.IndexedXMLObjectChildrenList<? extends org.opensaml.xacml.XACMLObject> choiceGroup
        Elements within the choice group.
      • obligations

        private org.opensaml.xacml.policy.ObligationsType obligations
        Policy obligations.
      • policyId

        private String policyId
        ID of this policy.
      • version

        private String version
        Version of this policy.
      • ruleCombiningAlgo

        private String ruleCombiningAlgo
        Rule combinging algorithm ID.
    • Constructor Detail

      • PolicyTypeImpl

        protected PolicyTypeImpl​(String namespaceURI,
                                 String elementLocalName,
                                 String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - the namespace the element is in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getCombinerParameters

        public List<org.opensaml.xacml.policy.CombinerParametersType> getCombinerParameters()
        Specified by:
        getCombinerParameters in interface org.opensaml.xacml.policy.PolicyType
      • getDescription

        public org.opensaml.xacml.policy.DescriptionType getDescription()
        Specified by:
        getDescription in interface org.opensaml.xacml.policy.PolicyType
      • getObligations

        public org.opensaml.xacml.policy.ObligationsType getObligations()
        Specified by:
        getObligations in interface org.opensaml.xacml.policy.PolicyType
      • getPolicyDefaults

        public org.opensaml.xacml.policy.DefaultsType getPolicyDefaults()
        Specified by:
        getPolicyDefaults in interface org.opensaml.xacml.policy.PolicyType
      • getPolicyId

        public String getPolicyId()
        Specified by:
        getPolicyId in interface org.opensaml.xacml.policy.PolicyType
      • getRuleCombinerParameters

        public List<org.opensaml.xacml.policy.RuleCombinerParametersType> getRuleCombinerParameters()
        Specified by:
        getRuleCombinerParameters in interface org.opensaml.xacml.policy.PolicyType
      • getRuleCombiningAlgoId

        public String getRuleCombiningAlgoId()
        Specified by:
        getRuleCombiningAlgoId in interface org.opensaml.xacml.policy.PolicyType
      • getRules

        public List<org.opensaml.xacml.policy.RuleType> getRules()
        Specified by:
        getRules in interface org.opensaml.xacml.policy.PolicyType
      • getTarget

        public org.opensaml.xacml.policy.TargetType getTarget()
        Specified by:
        getTarget in interface org.opensaml.xacml.policy.PolicyType
      • getVariableDefinitions

        public List<org.opensaml.xacml.policy.VariableDefinitionType> getVariableDefinitions()
        Specified by:
        getVariableDefinitions in interface org.opensaml.xacml.policy.PolicyType
      • getVersion

        public String getVersion()
        Specified by:
        getVersion in interface org.opensaml.xacml.policy.PolicyType
      • setDescription

        public void setDescription​(org.opensaml.xacml.policy.DescriptionType newDescription)
        Specified by:
        setDescription in interface org.opensaml.xacml.policy.PolicyType
      • setObligations

        public void setObligations​(org.opensaml.xacml.policy.ObligationsType newObligations)
        Specified by:
        setObligations in interface org.opensaml.xacml.policy.PolicyType
      • setPolicyDefaults

        public void setPolicyDefaults​(org.opensaml.xacml.policy.DefaultsType defaults)
        Specified by:
        setPolicyDefaults in interface org.opensaml.xacml.policy.PolicyType
      • setPolicyId

        public void setPolicyId​(String id)
        Specified by:
        setPolicyId in interface org.opensaml.xacml.policy.PolicyType
      • setRuleCombiningAlgoId

        public void setRuleCombiningAlgoId​(String id)
        Specified by:
        setRuleCombiningAlgoId in interface org.opensaml.xacml.policy.PolicyType
      • setTarget

        public void setTarget​(org.opensaml.xacml.policy.TargetType newTarget)
        Specified by:
        setTarget in interface org.opensaml.xacml.policy.PolicyType
      • setVersion

        public void setVersion​(String newVersion)
        Specified by:
        setVersion in interface org.opensaml.xacml.policy.PolicyType
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject