Package org.opensaml.xacml.policy
Interface RuleType
- All Superinterfaces:
XACMLObject
,XMLObject
- All Known Implementing Classes:
RuleTypeImpl
XACML Rule schema type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Local name of the element Rule.static final QName
QName of the element Rule.static final String
Effect attribute name.static final String
RuleId attribute name.static final String
Local name of the XSI type.static final QName
QName 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.void
setCondition
(ConditionType condition) Sets the condition for this rule.void
setDescription
(DescriptionType description) 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 target) Sets the target of this rule.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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
-