public class Rule extends Object implements XACMLRootElement
Java class for RuleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RuleType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Description" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Target" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Condition" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}ObligationExpressions" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AdviceExpressions" minOccurs="0"/> </sequence> <attribute name="RuleId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Effect" use="required" type="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}EffectType" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected AdviceExpressions |
adviceExpressions |
protected Condition |
condition |
protected String |
description |
protected EffectType |
effect |
protected ObligationExpressions |
obligationExpressions |
protected String |
ruleId |
protected Target |
target |
XACML3_NAMESPACE
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
AdviceExpressions |
getAdviceExpressions()
Gets the value of the adviceExpressions property.
|
Condition |
getCondition()
Gets the value of the condition property.
|
String |
getDescription()
Gets the value of the description property.
|
EffectType |
getEffect()
Gets the value of the effect property.
|
ObligationExpressions |
getObligationExpressions()
Gets the value of the obligationExpressions property.
|
String |
getRuleId()
Gets the value of the ruleId property.
|
Target |
getTarget()
Gets the value of the target property.
|
void |
setAdviceExpressions(AdviceExpressions value)
Sets the value of the adviceExpressions property.
|
void |
setCondition(Condition value)
Sets the value of the condition property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEffect(EffectType value)
Sets the value of the effect property.
|
void |
setObligationExpressions(ObligationExpressions value)
Sets the value of the obligationExpressions property.
|
void |
setRuleId(String value)
Sets the value of the ruleId property.
|
void |
setTarget(Target value)
Sets the value of the target property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected String description
protected Target target
protected Condition condition
protected ObligationExpressions obligationExpressions
protected AdviceExpressions adviceExpressions
protected String ruleId
protected EffectType effect
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public Target getTarget()
Target
public void setTarget(Target value)
value
- allowed object is
Target
public Condition getCondition()
Condition
public void setCondition(Condition value)
value
- allowed object is
Condition
public ObligationExpressions getObligationExpressions()
ObligationExpressions
public void setObligationExpressions(ObligationExpressions value)
value
- allowed object is
ObligationExpressions
public AdviceExpressions getAdviceExpressions()
AdviceExpressions
public void setAdviceExpressions(AdviceExpressions value)
value
- allowed object is
AdviceExpressions
public String getRuleId()
String
public void setRuleId(String value)
value
- allowed object is
String
public EffectType getEffect()
EffectType
public void setEffect(EffectType value)
value
- allowed object is
EffectType
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.