Class SaveBagForm

  • All Implemented Interfaces:
    java.io.Serializable

    public class SaveBagForm
    extends org.apache.struts.action.ActionForm
    Form bean for the results table and bag creation form.
    Author:
    Andrew Varley, Thomas Riley
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String existingBagName  
      protected java.lang.String newBagName  
      protected java.lang.String operationButton  
      protected java.lang.String[] selectedObjects  
      • Fields inherited from class org.apache.struts.action.ActionForm

        multipartRequestHandler, servlet
    • Constructor Summary

      Constructors 
      Constructor Description
      SaveBagForm()
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getExistingBagName()
      Gets the value of existingBagName
      java.lang.String getNewBagName()
      Gets the value of newBagName
      java.lang.String getOperationButton()  
      java.lang.String[] getSelectedObjects()
      Gets the selected objects
      void initialise()
      Initialiser
      void reset​(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
      Reset the form to the initial state
      void setExistingBagName​(java.lang.String existingBagName)
      Sets the value of existingBagName
      void setNewBagName​(java.lang.String newBagName)
      Sets the value of newBagName
      void setOperationButton​(java.lang.String operationButton)  
      void setSelectedObjects​(java.lang.String[] selectedObjects)
      Sets the selected objects
      • 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

      • existingBagName

        protected java.lang.String existingBagName
      • newBagName

        protected java.lang.String newBagName
      • selectedObjects

        protected java.lang.String[] selectedObjects
      • operationButton

        protected java.lang.String operationButton
    • Constructor Detail

      • SaveBagForm

        public SaveBagForm()
        Constructor
    • Method Detail

      • initialise

        public void initialise()
        Initialiser
      • setSelectedObjects

        public void setSelectedObjects​(java.lang.String[] selectedObjects)
        Sets the selected objects
        Parameters:
        selectedObjects - the selected objects
      • getSelectedObjects

        public java.lang.String[] getSelectedObjects()
        Gets the selected objects
        Returns:
        the selected objects
      • 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
      • getNewBagName

        public java.lang.String getNewBagName()
        Gets the value of newBagName
        Returns:
        the value of newBagName
      • setNewBagName

        public void setNewBagName​(java.lang.String newBagName)
        Sets the value of newBagName
        Parameters:
        newBagName - Value to assign to this.newBagName
      • 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
      • getOperationButton

        public java.lang.String getOperationButton()
        Returns:
        the operationButton
      • setOperationButton

        public void setOperationButton​(java.lang.String operationButton)
        Parameters:
        operationButton - the operationButton to set