Package org.intermine.web.struts
Class SaveQueryForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.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
-
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 namevoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
void
setQueryName(java.lang.String queryName)
Set the query nameorg.apache.struts.action.ActionErrors
validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
-
-
-
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 classorg.apache.struts.action.ActionForm
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
reset
in classorg.apache.struts.action.ActionForm
-
-