Package org.intermine.web.struts
Class TemplateSettingsForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.TemplateSettingsForm
-
- All Implemented Interfaces:
java.io.Serializable
public class TemplateSettingsForm extends org.apache.struts.action.ActionForm
Form used when building a template.- Author:
- Thomas Riley
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateSettingsForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActionType()
java.lang.String
getComment()
Return the commentjava.lang.String
getDescription()
Return the description.java.lang.String
getName()
java.lang.String
getTitle()
Return the titlevoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form bean taking initial state from current TemplateBuildState session attribute.void
setActionType(java.lang.String actionType)
void
setComment(java.lang.String comment)
Set the commentvoid
setDescription(java.lang.String description)
Set the descriptionvoid
setName(java.lang.String name)
void
setTitle(java.lang.String title)
Set the titleorg.apache.struts.action.ActionErrors
validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Return the description.- Returns:
- the description.
-
setDescription
public void setDescription(java.lang.String description)
Set the description- Parameters:
description
- The description to set.
-
getTitle
public java.lang.String getTitle()
Return the title- Returns:
- the title
-
setTitle
public void setTitle(java.lang.String title)
Set the title- Parameters:
title
- the title
-
getComment
public java.lang.String getComment()
Return the comment- Returns:
- the comment
-
setComment
public void setComment(java.lang.String comment)
Set the comment- Parameters:
comment
- the comment
-
getName
public java.lang.String getName()
- Returns:
- Returns the name.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form bean taking initial state from current TemplateBuildState session attribute.- Overrides:
reset
in classorg.apache.struts.action.ActionForm
-
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
-
getActionType
public java.lang.String getActionType()
- Returns:
- the type of action
-
setActionType
public void setActionType(java.lang.String actionType)
- Parameters:
actionType
- the type of action
-
-