Class DDSServicesResponse

java.lang.Object
org.dlese.dpc.services.dds.toolkit.DDSServicesResponse

public final class DDSServicesResponse extends Object
Encapsulates a response from a DDSWS or DDSUpdateWS service request.
Author:
John Weatherley
  • Constructor Details

    • DDSServicesResponse

      protected DDSServicesResponse(String requestMade, org.dom4j.Document responseDocument)
      Constructor for the DDSServicesResponse object
      Parameters:
      requestMade - The request made to the service
      responseDocument - The response
  • Method Details

    • getResponseDocument

      public org.dom4j.Document getResponseDocument()
      Gets the service response.
      Returns:
      The responseDocument value
    • getRequestString

      public String getRequestString()
      Gets the full request that was made to the service.
      Returns:
      The requestString value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDateStamp

      protected static final String getDateStamp()
      Return a string for the current time and date, sutiable for display in log files and output to standout:
      Returns:
      The dateStamp value
    • setDebug

      public static void setDebug(boolean db)
      Sets the debug attribute of the object
      Parameters:
      db - The new debug value