Package org.opensaml.xacml.policy
Interface RuleType
-
- All Superinterfaces:
XACMLObject,XMLObject
public interface RuleType extends XACMLObject
XACML Rule schema type.
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_ELEMENT_LOCAL_NAMELocal name of the element Rule.static QNameDEFAULT_ELEMENT_NAMEQName of the element Rule.static StringEFFECT_ATTRIB_NAMEEffect attribute name.static StringRULE_ID_ATTRIB_NAMERuleId attribute name.static StringSCHEMA_TYPE_LOCAL_NAMELocal name of the XSI type.static QNameSCHEMA_TYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditionTypegetCondition()Gets the condition for this rule.DescriptionTypegetDescription()Gets the description of this rule.EffectTypegetEffect()Gets the effect of the rule.StringgetRuleId()Gets the ID for this rule.TargetTypegetTarget()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.voidsetRuleId(String id)Sets the ID for this rule.voidsetTarget(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 Detail
-
DEFAULT_ELEMENT_LOCAL_NAME
static final String DEFAULT_ELEMENT_LOCAL_NAME
Local name of the element Rule.- See Also:
- Constant Field Values
-
DEFAULT_ELEMENT_NAME
static final QName DEFAULT_ELEMENT_NAME
QName of the element Rule.
-
SCHEMA_TYPE_LOCAL_NAME
static final String SCHEMA_TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
SCHEMA_TYPE_NAME
static final QName SCHEMA_TYPE_NAME
QName of the XSI type.
-
RULE_ID_ATTRIB_NAME
static final String RULE_ID_ATTRIB_NAME
RuleId attribute name.- See Also:
- Constant Field Values
-
EFFECT_ATTRIB_NAME
static final String EFFECT_ATTRIB_NAME
Effect attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
DescriptionType getDescription()
Gets the description of this rule.- Returns:
- description of this rule
-
setDescription
void setDescription(DescriptionType description)
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
void setTarget(TargetType target)
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
void setCondition(ConditionType condition)
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
void setRuleId(String id)
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
void setEffect(EffectType type)
Sets the effect of the rule.- Parameters:
type- the effect of the rule
-
-