Package org.opensaml.xacml.policy
Interface RuleType
- All Superinterfaces:
XACMLObject,XMLObject
XACML Rule schema type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringLocal name of the element Rule.static final QNameQName of the element Rule.static final StringEffect attribute name.static final StringRuleId attribute name.static final StringLocal name of the XSI type.static final QNameQName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the condition for this rule.Gets the description of this rule.Gets the effect of the rule.Gets the ID for this rule.Gets the target of this rule.voidsetCondition(ConditionType condition) Sets the condition for this rule.voidsetDescription(DescriptionType description) Sets the description of this rule.voidsetEffect(EffectType type) Sets the effect of the rule.voidSets the ID for this rule.voidsetTarget(TargetType target) Sets the target of this rule.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Local name of the element Rule.- See Also:
-
DEFAULT_ELEMENT_NAME
QName of the element Rule. -
SCHEMA_TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
SCHEMA_TYPE_NAME
QName of the XSI type. -
RULE_ID_ATTRIB_NAME
RuleId attribute name.- See Also:
-
EFFECT_ATTRIB_NAME
Effect attribute name.- See Also:
-
-
Method Details
-
getDescription
DescriptionType getDescription()Gets the description of this rule.- Returns:
- description of this rule
-
setDescription
Sets the description of this rule.- Parameters:
description- the description of this rule
-
getTarget
TargetType getTarget()Gets the target of this rule.- Returns:
- the target of this rule
-
setTarget
Sets the target of this rule.- Parameters:
target- the target of this rule
-
getCondition
ConditionType getCondition()Gets the condition for this rule.- Returns:
- the condition for this rule
-
setCondition
Sets the condition for this rule.- Parameters:
condition- the condition for this rule
-
getRuleId
String getRuleId()Gets the ID for this rule.- Returns:
- the ID for this rule
-
setRuleId
Sets the ID for this rule.- Parameters:
id- the ID for this rule
-
getEffect
EffectType getEffect()Gets the effect of the rule.- Returns:
- the effect of the rule
-
setEffect
Sets the effect of the rule.- Parameters:
type- the effect of the rule
-