Package org.intermine.web.struts
Class EnrichmentWidgetForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.EnrichmentWidgetForm
-
- All Implemented Interfaces:
java.io.Serializable
public class EnrichmentWidgetForm extends org.apache.struts.action.ActionForm
- Author:
- Julie Sullivan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnrichmentWidgetForm()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterMineBag
getBag()
the bag that this widget is usingjava.lang.String
getBagName()
java.lang.String
getBagType()
java.lang.String
getDescr()
java.lang.String
getErrorCorrection()
which method of errorcorrection the user chose.java.lang.String
getExternalLink()
java.lang.String
getFilter()
filter values get used in the query to constrain the results in some way, and they can be changed by the user.java.lang.String
getFilterLabel()
the label for the filter.java.lang.String
getFilters()
filter values get used in the query to constrain the results in some way, and they can be changed by the user.java.lang.String
getLabel()
label for the results table.java.lang.String
getLdr()
java.lang.String
getLink()
the link is the class that generates the url for each result.java.lang.String
getMax()
maximum value to display.java.lang.String
getTitle()
title of the widgetvoid
initialise()
Initialiservoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
void
setBag(InterMineBag bag)
void
setBagName(java.lang.String bagName)
name of bag that this widget is using.void
setBagType(java.lang.String bagType)
void
setDescr(java.lang.String descr)
void
setErrorCorrection(java.lang.String errorCorrection)
void
setExternalLink(java.lang.String externalLink)
void
setFilter(java.lang.String filter)
void
setFilterLabel(java.lang.String filterLabel)
void
setFilters(java.lang.String filters)
void
setLabel(java.lang.String label)
void
setLdr(java.lang.String ldr)
void
setLink(java.lang.String link)
void
setMax(java.lang.String max)
void
setTitle(java.lang.String title)
-
-
-
Method Detail
-
getExternalLink
public java.lang.String getExternalLink()
- Returns:
- the externalLink
-
setExternalLink
public void setExternalLink(java.lang.String externalLink)
- Parameters:
externalLink
- the externalLink to set
-
initialise
public void initialise()
Initialiser
-
getLdr
public java.lang.String getLdr()
- Returns:
- the ldr
-
setLdr
public void setLdr(java.lang.String ldr)
- Parameters:
ldr
- the ldr to set
-
getDescr
public java.lang.String getDescr()
- Returns:
- the descr
-
setDescr
public void setDescr(java.lang.String descr)
- Parameters:
descr
- the descr to set
-
getErrorCorrection
public java.lang.String getErrorCorrection()
which method of errorcorrection the user chose. Bonferroni, BenjaminiHochberg, or None- Returns:
- the errorCorrection
-
setErrorCorrection
public void setErrorCorrection(java.lang.String errorCorrection)
- Parameters:
errorCorrection
- the errorCorrection to set
-
getFilterLabel
public java.lang.String getFilterLabel()
the label for the filter. The filter is a dropdown that contrains the results in some way. Most widgets don't have a filter.- Returns:
- the filterLabel
-
setFilterLabel
public void setFilterLabel(java.lang.String filterLabel)
- Parameters:
filterLabel
- the filterLabel to set
-
getBag
public InterMineBag getBag()
the bag that this widget is using- Returns:
- the bag
-
setBag
public void setBag(InterMineBag bag)
- Parameters:
bag
- the bag to set
-
getLink
public java.lang.String getLink()
the link is the class that generates the url for each result.- Returns:
- the link
-
setLink
public void setLink(java.lang.String link)
- Parameters:
link
- the link to set
-
getMax
public java.lang.String getMax()
maximum value to display. user can update. this is for display purposes only.- Returns:
- the max
-
setMax
public void setMax(java.lang.String max)
- Parameters:
max
- the max to set
-
getTitle
public java.lang.String getTitle()
title of the widget- Returns:
- the title
-
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- the title to set
-
getBagName
public java.lang.String getBagName()
- Returns:
- the bagName
-
setBagName
public void setBagName(java.lang.String bagName)
name of bag that this widget is using. we need both the bag and the bagname because sometimes we don't have the bag object.- Parameters:
bagName
- the bagName to set
-
getBagType
public java.lang.String getBagType()
- Returns:
- the bagType
-
getLabel
public java.lang.String getLabel()
label for the results table. appears as column header in results.- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label
- the label to set
-
getFilter
public java.lang.String getFilter()
filter values get used in the query to constrain the results in some way, and they can be changed by the user. most widgets don't have a filter.- Returns:
- the filter
-
setFilter
public void setFilter(java.lang.String filter)
- Parameters:
filter
- the filter to set
-
getFilters
public java.lang.String getFilters()
filter values get used in the query to constrain the results in some way, and they can be changed by the user. most widgets don't have a filter.- Returns:
- the filters
-
setFilters
public void setFilters(java.lang.String filters)
- Parameters:
filters
- the filters to set
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
reset
in classorg.apache.struts.action.ActionForm
-
setBagType
public void setBagType(java.lang.String bagType)
- Parameters:
bagType
- the bagType to set
-
-