org.figure8.join.control.form
Class ResourceMappingForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.ResourceMappingForm
- All Implemented Interfaces:
- java.io.Serializable
public class ResourceMappingForm
- extends JoinForm
Form object used for manipulating resource mappings 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 |
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 |
ResourceMappingForm
public ResourceMappingForm()
- Creates a new instance of ResourceMappingForm.
getResourceId
public long getResourceId()
- Returns:
- The unique id of infrastructure resource this mapping is for
setResourceId
public void setResourceId(long resourceId)
- Parameters:
resourceId
- The unique id of infrastructure resource this mapping is for
getEnvironmentKey
public java.lang.String getEnvironmentKey()
- Returns:
- The unique key of physical environment this mapping is for
setEnvironmentKey
public void setEnvironmentKey(java.lang.String environmentKey)
- Parameters:
environmentKey
- The unique key of physical environment this mapping is for
getStartDate
public java.util.Date getStartDate()
- Returns:
- The starting date of this resource mapping
setStartDate
public void setStartDate(java.util.Date startDate)
- Parameters:
startDate
- The starting date of this resource mapping
getEndDate
public java.util.Date getEndDate()
- Returns:
- The end date of this resource mapping
setEndDate
public void setEndDate(java.util.Date endDate)
- Parameters:
endDate
- The end date of this resource mapping
getResourceIdStr
public java.lang.String getResourceIdStr()
- Returns:
- String representation of resourceId (should be a long)
setResourceIdStr
public void setResourceIdStr(java.lang.String resourceIdStr)
- Parameters:
resourceIdStr
- String representation of resourceId (must be a long)
doValidate
public void doValidate(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validate 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.