Interface StatusCode

All Superinterfaces:
XmlSerializable
All Known Implementing Classes:
StatusCodeImpl

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

    • getValue

      String getValue()
      Returns the value of this object
      Returns:
      the value of this object
    • setValue

      void setValue(String value) throws XACMLException
      Sets the value of this object
      Throws:
      XACMLException - if the object is immutable
    • getMinorCodeValue

      String getMinorCodeValue()
      Returns the minorCodeValue of this object
      Returns:
      the minorCodeValue of this object
    • setMinorCodeValue

      void setMinorCodeValue(String minorCodeValue) throws XACMLException
      Sets the minorCodeValue 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