Class SaveQueryForm

  • All Implemented Interfaces:
    java.io.Serializable

    public class SaveQueryForm
    extends org.apache.struts.action.ActionForm
    Form bean to represent the inputs to the query saving action
    Author:
    Andrew Varley, Matthew Wakeling
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String queryName  
      • Fields inherited from class org.apache.struts.action.ActionForm

        multipartRequestHandler, servlet
    • Constructor Summary

      Constructors 
      Constructor Description
      SaveQueryForm()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getQueryName()
      Get the query name
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      void setQueryName​(java.lang.String queryName)
      Set the query name
      org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      • Methods inherited from class org.apache.struts.action.ActionForm

        getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • queryName

        protected java.lang.String queryName
    • Constructor Detail

      • SaveQueryForm

        public SaveQueryForm()
    • Method Detail

      • setQueryName

        public void setQueryName​(java.lang.String queryName)
        Set the query name
        Parameters:
        queryName - the query name
      • getQueryName

        public java.lang.String getQueryName()
        Get the query name
        Returns:
        the query name
      • validate

        public org.apache.struts.action.ActionErrors validate​(org.apache.struts.action.ActionMapping mapping,
                                                              javax.servlet.http.HttpServletRequest request)
        Overrides:
        validate in class org.apache.struts.action.ActionForm
      • reset

        public void reset​(org.apache.struts.action.ActionMapping mapping,
                          javax.servlet.http.HttpServletRequest request)
        Overrides:
        reset in class org.apache.struts.action.ActionForm