|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.AbstractXMLObject org.opensaml.xml.validation.AbstractValidatingXMLObject org.opensaml.xacml.impl.AbstractXACMLObject org.opensaml.xacml.policy.impl.RuleTypeImpl
public class RuleTypeImpl
Implementation for RuleType
.
Field Summary | |
---|---|
private ConditionType |
condition
Condition of the policy. |
private DescriptionType |
description
Dscription of the rule. |
private EffectType |
effectType
Effect type of the rule. |
private String |
ruleId
The id of the rule. |
private TargetType |
target
The 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 | |
---|---|
protected |
RuleTypeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
ConditionType |
getCondition()
Gets the condition for this rule. |
DescriptionType |
getDescription()
Gets the description of this rule. |
EffectType |
getEffect()
Gets the effect of the rule. |
List<XMLObject> |
getOrderedChildren()
|
String |
getRuleId()
Gets the ID for this rule. |
TargetType |
getTarget()
Gets the target of this rule. |
void |
setCondition(ConditionType newCondition)
Sets the the condition for this rule. |
void |
setDescription(DescriptionType newDescription)
Sets the description of this rule. |
void |
setEffect(EffectType type)
Sets the effect of the rule. |
void |
setRuleId(String id)
Sets the ID for this rule. |
void |
setTarget(TargetType newTarget)
Sets the target of this rule. |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Field Detail |
---|
private ConditionType condition
private TargetType target
private DescriptionType description
private EffectType effectType
private String ruleId
Constructor Detail |
---|
protected RuleTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespaceMethod Detail |
---|
public ConditionType getCondition()
getCondition
in interface RuleType
public DescriptionType getDescription()
getDescription
in interface RuleType
public EffectType getEffect()
getEffect
in interface RuleType
public String getRuleId()
getRuleId
in interface RuleType
public TargetType getTarget()
getTarget
in interface RuleType
public void setCondition(ConditionType newCondition)
setCondition
in interface RuleType
newCondition
- the condition for this rulepublic void setDescription(DescriptionType newDescription)
setDescription
in interface RuleType
newDescription
- the description of this rulepublic void setEffect(EffectType type)
setEffect
in interface RuleType
type
- the effect of the rulepublic void setRuleId(String id)
setRuleId
in interface RuleType
id
- the ID for this rulepublic void setTarget(TargetType newTarget)
setTarget
in interface RuleType
newTarget
- the target of this rulepublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |