org.figure8.join.control.form
Class EnvironmentMappingForm

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

public class EnvironmentMappingForm
extends JoinForm

Form object used for manipulating environment mappings 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
EnvironmentMappingForm()
          Creates a new instance of EnvironmentMappingForm
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate form attributes depending on requested operation.
 java.util.Date getEndDate()
           
 java.lang.String getLogicalEnvKey()
           
 java.lang.String getPhysicalEnvKey()
           
 java.util.Date getStartDate()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setEndDate(java.util.Date endDate)
           
 void setLogicalEnvKey(java.lang.String logicalEnvKey)
           
 void setPhysicalEnvKey(java.lang.String physicalEnvKey)
           
 void setStartDate(java.util.Date startDate)
           
 
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

EnvironmentMappingForm

public EnvironmentMappingForm()
Creates a new instance of EnvironmentMappingForm

Method Detail

getLogicalEnvKey

public java.lang.String getLogicalEnvKey()
Returns:
The unique key of logical environment of this mapping

setLogicalEnvKey

public void setLogicalEnvKey(java.lang.String logicalEnvKey)
Parameters:
logicalEnvKey - The unique key of logical environment of this mapping

getPhysicalEnvKey

public java.lang.String getPhysicalEnvKey()
Returns:
The unique key of physical environment of this mapping

setPhysicalEnvKey

public void setPhysicalEnvKey(java.lang.String physicalEnvKey)
Parameters:
physicalEnvKey - The unique key of physical environment of this mapping

getStartDate

public java.util.Date getStartDate()
Returns:
The starting date of this environmnent mapping

setStartDate

public void setStartDate(java.util.Date startDate)
Parameters:
startDate - The starting date of this environmnent mapping

getEndDate

public java.util.Date getEndDate()
Returns:
The end date of this environment mapping

setEndDate

public void setEndDate(java.util.Date endDate)
Parameters:
endDate - The end date of this environment mapping

doValidate

public void doValidate(java.lang.String operation,
                       org.apache.struts.action.ActionMapping mapping,
                       javax.servlet.http.HttpServletRequest request)
Validate form attributes depending on requested operation.

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.