public class RuleTypeImpl extends AbstractXACMLObject implements RuleType
RuleType
.DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, EFFECT_ATTRIB_NAME, RULE_ID_ATTRIB_NAME, SCHEMA_TYPE_LOCAL_NAME, SCHEMA_TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
RuleTypeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
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.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
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 namespacepublic ConditionType getCondition()
getCondition
in interface RuleType
public DescriptionType getDescription()
getDescription
in interface RuleType
public EffectType getEffect()
public String getRuleId()
public TargetType getTarget()
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)
public void setRuleId(String id)
public void setTarget(TargetType newTarget)
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2016 JBoss by Red Hat. All rights reserved.