Package org.opensaml.xacml.policy.impl
Class RuleTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xacml.impl.AbstractXACMLObject
org.opensaml.xacml.policy.impl.RuleTypeImpl
- All Implemented Interfaces:
XMLObject
,RuleType
,XACMLObject
Implementation for
RuleType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ConditionType
Condition of the policy.private DescriptionType
Dscription of the rule.private EffectType
Effect type of the rule.private String
The id of the rule.private TargetType
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
ConstructorsModifierConstructorDescriptionprotected
RuleTypeImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the condition for this rule.Gets the description of this rule.Gets the effect of the rule.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the ID for this rule.Gets the target of this rule.void
setCondition
(ConditionType newCondition) Sets the condition for this rule.void
setDescription
(DescriptionType newDescription) Sets the description of this rule.void
setEffect
(EffectType type) Sets the effect of the rule.void
Sets the ID for this rule.void
setTarget
(TargetType newTarget) Sets the target of this rule.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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 Details
-
condition
Condition of the policy. -
target
The rule target. -
description
Dscription of the rule. -
effectType
Effect type of the rule. -
ruleId
The id of the rule.
-
-
Constructor Details
-
RuleTypeImpl
Constructor.- Parameters:
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespace
-
-
Method Details
-
getCondition
Gets the condition for this rule.- Specified by:
getCondition
in interfaceRuleType
- Returns:
- the condition for this rule
-
getDescription
Gets the description of this rule.- Specified by:
getDescription
in interfaceRuleType
- Returns:
- description of this rule
-
getEffect
Gets the effect of the rule. -
getRuleId
Gets the ID for this rule. -
getTarget
Gets the target of this rule. -
setCondition
Sets the condition for this rule.- Specified by:
setCondition
in interfaceRuleType
- Parameters:
newCondition
- the condition for this rule
-
setDescription
Sets the description of this rule.- Specified by:
setDescription
in interfaceRuleType
- Parameters:
newDescription
- the description of this rule
-
setEffect
Sets the effect of the rule. -
setRuleId
Sets the ID for this rule. -
setTarget
Sets the target of this rule. -
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-