org.figure8.join.control.form
Class ReleaseForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.ReleaseForm
- All Implemented Interfaces:
- java.io.Serializable
public class ReleaseForm
- extends JoinForm
Form object used for manipulating Releases 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 |
Constructor Summary |
ReleaseForm()
Creates a new instance of ReleaseForm |
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 |
ReleaseForm
public ReleaseForm()
- Creates a new instance of ReleaseForm
getName
public java.lang.String getName()
- Returns:
- Name of current release
setName
public void setName(java.lang.String name)
- Parameters:
name
- Name of current release
getMajor
public int getMajor()
- Returns:
- Major number of current release
setMajor
public void setMajor(int major)
- Parameters:
major
- Major number of current release
getMinor
public int getMinor()
- Returns:
- Minor number of current release
setMinor
public void setMinor(int minor)
- Parameters:
minor
- Minor number of current release
getShippingDate
public java.util.Date getShippingDate()
- Returns:
- Shipping date for this release
setShippingDate
public void setShippingDate(java.util.Date shippingDate)
- Parameters:
shippingDate
- Production shipping date of this release
getMajorStr
public java.lang.String getMajorStr()
- Returns:
- Major number of current release (should be an integer)
setMajorStr
public void setMajorStr(java.lang.String majorStr)
- Parameters:
majorStr
- Major number of current release (should be an integer)
getMinorStr
public java.lang.String getMinorStr()
- Returns:
- Minor number of current release (should be an integer)
setMinorStr
public void setMinorStr(java.lang.String minorStr)
- Parameters:
minorStr
- Minor number of current release (should be an integer)
getShippingDateStr
public java.lang.String getShippingDateStr()
- Returns:
- Date of production shipping for this release (should be a date)
setShippingDateStr
public void setShippingDateStr(java.lang.String shippingDateStr)
- Parameters:
shippingDateStr
- Production shipping date for this release (should be a date)
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 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.