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 AdviceExpressions
adviceExpressions
protected Condition
condition
protected String
description
protected EffectType
effect
protected ObligationExpressions
obligationExpressions
protected String
ruleId
protected Target
target
-
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 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.
-
-
-
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:
toXML
in interfaceXACMLRootElement
- Returns:
- String - Marshaled Results into XML String.
-
-