Interface Result

  • All Known Implementing Classes:
    ResultImpl

    public interface Result
    The Result element is a container of one or more Results issuded by authorization authority.

     schema:
          <xs:complexType name="ResultType">
              <xs:sequence>
                  <xs:element ref="xacml-context:Decision"/>
                  <xs:element ref="xacml-context:Status" minOccurs="0"/>
                  <xs:element ref="xacml:Obligations" minOccurs="0"/>
              <xs:sequence>
              <xs:attribute name="ResourceId" type="xs:string" use="optional"/>
          <xs:complexType>
     
    • Method Detail

      • getResourceId

        String getResourceId()
        Returns the Resourceids of this object
        Returns:
        the Resourceids of this object
      • getDecision

        Decision getDecision()
        Returns the Decision of this object
        Returns:
        the Decision of this object
      • getStatus

        Status getStatus()
        Returns the Status of this object
        Returns:
        the Status of this object
      • getObligations

        Obligations getObligations()
        Returns the Obligations of this object
        Returns:
        the Obligations of this object
      • setObligations

        void setObligations​(Obligations obligations)
                     throws XACMLException
        Sets the Obligations of this object
        Parameters:
        obligations - Obligations to set
        Throws:
        XACMLException - if the object is immutable
      • toXMLString

        String toXMLString()
                    throws XACMLException
        Returns a string representation
        Returns:
        a string representation
        Throws:
        XACMLException - if conversion fails for any reason
      • toXMLString

        String toXMLString​(boolean includeNSPrefix,
                           boolean declareNS)
                    throws XACMLException
        Returns a string representation
        Parameters:
        includeNSPrefix - Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - Determines whether or not the namespace is declared within the Element.
        Returns:
        a string representation
        Throws:
        XACMLException - if conversion fails for any reason
      • isMutable

        boolean isMutable()
        Checks if the object is mutable
        Returns:
        true if the object is mutable, false otherwise
      • makeImmutable

        void makeImmutable()
        Makes the object immutable