public class Rule extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString2
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 |
Modifier | Constructor and Description |
---|---|
protected |
Rule()
Default no-arg constructor
|
|
Rule(String description,
Target target,
Condition condition,
ObligationExpressions obligationExpressions,
AdviceExpressions adviceExpressions,
String ruleId,
EffectType effect)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
boolean |
equals(Object object) |
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.
|
int |
hashCode() |
protected void |
setAdviceExpressions(AdviceExpressions value)
Sets the value of the adviceExpressions property.
|
protected void |
setCondition(Condition value)
Sets the value of the condition property.
|
protected void |
setDescription(String value)
Sets the value of the description property.
|
protected void |
setEffect(EffectType value)
Sets the value of the effect property.
|
protected void |
setObligationExpressions(ObligationExpressions value)
Sets the value of the obligationExpressions property.
|
protected void |
setRuleId(String value)
Sets the value of the ruleId property.
|
protected void |
setTarget(Target value)
Sets the value of the target property.
|
String |
toString() |
protected String description
protected Target target
protected Condition condition
protected ObligationExpressions obligationExpressions
protected AdviceExpressions adviceExpressions
protected String ruleId
protected EffectType effect
protected Rule()
public Rule(String description, Target target, Condition condition, ObligationExpressions obligationExpressions, AdviceExpressions adviceExpressions, String ruleId, EffectType effect)
public String getDescription()
String
protected void setDescription(String value)
value
- allowed object is
String
public Target getTarget()
Target
protected void setTarget(Target value)
value
- allowed object is
Target
public Condition getCondition()
Condition
protected void setCondition(Condition value)
value
- allowed object is
Condition
public ObligationExpressions getObligationExpressions()
ObligationExpressions
protected void setObligationExpressions(ObligationExpressions value)
value
- allowed object is
ObligationExpressions
public AdviceExpressions getAdviceExpressions()
AdviceExpressions
protected void setAdviceExpressions(AdviceExpressions value)
value
- allowed object is
AdviceExpressions
public String getRuleId()
String
protected void setRuleId(String value)
value
- allowed object is
String
public EffectType getEffect()
EffectType
protected void setEffect(EffectType value)
value
- allowed object is
EffectType
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString2
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString2
Copyright © 2012–2020. All rights reserved.