Package org.intermine.web.struts
Class ModifyBagDetailsForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.ModifyBagDetailsForm
-
- All Implemented Interfaces:
java.io.Serializable
public class ModifyBagDetailsForm extends org.apache.struts.action.ActionForm
- Author:
- Xavier Watkins
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
bagName
protected java.lang.String
existingBagName
protected java.lang.String
extraFieldValue
protected java.lang.String[]
selectedElements
-
Constructor Summary
Constructors Constructor Description ModifyBagDetailsForm()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBagName()
Get the value of bagNamejava.lang.String
getExistingBagName()
Gets the value of existingBagNamejava.lang.String
getExtraFieldValue()
java.lang.String[]
getSelectedElements()
Get a String array of selected bag elementsvoid
initialise()
Initialiservoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form to the initial statevoid
setBagName(java.lang.String bagName)
Set the value of bagNamevoid
setExistingBagName(java.lang.String existingBagName)
Sets the value of existingBagNamevoid
setExtraFieldValue(java.lang.String extraFieldValue)
void
setSelectedElements(java.lang.String[] selectedElements)
Set the list of selectedElements
-
-
-
Method Detail
-
initialise
public void initialise()
Initialiser
-
getBagName
public java.lang.String getBagName()
Get the value of bagName- Returns:
- the value of bagName
-
setBagName
public void setBagName(java.lang.String bagName)
Set the value of bagName- Parameters:
bagName
- the bagName
-
getSelectedElements
public java.lang.String[] getSelectedElements()
Get a String array of selected bag elements- Returns:
- a String array
-
setSelectedElements
public void setSelectedElements(java.lang.String[] selectedElements)
Set the list of selectedElements- Parameters:
selectedElements
- a String array
-
getExtraFieldValue
public java.lang.String getExtraFieldValue()
- Returns:
- the extraFieldValue
-
setExtraFieldValue
public void setExtraFieldValue(java.lang.String extraFieldValue)
- Parameters:
extraFieldValue
- the extraFieldValue to set
-
getExistingBagName
public java.lang.String getExistingBagName()
Gets the value of existingBagName- Returns:
- the value of existingBagName
-
setExistingBagName
public void setExistingBagName(java.lang.String existingBagName)
Sets the value of existingBagName- Parameters:
existingBagName
- Value to assign to this.existingBagName
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
Reset the form to the initial state- Overrides:
reset
in classorg.apache.struts.action.ActionForm
- Parameters:
mapping
- the mappingrequest
- the request
-
-