public class DDSRSS20Form
extends org.apache.struts.action.ActionForm
implements java.io.Serializable
DDSRSS20Action
,
Serialized FormConstructor and Description |
---|
DDSRSS20Form()
Constructor for the DDSRSS20Form object
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getDs()
Return a string for the current time and date, sutiable for display in log files and
output to standout:
|
java.lang.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(java.lang.String s)
Output a line of text to standard out, with datestamp, if debug is set to true.
|
protected void |
prtlnErr(java.lang.String s)
Output a line of text to error out, with datestamp.
|
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute
|
void |
setErrorMsg(java.lang.String message)
Sets the error message
|
void |
setResults(ResultDocList results)
Sets the results attribute of the DDSRSS20Form object
|
public ResultDocList getResults()
public void setResults(ResultDocList results)
results
- The new results valuepublic int getNumResults()
public java.lang.String getErrorMsg()
public void setErrorMsg(java.lang.String message)
message
- The new errorMsg valueprotected static final java.lang.String getDs()
protected final void prtlnErr(java.lang.String s)
s
- The text that will be output to error out.protected final void prtln(java.lang.String s)
s
- The String that will be output.public static void setDebug(boolean isDebugOuput)
isDebugOuput
- The new debug value