public class RuleTypeImpl extends AbstractXACMLObject implements RuleType
RuleType.| Modifier and Type | Field and Description |
|---|---|
private ConditionType |
condition
Condition of the policy.
|
private DescriptionType |
description
Dscription of the rule.
|
private EffectType |
effectType
Effect type of the rule.
|
private java.lang.String |
ruleId
The id of the rule.
|
private TargetType |
target
The rule target.
|
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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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.
|
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
java.lang.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(java.lang.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, setSchemaTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprivate ConditionType condition
private TargetType target
private DescriptionType description
private EffectType effectType
private java.lang.String ruleId
protected RuleTypeImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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 RuleTypepublic DescriptionType getDescription()
getDescription in interface RuleTypepublic EffectType getEffect()
public java.lang.String getRuleId()
public TargetType getTarget()
public void setCondition(ConditionType newCondition)
setCondition in interface RuleTypenewCondition - the condition for this rulepublic void setDescription(DescriptionType newDescription)
setDescription in interface RuleTypenewDescription - the description of this rulepublic void setEffect(EffectType type)
public void setRuleId(java.lang.String id)
public void setTarget(TargetType newTarget)
public java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObject