org.figure8.join.control.form
Class DeliverableForm

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

public class DeliverableForm
extends JoinForm

Struts form object used for manipulating deliverable business objects within Join.

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
DeliverableForm()
          Creates a new instance of DeliverableForm
 
Method Summary
 void doValidate(java.lang.String operation, org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validation of the form attributes.
 java.lang.String getComments()
           
 java.util.Date getCreationDate()
           
 java.lang.String getCreationDateStr()
           
 org.apache.struts.upload.FormFile getDeliverableFile()
           
 java.lang.String getKey()
           
 java.lang.String getReleaseName()
           
 java.lang.String getSupplierId()
           
 java.lang.String getTypeKey()
           
 java.lang.String getVersionInfo()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset form attributes.
 void setComments(java.lang.String comments)
           
 void setCreationDate(java.util.Date creationDate)
           
 void setCreationDateStr(java.lang.String creationDateStr)
           
 void setDeliverableFile(org.apache.struts.upload.FormFile deliverableFile)
           
 void setKey(java.lang.String key)
           
 void setReleaseName(java.lang.String releaseName)
           
 void setSupplierId(java.lang.String supplierId)
           
 void setTypeKey(java.lang.String typeKey)
           
 void setVersionInfo(java.lang.String versionInfo)
           
 
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

DeliverableForm

public DeliverableForm()
Creates a new instance of DeliverableForm

Method Detail

getKey

public java.lang.String getKey()
Returns:
This deliverable unique key

setKey

public void setKey(java.lang.String key)
Parameters:
key - This deliverable unique key

getComments

public java.lang.String getComments()
Returns:
The comments on this deliverable creation

setComments

public void setComments(java.lang.String comments)
Parameters:
comments - The comments on this deliverable creation

getVersionInfo

public java.lang.String getVersionInfo()
Returns:
The version information for this deliverable

setVersionInfo

public void setVersionInfo(java.lang.String versionInfo)
Parameters:
versionInfo - The version information for this deliverable

getCreationDate

public java.util.Date getCreationDate()
Returns:
The creation date of this deliverable

setCreationDate

public void setCreationDate(java.util.Date creationDate)
Parameters:
creationDate - The creation date of this message

getTypeKey

public java.lang.String getTypeKey()
Returns:
This deliverable type unique key

setTypeKey

public void setTypeKey(java.lang.String typeKey)
Parameters:
typeKey - This deliverable type business key

getSupplierId

public java.lang.String getSupplierId()
Returns:
The identifier of user that supplies this artifact

setSupplierId

public void setSupplierId(java.lang.String supplierId)
Parameters:
supplierId - The identifier of user that supplies this artifact

getReleaseName

public java.lang.String getReleaseName()
Returns:
The name of the release this deliverable is attached to

setReleaseName

public void setReleaseName(java.lang.String releaseName)
Parameters:
releaseName - The name of release this deliverable is attached to

getCreationDateStr

public java.lang.String getCreationDateStr()
Returns:
Creation date for this deliverable (should be a date)

setCreationDateStr

public void setCreationDateStr(java.lang.String creationDateStr)
Parameters:
creationDateStr - Creation date of this deliverable (should be a date)

getDeliverableFile

public org.apache.struts.upload.FormFile getDeliverableFile()
Returns:
The uploaded deliverable file

setDeliverableFile

public void setDeliverableFile(org.apache.struts.upload.FormFile deliverableFile)
Parameters:
deliverableFile - The uploaded deliverable file

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.