org.figure8.join.control.form
Class StatusForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.StatusForm
- All Implemented Interfaces:
- java.io.Serializable
public class StatusForm
- extends JoinForm
Form object used for manipulating Steps into Join application.
- Version:
- $Revision: 1.1 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary |
StatusForm()
Creates a new instance of StatusForm. |
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 |
StatusForm
public StatusForm()
- Creates a new instance of StatusForm.
getKey
public java.lang.String getKey()
- Returns:
- The unique key of this status
setKey
public void setKey(java.lang.String key)
- Parameters:
key
- The unique key of this status
getLabel
public java.lang.String getLabel()
- Returns:
- The display label of this status
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label
- The label of this status
getType
public java.lang.String getType()
- Returns:
- The type of process this status is for
setType
public void setType(java.lang.String type)
- Parameters:
type
- The type of process this status is for
isTerminal
public boolean isTerminal()
- Returns:
- Flag telling if status is terminal for a process
setTerminal
public void setTerminal(boolean terminal)
- Parameters:
terminal
- Flag telling if status is terminal for a process
isCancelled
public boolean isCancelled()
- Returns:
- Flag telling if status corresponds to a 'cancel'
setCancelled
public void setCancelled(boolean cancelled)
- Parameters:
cancelled
- Flag telling if status corresponds to a 'cancel'
getTerminalStr
public java.lang.String getTerminalStr()
- Returns:
- Flag telling if status is terminal for a process (should be a boolean)
setTerminalStr
public void setTerminalStr(java.lang.String terminalStr)
- Parameters:
terminalStr
- Flag telling if status is terminal for a process (should be a boolean)
getCancelledStr
public java.lang.String getCancelledStr()
- Returns:
- Flag telling if status corresponds to a 'cancel' (should be a boolean)
setCancelledStr
public void setCancelledStr(java.lang.String cancelledStr)
- Parameters:
cancelledStr
- Flag telling if status corresponds to a 'cancel'
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 Actionmapping
- Mapping between forwards name and path for this actionrequest
- 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 actionrequest
- The servlet container request wrapper
Copyright © 2005-2008 Join. All Rights Reserved.