Class DDSServicesResponse
java.lang.Object
org.dlese.dpc.services.dds.toolkit.DDSServicesResponse
Encapsulates a response from a DDSWS or DDSUpdateWS service request.
- Author:
- John Weatherley
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDDSServicesResponse(String requestMade, org.dom4j.Document responseDocument) Constructor for the DDSServicesResponse object -
Method Summary
Modifier and TypeMethodDescriptionprotected static final StringReturn a string for the current time and date, sutiable for display in log files and output to standout:Gets the full request that was made to the service.org.dom4j.DocumentGets the service response.static voidsetDebug(boolean db) Sets the debug attribute of the objecttoString()
-
Constructor Details
-
DDSServicesResponse
Constructor for the DDSServicesResponse object- Parameters:
requestMade- The request made to the serviceresponseDocument- The response
-
-
Method Details
-
getResponseDocument
public org.dom4j.Document getResponseDocument()Gets the service response.- Returns:
- The responseDocument value
-
getRequestString
Gets the full request that was made to the service.- Returns:
- The requestString value
-
toString
-
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
-