Interface Status

All Superinterfaces:
XmlSerializable
All Known Implementing Classes:
StatusImpl

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

    • getStatusCode

      StatusCode getStatusCode()
      Returns the StatusCode of this object
      Returns:
      the StatusCode of this object
    • setStatusCode

      void setStatusCode(StatusCode statusCode) throws XACMLException
      Sets the StatusCode of this object
      Throws:
      XACMLException - if the object is immutable
    • getStatusMessage

      StatusMessage getStatusMessage()
      Returns the StatusMessage of this object
      Returns:
      the StatusMessage of this object
    • setStatusMessage

      void setStatusMessage(StatusMessage statusMessage) throws XACMLException
      Sets the StatusMessage of this object
      Throws:
      XACMLException - if the object is immutable
    • getStatusDetail

      StatusDetail getStatusDetail()
      Returns the StatusDetail of this object
      Returns:
      the StatusDetail of this object
    • setStatusDetail

      void setStatusDetail(StatusDetail statusDetail) throws XACMLException
      Sets the StatusDetail of this object
      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