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:
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 forRuleType.
-
-
Field Summary
Fields Modifier and Type Field Description private org.opensaml.xacml.policy.ConditionTypeconditionCondition of the policy.private org.opensaml.xacml.policy.DescriptionTypedescriptionDscription of the rule.private org.opensaml.xacml.policy.EffectTypeeffectTypeEffect type of the rule.private StringruleIdThe id of the rule.private org.opensaml.xacml.policy.TargetTypetargetThe rule target.
-
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 org.opensaml.xacml.policy.ConditionTypegetCondition()org.opensaml.xacml.policy.DescriptionTypegetDescription()org.opensaml.xacml.policy.EffectTypegetEffect()List<org.opensaml.core.xml.XMLObject>getOrderedChildren()StringgetRuleId()org.opensaml.xacml.policy.TargetTypegetTarget()voidsetCondition(org.opensaml.xacml.policy.ConditionType newCondition)voidsetDescription(org.opensaml.xacml.policy.DescriptionType newDescription)voidsetEffect(org.opensaml.xacml.policy.EffectType type)voidsetRuleId(String id)voidsetTarget(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 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 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getCondition
public org.opensaml.xacml.policy.ConditionType getCondition()
- Specified by:
getConditionin interfaceorg.opensaml.xacml.policy.RuleType
-
getDescription
public org.opensaml.xacml.policy.DescriptionType getDescription()
- Specified by:
getDescriptionin interfaceorg.opensaml.xacml.policy.RuleType
-
getEffect
public org.opensaml.xacml.policy.EffectType getEffect()
- Specified by:
getEffectin interfaceorg.opensaml.xacml.policy.RuleType
-
getRuleId
public String getRuleId()
- Specified by:
getRuleIdin interfaceorg.opensaml.xacml.policy.RuleType
-
getTarget
public org.opensaml.xacml.policy.TargetType getTarget()
- Specified by:
getTargetin interfaceorg.opensaml.xacml.policy.RuleType
-
setCondition
public void setCondition(org.opensaml.xacml.policy.ConditionType newCondition)
- Specified by:
setConditionin interfaceorg.opensaml.xacml.policy.RuleType
-
setDescription
public void setDescription(org.opensaml.xacml.policy.DescriptionType newDescription)
- Specified by:
setDescriptionin interfaceorg.opensaml.xacml.policy.RuleType
-
setEffect
public void setEffect(org.opensaml.xacml.policy.EffectType type)
- Specified by:
setEffectin interfaceorg.opensaml.xacml.policy.RuleType
-
setRuleId
public void setRuleId(String id)
- Specified by:
setRuleIdin interfaceorg.opensaml.xacml.policy.RuleType
-
setTarget
public void setTarget(org.opensaml.xacml.policy.TargetType newTarget)
- Specified by:
setTargetin interfaceorg.opensaml.xacml.policy.RuleType
-
getOrderedChildren
public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceorg.opensaml.core.xml.XMLObject
-
-