public class AdviceExpression extends Object implements XACMLRootElement
Java class for AdviceExpressionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdviceExpressionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeAssignmentExpression" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="AdviceId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="AppliesTo" 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 String |
adviceId |
protected EffectType |
appliesTo |
protected List<AttributeAssignmentExpression> |
attributeAssignmentExpression |
XACML3_NAMESPACE
Constructor and Description |
---|
AdviceExpression() |
Modifier and Type | Method and Description |
---|---|
String |
getAdviceId()
Gets the value of the adviceId property.
|
EffectType |
getAppliesTo()
Gets the value of the appliesTo property.
|
List<AttributeAssignmentExpression> |
getAttributeAssignmentExpression()
Gets the value of the attributeAssignmentExpression property.
|
void |
setAdviceId(String value)
Sets the value of the adviceId property.
|
void |
setAppliesTo(EffectType value)
Sets the value of the appliesTo property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected List<AttributeAssignmentExpression> attributeAssignmentExpression
protected String adviceId
protected EffectType appliesTo
public List<AttributeAssignmentExpression> getAttributeAssignmentExpression()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the attributeAssignmentExpression property.
For example, to add a new item, do as follows:
getAttributeAssignmentExpression().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeAssignmentExpression
public String getAdviceId()
String
public void setAdviceId(String value)
value
- allowed object is
String
public EffectType getAppliesTo()
EffectType
public void setAppliesTo(EffectType value)
value
- allowed object is
EffectType
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.