Class DDSRSS20Form

java.lang.Object
org.apache.struts.action.ActionForm
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:
  • Field Summary

    Fields inherited from class org.apache.struts.action.ActionForm

    multipartRequestHandler, servlet
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for the DDSRSS20Form object
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static final String
    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 error
    int
    Gets the number of matching results.
    Gets the results attribute of the DDSRSS20Form object
    protected final void
    Output a line of text to standard out, with datestamp, if debug is set to true.
    protected final void
    Output a line of text to error out, with datestamp.
    static void
    setDebug(boolean isDebugOuput)
    Sets the debug attribute
    void
    Sets the error message
    void
    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 Details

    • DDSRSS20Form

      public DDSRSS20Form()
      Constructor for the DDSRSS20Form object
  • Method Details

    • 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