public class Result extends Object implements XACMLRootElement
Java class for ResultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResultType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Decision"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Status" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Obligations" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AssociatedAdvice" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Attributes" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicyIdentifierList" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected AssociatedAdvice |
associatedAdvice |
protected List<Attributes> |
attributes |
protected DecisionType |
decision |
protected Obligations |
obligations |
protected PolicyIdentifierList |
policyIdentifierList |
protected Status |
status |
XACML3_NAMESPACE
Constructor and Description |
---|
Result() |
Modifier and Type | Method and Description |
---|---|
AssociatedAdvice |
getAssociatedAdvice()
Gets the value of the associatedAdvice property.
|
List<Attributes> |
getAttributes()
Gets the value of the attributes property.
|
DecisionType |
getDecision()
Gets the value of the decision property.
|
Obligations |
getObligations()
Gets the value of the obligations property.
|
PolicyIdentifierList |
getPolicyIdentifierList()
Gets the value of the policyIdentifierList property.
|
Status |
getStatus()
Gets the value of the status property.
|
void |
setAssociatedAdvice(AssociatedAdvice value)
Sets the value of the associatedAdvice property.
|
void |
setDecision(DecisionType value)
Sets the value of the decision property.
|
void |
setObligations(Obligations value)
Sets the value of the obligations property.
|
void |
setPolicyIdentifierList(PolicyIdentifierList value)
Sets the value of the policyIdentifierList property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected DecisionType decision
protected Status status
protected Obligations obligations
protected AssociatedAdvice associatedAdvice
protected List<Attributes> attributes
protected PolicyIdentifierList policyIdentifierList
public DecisionType getDecision()
DecisionType
public void setDecision(DecisionType value)
value
- allowed object is
DecisionType
public Status getStatus()
Status
public void setStatus(Status value)
value
- allowed object is
Status
public Obligations getObligations()
Obligations
public void setObligations(Obligations value)
value
- allowed object is
Obligations
public AssociatedAdvice getAssociatedAdvice()
AssociatedAdvice
public void setAssociatedAdvice(AssociatedAdvice value)
value
- allowed object is
AssociatedAdvice
public List<Attributes> getAttributes()
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 attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
Attributes
public PolicyIdentifierList getPolicyIdentifierList()
PolicyIdentifierList
public void setPolicyIdentifierList(PolicyIdentifierList value)
value
- allowed object is
PolicyIdentifierList
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.