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 ConditionTypeCondition of the policy.private DescriptionTypeDscription of the rule.private EffectTypeEffect type of the rule.private StringThe id of the rule.private TargetTypeThe 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
ConstructorsModifierConstructorDescriptionprotectedRuleTypeImpl(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.voidsetCondition(ConditionType newCondition) Sets the condition for this rule.voidsetDescription(DescriptionType newDescription) Sets the description of this rule.voidsetEffect(EffectType type) Sets the effect of the rule.voidSets the ID for this rule.voidsetTarget(TargetType newTarget) Sets the target of this rule.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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:
getConditionin interfaceRuleType- Returns:
- the condition for this rule
-
getDescription
Gets the description of this rule.- Specified by:
getDescriptionin 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:
setConditionin interfaceRuleType- Parameters:
newCondition- the condition for this rule
-
setDescription
Sets the description of this rule.- Specified by:
setDescriptionin 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:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-