Class SOAPFaultDetail


  • @SupportedAll
    public class SOAPFaultDetail
    extends Object
    The SOAPFaultDetail class represents the 'Detail' child element of SOAP Fault element. Its children can be of any type. This class provides specific methods to get and set the following children: Status element, CorrelationHeader, ProviderHeader, ConsentHeader, UsageDirectiveHeader and ProcessingContextHeader. It also provides generic methods to get and set other children.
    • Field Detail

      • BOGUS_ACTOR

        public static final QName BOGUS_ACTOR
      • BOGUS_MUST_UNSTND

        public static final QName BOGUS_MUST_UNSTND
      • STALE_MSG

        public static final QName STALE_MSG
      • DUPLICATE_MSG

        public static final QName DUPLICATE_MSG
      • INVALID_REF_TO_MSG_ID

        public static final QName INVALID_REF_TO_MSG_ID
      • PROVIDER_ID_NOT_VALID

        public static final QName PROVIDER_ID_NOT_VALID
      • AFFILIATION_ID_NOT_VALID

        public static final QName AFFILIATION_ID_NOT_VALID
      • ID_STAR_MSG_NOT_UNSTD

        public static final QName ID_STAR_MSG_NOT_UNSTD
      • PROC_CTX_URI_NOT_UNSTD

        public static final QName PROC_CTX_URI_NOT_UNSTD
      • PROC_CTX_UNWILLING

        public static final QName PROC_CTX_UNWILLING
      • CAN_NOT_HONOUR_USAGE_DIRECTIVE

        public static final QName CAN_NOT_HONOUR_USAGE_DIRECTIVE
      • ENDPOINT_MOVED

        public static final QName ENDPOINT_MOVED
      • INAPPROPRIATE_CREDENTIALS

        public static final QName INAPPROPRIATE_CREDENTIALS
    • Constructor Detail

      • SOAPFaultDetail

        public SOAPFaultDetail​(QName statusCode,
                               String statusRef,
                               String statusComment)
        This constructor takes a status code, a status ref and a status comment. If the status code is not null, a Status child element will be created.
        Parameters:
        statusCode - the value of code attribute of the Status element.
        statusRef - the value of ref attribute of the Status element.
        statusComment - the value of comment attribute of the Status element.
      • SOAPFaultDetail

        public SOAPFaultDetail​(List otherChildren)
        This constructor takes a list of children except Status element, CorrelationHeader, ProviderHeader ConsentHeader, UsageDirectiveHeader, ProcessingContextHeader and ServiceInstanceUpdateHeader. Each entry will be a org.w3c.dom.Element.
        Parameters:
        otherChildren - a list of children element
    • Method Detail

      • getCorrelationHeader

        public CorrelationHeader getCorrelationHeader()
        Returns the CorrelationHeader.
        Returns:
        the CorrelationHeader.
      • getConsentHeader

        public ConsentHeader getConsentHeader()
        Returns the ConsentHeader.
        Returns:
        the ConsentHeader.
      • getUsageDirectiveHeaders

        public List getUsageDirectiveHeaders()
        Returns a list of UsageDirectiveHeader.
        Returns:
        a list of UsageDirectiveHeader.
      • getServiceInstanceUpdateHeader

        public ServiceInstanceUpdateHeader getServiceInstanceUpdateHeader()
        Returns ServiceInstanceUpdateHeader.
        Returns:
        ServiceInstanceUpdateHeader.
      • getOtherChildren

        public List getOtherChildren()
        Returns a list of children except Status element, CorrelationHeader, ProviderHeader ConsentHeader, UsageDirectiveHeader, ProcessingContextHeader and ServiceInstanceUpdateHeader. Each entry will be a org.w3c.dom.Element.
        Returns:
        a list of children element
      • getStatusCode

        public QName getStatusCode()
        Returns value of code attribute of Status element.
        Returns:
        value of code attribute of Status element.
      • getStatusRef

        public String getStatusRef()
        Returns value of ref attribute of Status element.
        Returns:
        value of ref attribute of Status element.
      • getStatusComment

        public String getStatusComment()
        Returns value of comment attribute of Status element.
        Returns:
        value of comment attribute of Status element.
      • setCorrelationHeader

        public void setCorrelationHeader​(CorrelationHeader correlationHeader)
        Sets the value of CorrelationHeader.
        Parameters:
        correlationHeader - the CorrelationHeader.
      • setConsentHeader

        public void setConsentHeader​(ConsentHeader consentHeader)
        Sets ConsentHeader.
        Parameters:
        consentHeader - ConsentHeader.
      • setUsageDirectiveHeaders

        public void setUsageDirectiveHeaders​(List usageDirectiveHeaders)
        Sets a list of UsageDirectiveHeader.
        Parameters:
        usageDirectiveHeaders - a list of UsageDirectiveHeader.
      • setServiceInstanceUpdateHeader

        public void setServiceInstanceUpdateHeader​(ServiceInstanceUpdateHeader serviceInstanceUpdateHeader)
        Sets ServiceInstanceUpdateHeader.
        Parameters:
        serviceInstanceUpdateHeader - ServiceInstanceUpdateHeader
      • setOtherChildren

        public void setOtherChildren​(List otherChildren)
        Sets a list of children except Status element, CorrelationHeader, ProviderHeader ConsentHeader, UsageDirectiveHeader, ProcessingContextHeader and ServiceInstanceUpdateHeader. Each entry will be a org.w3c.dom.Element.
        Parameters:
        otherChildren - a list of children element
      • setOtherChild

        public void setOtherChild​(Element child)
        Sets a child except Status element, CorrelationHeader, ProviderHeader, ConsentHeader, UsageDirectiveHeader and ProcessingContextHeader and ServiceInstanceUpdateHeader.
        Parameters:
        child - the child element.
      • setStatusCode

        public void setStatusCode​(QName statusCode)
        Sets value of code attribute of Status element.
        Parameters:
        statusCode - value of code attribute of Status element.
      • setStatusRef

        public void setStatusRef​(String statusRef)
        Sets value of ref attribute of Status element.
        Parameters:
        statusRef - value of ref attribute of Status element.
      • setStatusComment

        public void setStatusComment​(String statusComment)
        Sets value of comment attribute of Status element.
        Parameters:
        statusComment - value of comment attribute in Status element.