Class DDSRSS20Form
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.services.dds.action.form.DDSRSS20Form
- All Implemented Interfaces:
Serializable
A ActionForm bean that holds data for DDS RSS requests
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static final StringgetDs()Return a string for the current time and date, sutiable for display in log files and output to standout:Gets the error message or null if there was no errorintGets the number of matching results.Gets the results attribute of the DDSRSS20Form objectprotected final voidOutput a line of text to standard out, with datestamp, if debug is set to true.protected final voidOutput a line of text to error out, with datestamp.static voidsetDebug(boolean isDebugOuput) Sets the debug attributevoidsetErrorMsg(String message) Sets the error messagevoidsetResults(ResultDocList results) Sets the results attribute of the DDSRSS20Form objectMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
DDSRSS20Form
public DDSRSS20Form()Constructor for the DDSRSS20Form object
-
-
Method Details
-
getResults
Gets the results attribute of the DDSRSS20Form object- Returns:
- The results value
-
setResults
Sets the results attribute of the DDSRSS20Form object- Parameters:
results- The new results value
-
getNumResults
public int getNumResults()Gets the number of matching results.- Returns:
- The numResults value
-
getErrorMsg
Gets the error message or null if there was no error- Returns:
- The errorMsg value
-
setErrorMsg
Sets the error message- Parameters:
message- The new errorMsg value
-
getDs
Return a string for the current time and date, sutiable for display in log files and output to standout:- Returns:
- The dateStamp value
-
prtlnErr
Output a line of text to error out, with datestamp.- Parameters:
s- The text that will be output to error out.
-
prtln
Output a line of text to standard out, with datestamp, if debug is set to true.- Parameters:
s- The String that will be output.
-
setDebug
public static void setDebug(boolean isDebugOuput) Sets the debug attribute- Parameters:
isDebugOuput- The new debug value
-