Class ReportingRestMessageDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingVisitorDS
com.aquima.interactions.communication.report.ReportingRestMessageDS
All Implemented Interfaces:
IRestMessageDS
Direct Known Subclasses:
ReportingRestRequestMessageDS

public class ReportingRestMessageDS extends ReportingVisitorDS implements IRestMessageDS
IRestMessageDS implementation that adds error reporting.
Since:
9.0
Author:
Arjan Pragt
  • Constructor Details

  • Method Details

    • getEntityName

      public String getEntityName()
      Description copied from interface: IRestMessageDS
      This method returns the entity connected to the message.
      Specified by:
      getEntityName in interface IRestMessageDS
      Returns:
      The name of the entity connected to the message, may be null
    • getBodySchema

      public String getBodySchema()
      Description copied from interface: IRestMessageDS
      This method returns the name of the domain schema. Must be null when using schemasets.
      Specified by:
      getBodySchema in interface IRestMessageDS
      Returns:
      The name of the domain schema, or null in case of no body.
    • getBodyElement

      public IElementReferenceDS getBodyElement()
      Description copied from interface: IRestMessageDS
      This methods returns the qualified name of the element using as body of the message, may be null. Must be null when using domain schemas.
      Specified by:
      getBodyElement in interface IRestMessageDS
      Returns:
      The qualified name of the xml element.
    • getBodyAttributeName

      public String getBodyAttributeName()
      Description copied from interface: IRestMessageDS
      This method returns the attribute storing the xmlelement using as body, may be null.
      Specified by:
      getBodyAttributeName in interface IRestMessageDS
      Returns:
      The name of the attribute storing the xmlelement.
    • iterateHeaders

      public void iterateHeaders(IRestHeaderVisitor visitor)
      Description copied from interface: IRestMessageDS
      This method iterates about the headers of the message.
      Specified by:
      iterateHeaders in interface IRestMessageDS
      Parameters:
      visitor - The visitor accepting the headers.
    • iterateBodyValidations

      public void iterateBodyValidations(IFieldValidationVisitor visitor)
      Description copied from interface: IRestMessageDS
      This method iterates about the validations of the body attribute.
      Specified by:
      iterateBodyValidations in interface IRestMessageDS
      Parameters:
      visitor - The visitor accepting the validations.