Class 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>
     
    • Constructor Detail

      • Result

        public Result()
    • 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 is DecisionType
      • 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 is Status
      • 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 is Obligations
      • 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 is AssociatedAdvice
      • 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

      • setPolicyIdentifierList

        public void setPolicyIdentifierList​(PolicyIdentifierList value)
        Sets the value of the policyIdentifierList property.
        Parameters:
        value - allowed object is PolicyIdentifierList
      • toXML

        public String toXML()
        Default toXML Method to Marshal Object into XML.
        Specified by:
        toXML in interface XACMLRootElement
        Returns:
        String - Marshaled Results into XML String.