Interface Obligations

All Superinterfaces:
XmlSerializable
All Known Implementing Classes:
ObligationsImpl

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

  • Method Details

    • getObligations

      List getObligations()
      Returns the Obligation objects set in this Obligations
      Returns:
      the Obligation objects set in this Obligations
    • setObligations

      void setObligations(List obligations) throws XACMLException
      Sets the Obligation objects of this Obligations
      Parameters:
      obligations - the Obligation objects to set in this Obligations
      Throws:
      XACMLException
    • addObligation

      void addObligation(Obligation obligation) throws XACMLException
      Throws:
      XACMLException
    • toXMLString

      default String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
      Returns a string representation of this object
      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
    • toXMLString

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

      void makeImmutable()
      Makes this object immutable
    • isMutable

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