org.figure8.join.control.form
Class PhysicalEnvironmentForm

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

public class PhysicalEnvironmentForm
extends JoinForm

Form object used for manipulating and validating PhysicalEnvironments into the Join application.

Version:
$Revision: 1.3 $
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
PhysicalEnvironmentForm()
          Creates a new instance of PhysicalEnvironmentForm.
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validation of form attributes.
 java.util.Date getEndDate()
           
 java.lang.String getKey()
           
 java.lang.String getName()
           
 java.util.Date getStartDate()
           
 int getStartHour()
           
 int getStartMin()
           
 boolean isFromLogical()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setEndDate(java.util.Date endDate)
           
 void setEndDateStr(java.lang.String endDateStr)
           
 void setFromLogical(boolean fromLogical)
           
 void setKey(java.lang.String key)
           
 void setName(java.lang.String name)
           
 void setStartDate(java.util.Date startDate)
           
 void setStartDateStr(java.lang.String startDateStr)
           
 void setStartHourStr(java.lang.String startHourStr)
           
 void setStartMinStr(java.lang.String startMinStr)
           
 
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

PhysicalEnvironmentForm

public PhysicalEnvironmentForm()
Creates a new instance of PhysicalEnvironmentForm.

Method Detail

getKey

public java.lang.String getKey()
Returns:
The key of the current physical environment.

setKey

public void setKey(java.lang.String key)
Parameters:
key - The key of the current physical environment.

getName

public java.lang.String getName()
Returns:
The name of the physical environment denoted by form.

setName

public void setName(java.lang.String name)
Parameters:
name - The name of the physical environment denoted by form.

getStartDate

public java.util.Date getStartDate()
Returns:
The starting date of changes tracking period

setStartDate

public void setStartDate(java.util.Date startDate)
Parameters:
startDate - The starting date of changes tracking period

getEndDate

public java.util.Date getEndDate()
Returns:
The ending date of changes tracking period

setEndDate

public void setEndDate(java.util.Date endDate)
Parameters:
endDate - The ending date of changes tracking period

getStartHour

public int getStartHour()
Returns:
The configuration tracking start hour

getStartMin

public int getStartMin()
Returns:
The configuration tracking start minute

isFromLogical

public boolean isFromLogical()
Returns:
Wether the requested operation is made from the logical environment point of view

setFromLogical

public void setFromLogical(boolean fromLogical)
Parameters:
fromLogical - Wether the requested operation is made from the logical environment point of view

setStartDateStr

public void setStartDateStr(java.lang.String startDateStr)
Parameters:
startDateStr - The String representation of changes tracking period start date (must be a date)

setStartHourStr

public void setStartHourStr(java.lang.String startHourStr)
Parameters:
startHourStr - The String representation of changes tracking period start hour (must be an integer)

setStartMinStr

public void setStartMinStr(java.lang.String startMinStr)
Parameters:
startMinStr - The String representation of changes tracking period start minute (must be an integer)

setEndDateStr

public void setEndDateStr(java.lang.String endDateStr)
Parameters:
endDateStr - The String representation of changes tracking period start date (must be a date)

doValidate

public void doValidate(java.lang.String operation,
                       org.apache.struts.action.ActionMapping mapping,
                       javax.servlet.http.HttpServletRequest request)
Validation of 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.