org.figure8.join.control.form
Class ReleaseForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.figure8.join.control.JoinForm
          extended by 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

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
ReleaseForm()
          Creates a new instance of ReleaseForm
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validation of the form attributes.
 int getMajor()
           
 java.lang.String getMajorStr()
           
 int getMinor()
           
 java.lang.String getMinorStr()
           
 java.lang.String getName()
           
 java.util.Date getShippingDate()
           
 java.lang.String getShippingDateStr()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setMajor(int major)
           
 void setMajorStr(java.lang.String majorStr)
           
 void setMinor(int minor)
           
 void setMinorStr(java.lang.String minorStr)
           
 void setName(java.lang.String name)
           
 void setShippingDate(java.util.Date shippingDate)
           
 void setShippingDateStr(java.lang.String shippingDateStr)
           
 
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

ReleaseForm

public ReleaseForm()
Creates a new instance of ReleaseForm

Method Detail

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 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.