Class 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  
      • Fields inherited from class org.apache.struts.action.ActionForm

        multipartRequestHandler, servlet
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBagName()
      Get the value of bagName
      java.lang.String getExistingBagName()
      Gets the value of existingBagName
      java.lang.String getExtraFieldValue()  
      java.lang.String[] getSelectedElements()
      Get a String array of selected bag elements
      void initialise()
      Initialiser
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Reset the form to the initial state
      void setBagName​(java.lang.String bagName)
      Set the value of bagName
      void setExistingBagName​(java.lang.String existingBagName)
      Sets the value of existingBagName
      void setExtraFieldValue​(java.lang.String extraFieldValue)  
      void setSelectedElements​(java.lang.String[] selectedElements)
      Set the list of selectedElements
      • Methods inherited from class org.apache.struts.action.ActionForm

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

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

      • selectedElements

        protected java.lang.String[] selectedElements
      • bagName

        protected java.lang.String bagName
      • existingBagName

        protected java.lang.String existingBagName
      • extraFieldValue

        protected java.lang.String extraFieldValue
    • Constructor Detail

      • ModifyBagDetailsForm

        public ModifyBagDetailsForm()
        Constructor
    • 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 class org.apache.struts.action.ActionForm
        Parameters:
        mapping - the mapping
        request - the request