Class RuleTypeImpl

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

    public class RuleTypeImpl
    extends AbstractXACMLObject
    implements org.opensaml.xacml.policy.RuleType
    Implementation for RuleType.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.xacml.policy.ConditionType condition
      Condition of the policy.
      private org.opensaml.xacml.policy.DescriptionType description
      Dscription of the rule.
      private org.opensaml.xacml.policy.EffectType effectType
      Effect type of the rule.
      private String ruleId
      The id of the rule.
      private org.opensaml.xacml.policy.TargetType target
      The rule target.
      • Fields inherited from interface org.opensaml.xacml.policy.RuleType

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, EFFECT_ATTRIB_NAME, RULE_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.xacml.policy.ConditionType getCondition()
      org.opensaml.xacml.policy.DescriptionType getDescription()
      org.opensaml.xacml.policy.EffectType getEffect()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getRuleId()
      org.opensaml.xacml.policy.TargetType getTarget()
      void setCondition​(org.opensaml.xacml.policy.ConditionType newCondition)
      void setDescription​(org.opensaml.xacml.policy.DescriptionType newDescription)
      void setEffect​(org.opensaml.xacml.policy.EffectType type)
      void setRuleId​(String id)
      void setTarget​(org.opensaml.xacml.policy.TargetType newTarget)
      • 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

      • condition

        private org.opensaml.xacml.policy.ConditionType condition
        Condition of the policy.
      • target

        private org.opensaml.xacml.policy.TargetType target
        The rule target.
      • description

        private org.opensaml.xacml.policy.DescriptionType description
        Dscription of the rule.
      • effectType

        private org.opensaml.xacml.policy.EffectType effectType
        Effect type of the rule.
      • ruleId

        private String ruleId
        The id of the rule.
    • Constructor Detail

      • RuleTypeImpl

        protected RuleTypeImpl​(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

      • getCondition

        public org.opensaml.xacml.policy.ConditionType getCondition()
        Specified by:
        getCondition in interface org.opensaml.xacml.policy.RuleType
      • getDescription

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

        public org.opensaml.xacml.policy.EffectType getEffect()
        Specified by:
        getEffect in interface org.opensaml.xacml.policy.RuleType
      • getRuleId

        public String getRuleId()
        Specified by:
        getRuleId in interface org.opensaml.xacml.policy.RuleType
      • getTarget

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

        public void setCondition​(org.opensaml.xacml.policy.ConditionType newCondition)
        Specified by:
        setCondition in interface org.opensaml.xacml.policy.RuleType
      • setDescription

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

        public void setEffect​(org.opensaml.xacml.policy.EffectType type)
        Specified by:
        setEffect in interface org.opensaml.xacml.policy.RuleType
      • setRuleId

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

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

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