DLESE Tools
v1.6.0

org.dlese.dpc.services.dds.action.form
Class DDSRSS20Form

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.dlese.dpc.services.dds.action.form.DDSRSS20Form
All Implemented Interfaces:
Serializable

public class DDSRSS20Form
extends org.apache.struts.action.ActionForm
implements Serializable

A ActionForm bean that holds data for DDS RSS requests

See Also:
DDSRSS20Action, Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DDSRSS20Form()
          Constructor for the DDSRSS20Form object
 
Method Summary
protected static String getDs()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 String getErrorMsg()
          Gets the error message or null if there was no error
 int getNumResults()
          Gets the number of matching results.
 ResultDocList getResults()
          Gets the results attribute of the DDSRSS20Form object
protected  void prtln(String s)
          Output a line of text to standard out, with datestamp, if debug is set to true.
protected  void prtlnErr(String s)
          Output a line of text to error out, with datestamp.
static void setDebug(boolean isDebugOuput)
          Sets the debug attribute
 void setErrorMsg(String message)
          Sets the error message
 void setResults(ResultDocList results)
          Sets the results attribute of the DDSRSS20Form object
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDSRSS20Form

public DDSRSS20Form()
Constructor for the DDSRSS20Form object

Method Detail

getResults

public ResultDocList getResults()
Gets the results attribute of the DDSRSS20Form object

Returns:
The results value

setResults

public void setResults(ResultDocList results)
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

public String getErrorMsg()
Gets the error message or null if there was no error

Returns:
The errorMsg value

setErrorMsg

public void setErrorMsg(String message)
Sets the error message

Parameters:
message - The new errorMsg value

getDs

protected static final String 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

protected final void prtlnErr(String s)
Output a line of text to error out, with datestamp.

Parameters:
s - The text that will be output to error out.

prtln

protected final void prtln(String s)
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

DLESE Tools
v1.6.0