org.figure8.join.control.form
Class ParameterValueForm

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

public class ParameterValueForm
extends JoinForm

Form object to manage parameters values into Join application.

Version:
$Revision: 1.3 $
Author:
Jerome Evrard
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
ParameterValueForm()
           
 
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.Object getCopiedValue(java.lang.String key)
          Get "on" if the value is selected for copy.
 java.util.Map getCopiedValuesMap()
           
 java.lang.String getEditedEnvironment()
           
 java.lang.String getEditedTarget()
           
 java.lang.String getParameterName()
           
 java.lang.String getValue()
           
 java.lang.String getViewedEnvironment()
           
 java.lang.String getViewedTarget()
           
 boolean isRender()
           
 void setCopiedValue(java.lang.String key, java.lang.Object value)
          Set if a value is selected for copy.
 void setEditedEnvironment(java.lang.String editedEnvironment)
           
 void setEditedTarget(java.lang.String editedTarget)
           
 void setParameterName(java.lang.String parameterName)
           
 void setRender(boolean render)
           
 void setValue(java.lang.String value)
           
 void setViewedEnvironment(java.lang.String viewedEnvironment)
           
 void setViewedTarget(java.lang.String viewedTarget)
           
 
Methods inherited from class org.figure8.join.control.JoinForm
addActionError, addActionError, addActionError, getGuiMessageResources, getId, getIdStr, getMessageResources, reset, 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

ParameterValueForm

public ParameterValueForm()
Method Detail

getValue

public java.lang.String getValue()
Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

getParameterName

public java.lang.String getParameterName()
Returns:
Returns the parameter.

setParameterName

public void setParameterName(java.lang.String parameterName)
Parameters:
parameterName - The parameter to set.

getEditedEnvironment

public java.lang.String getEditedEnvironment()
Returns:
Returns the editedEnvironment.

setEditedEnvironment

public void setEditedEnvironment(java.lang.String editedEnvironment)
Parameters:
editedEnvironment - The editedEnvironment to set.

getEditedTarget

public java.lang.String getEditedTarget()
Returns:
Returns the editedTarget.

setEditedTarget

public void setEditedTarget(java.lang.String editedTarget)
Parameters:
editedTarget - The editedTarget to set.

getViewedEnvironment

public java.lang.String getViewedEnvironment()
Returns:
Returns the viewedEnvironment.

setViewedEnvironment

public void setViewedEnvironment(java.lang.String viewedEnvironment)
Parameters:
viewedEnvironment - The viewedEnvironment to set.

getViewedTarget

public java.lang.String getViewedTarget()
Returns:
Returns the viewedTarget.

setViewedTarget

public void setViewedTarget(java.lang.String viewedTarget)
Parameters:
viewedTarget - The viewedTarget to set.

isRender

public boolean isRender()
Returns:
Returns the render.

setRender

public void setRender(boolean render)
Parameters:
render - The render to set.

getCopiedValuesMap

public java.util.Map getCopiedValuesMap()
Returns:
Get the map of values to copy.

setCopiedValue

public void setCopiedValue(java.lang.String key,
                           java.lang.Object value)
Set if a value is selected for copy.

Parameters:
key - The value id.
value - "on" if value is selected

getCopiedValue

public java.lang.Object getCopiedValue(java.lang.String key)
Get "on" if the value is selected for copy.

Parameters:
key - The value id.
Returns:
"on" if values is selcted, else null.

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


Copyright © 2005-2008 Join. All Rights Reserved.