Interface Result

All Superinterfaces:
XmlSerializable

@SupportedAll public interface Result extends XmlSerializable
The Result element is a container of one or more Results issuded by authorization authority.
  • Method Details

    • getResourceId

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

      void setResourceId(String resourceId) throws XACMLException
      Sets the Resourceids of this object
      Throws:
      XACMLException - if the object is immutable
    • getDecision

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

      void setDecision(Decision decision) throws XACMLException
      Sets the Decision of this object
      Throws:
      XACMLException - if the object is immutable
    • getStatus

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

      void setStatus(Status status) throws XACMLException
      Sets the Status of this object
      Throws:
      XACMLException - if the object is immutable
    • 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

      default String toXMLString() throws XACMLException
      Returns a string representation
      Specified by:
      toXMLString in interface XmlSerializable
      Returns:
      a string representation
      Throws:
      XACMLException - if conversion fails for any reason
    • toXMLString

      default String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
      Returns a string representation
      Specified by:
      toXMLString in interface XmlSerializable
      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