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
public class RuleTypeImpl extends AbstractXACMLObject implements RuleType
Implementation forRuleType.
-
-
Field Summary
Fields Modifier and Type Field Description private ConditionTypeconditionCondition of the policy.private DescriptionTypedescriptionDscription of the rule.private EffectTypeeffectTypeEffect type of the rule.private StringruleIdThe id of the rule.private TargetTypetargetThe 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 protectedRuleTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionTypegetCondition()DescriptionTypegetDescription()EffectTypegetEffect()List<XMLObject>getOrderedChildren()StringgetRuleId()TargetTypegetTarget()voidsetCondition(ConditionType newCondition)voidsetDescription(DescriptionType newDescription)voidsetEffect(EffectType type)voidsetRuleId(String id)voidsetTarget(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 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 Detail
-
condition
private ConditionType condition
Condition of the policy.
-
target
private TargetType target
The rule target.
-
description
private DescriptionType description
Dscription of the rule.
-
effectType
private 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getCondition
public ConditionType getCondition()
- Specified by:
getConditionin interfaceRuleType
-
getDescription
public DescriptionType getDescription()
- Specified by:
getDescriptionin interfaceRuleType
-
getEffect
public EffectType getEffect()
-
getTarget
public TargetType getTarget()
-
setCondition
public void setCondition(ConditionType newCondition)
- Specified by:
setConditionin interfaceRuleType
-
setDescription
public void setDescription(DescriptionType newDescription)
- Specified by:
setDescriptionin interfaceRuleType
-
setEffect
public void setEffect(EffectType type)
-
setTarget
public void setTarget(TargetType newTarget)
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-