org.figure8.join.control.form
Class StatusForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by 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

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
StatusForm()
          Creates a new instance of StatusForm.
 
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 getCancelledStr()
           
 java.lang.String getKey()
           
 java.lang.String getLabel()
           
 java.lang.String getTerminalStr()
           
 java.lang.String getType()
           
 boolean isCancelled()
           
 boolean isTerminal()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setCancelled(boolean cancelled)
           
 void setCancelledStr(java.lang.String cancelledStr)
           
 void setKey(java.lang.String key)
           
 void setLabel(java.lang.String label)
           
 void setTerminal(boolean terminal)
           
 void setTerminalStr(java.lang.String terminalStr)
           
 void setType(java.lang.String type)
           
 
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

StatusForm

public StatusForm()
Creates a new instance of StatusForm.

Method Detail

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 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.