org.figure8.join.control.form
Class StepForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by org.figure8.join.control.form.StepForm
All Implemented Interfaces:
java.io.Serializable

public class StepForm
extends JoinForm

Form object used for manipulating Steps into Join application.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.figure8.join.control.JoinForm
errors
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
StepForm()
          Creates a new instance of StepForm
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validation of the form attributes.
 java.lang.String getLabel()
           
 int getPosition()
           
 java.lang.String getPositionStr()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setLabel(java.lang.String label)
           
 void setPosition(int position)
           
 void setPositionStr(java.lang.String position)
           
 
Methods inherited from class org.figure8.join.control.JoinForm
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, setId, setIdStr, validate, validateEntityObjectId
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepForm

public StepForm()
Creates a new instance of StepForm

Method Detail

getLabel

public java.lang.String getLabel()
Returns:
Label of current step

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - Label of current step

getPosition

public int getPosition()
Returns:
Position of current step into the integration cycle

setPosition

public void setPosition(int position)
Parameters:
position - Position of current step into integration cycle

getPositionStr

public java.lang.String getPositionStr()
Returns:
Position of current step into the integration cycle (should be an integer)

setPositionStr

public void setPositionStr(java.lang.String position)
Parameters:
position - Position of current step into integration cycle (must be an integer)

doValidate

public void doValidate(java.lang.String operation,
                       org.apache.struts.action.ActionMapping mapping,
                       javax.servlet.http.HttpServletRequest request)
Validation of the form attributes.

Specified by:
doValidate in class JoinForm
Parameters:
operation - String representing the operation to invoke on Action
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset form attributes.

Overrides:
reset in class JoinForm
Parameters:
mapping - Mapping between forwards name and path for this action
request - The servlet container request wrapper


Copyright © 2005-2008 Join. All Rights Reserved.