Class Rule
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.Rule
-
- All Implemented Interfaces:
XACMLRootElement
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AdviceExpressionsadviceExpressionsprotected Conditionconditionprotected Stringdescriptionprotected EffectTypeeffectprotected ObligationExpressionsobligationExpressionsprotected StringruleIdprotected Targettarget-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Rule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdviceExpressionsgetAdviceExpressions()Gets the value of the adviceExpressions property.ConditiongetCondition()Gets the value of the condition property.StringgetDescription()Gets the value of the description property.EffectTypegetEffect()Gets the value of the effect property.ObligationExpressionsgetObligationExpressions()Gets the value of the obligationExpressions property.StringgetRuleId()Gets the value of the ruleId property.TargetgetTarget()Gets the value of the target property.voidsetAdviceExpressions(AdviceExpressions value)Sets the value of the adviceExpressions property.voidsetCondition(Condition value)Sets the value of the condition property.voidsetDescription(String value)Sets the value of the description property.voidsetEffect(EffectType value)Sets the value of the effect property.voidsetObligationExpressions(ObligationExpressions value)Sets the value of the obligationExpressions property.voidsetRuleId(String value)Sets the value of the ruleId property.voidsetTarget(Target value)Sets the value of the target property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Field Detail
-
description
protected String description
-
target
protected Target target
-
condition
protected Condition condition
-
obligationExpressions
protected ObligationExpressions obligationExpressions
-
adviceExpressions
protected AdviceExpressions adviceExpressions
-
ruleId
protected String ruleId
-
effect
protected EffectType effect
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getTarget
public Target getTarget()
Gets the value of the target property.- Returns:
- possible object is
Target
-
setTarget
public void setTarget(Target value)
Sets the value of the target property.- Parameters:
value- allowed object isTarget
-
getCondition
public Condition getCondition()
Gets the value of the condition property.- Returns:
- possible object is
Condition
-
setCondition
public void setCondition(Condition value)
Sets the value of the condition property.- Parameters:
value- allowed object isCondition
-
getObligationExpressions
public ObligationExpressions getObligationExpressions()
Gets the value of the obligationExpressions property.- Returns:
- possible object is
ObligationExpressions
-
setObligationExpressions
public void setObligationExpressions(ObligationExpressions value)
Sets the value of the obligationExpressions property.- Parameters:
value- allowed object isObligationExpressions
-
getAdviceExpressions
public AdviceExpressions getAdviceExpressions()
Gets the value of the adviceExpressions property.- Returns:
- possible object is
AdviceExpressions
-
setAdviceExpressions
public void setAdviceExpressions(AdviceExpressions value)
Sets the value of the adviceExpressions property.- Parameters:
value- allowed object isAdviceExpressions
-
getRuleId
public String getRuleId()
Gets the value of the ruleId property.- Returns:
- possible object is
String
-
setRuleId
public void setRuleId(String value)
Sets the value of the ruleId property.- Parameters:
value- allowed object isString
-
getEffect
public EffectType getEffect()
Gets the value of the effect property.- Returns:
- possible object is
EffectType
-
setEffect
public void setEffect(EffectType value)
Sets the value of the effect property.- Parameters:
value- allowed object isEffectType
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-