Class Result
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.Result
-
- All Implemented Interfaces:
XACMLRootElement
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AssociatedAdvice
associatedAdvice
protected List<Attributes>
attributes
protected DecisionType
decision
protected Obligations
obligations
protected PolicyIdentifierList
policyIdentifierList
protected Status
status
-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
decision
protected DecisionType decision
-
status
protected Status status
-
obligations
protected Obligations obligations
-
associatedAdvice
protected AssociatedAdvice associatedAdvice
-
attributes
protected List<Attributes> attributes
-
policyIdentifierList
protected PolicyIdentifierList policyIdentifierList
-
-
Method Detail
-
getDecision
public DecisionType getDecision()
Gets the value of the decision property.- Returns:
- possible object is
DecisionType
-
setDecision
public void setDecision(DecisionType value)
Sets the value of the decision property.- Parameters:
value
- allowed object isDecisionType
-
getStatus
public Status getStatus()
Gets the value of the status property.- Returns:
- possible object is
Status
-
setStatus
public void setStatus(Status value)
Sets the value of the status property.- Parameters:
value
- allowed object isStatus
-
getObligations
public Obligations getObligations()
Gets the value of the obligations property.- Returns:
- possible object is
Obligations
-
setObligations
public void setObligations(Obligations value)
Sets the value of the obligations property.- Parameters:
value
- allowed object isObligations
-
getAssociatedAdvice
public AssociatedAdvice getAssociatedAdvice()
Gets the value of the associatedAdvice property.- Returns:
- possible object is
AssociatedAdvice
-
setAssociatedAdvice
public void setAssociatedAdvice(AssociatedAdvice value)
Sets the value of the associatedAdvice property.- Parameters:
value
- allowed object isAssociatedAdvice
-
getAttributes
public List<Attributes> getAttributes()
Gets the value of the attributes property.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
-
getPolicyIdentifierList
public PolicyIdentifierList getPolicyIdentifierList()
Gets the value of the policyIdentifierList property.- Returns:
- possible object is
PolicyIdentifierList
-
setPolicyIdentifierList
public void setPolicyIdentifierList(PolicyIdentifierList value)
Sets the value of the policyIdentifierList property.- Parameters:
value
- allowed object isPolicyIdentifierList
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXML
in interfaceXACMLRootElement
- Returns:
- String - Marshaled Results into XML String.
-
-