org.figure8.join.control.form
Class AssemblyForm

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

public class AssemblyForm
extends JoinForm

Form object used for manipulating Assemblies into Join application.

Version:
$Revision: 1.2 $
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
AssemblyForm()
          Creates a new instance of AssemblyForm.
 
Method Summary
 void addDeliverable(Deliverable deliverable)
           
 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.lang.String getComposerId()
           
 java.util.Date getCreationDate()
           
 java.lang.String getCreationDateStr()
           
 java.util.Map getDeliverables()
           
 java.lang.String getKey()
           
 java.lang.Object getMappedDeliverable(java.lang.String key)
           
 java.lang.String getReleaseName()
           
 java.lang.String getStatusKey()
           
 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 setComposerId(java.lang.String composerId)
           
 void setCreationDateStr(java.lang.String creationDateStr)
           
 void setKey(java.lang.String key)
           
 void setMappedDeliverable(java.lang.String key, java.lang.Object value)
           
 void setPublicationDate(java.util.Date creationDate)
           
 void setReleaseName(java.lang.String releaseName)
           
 void setStatusKey(java.lang.String statusKey)
           
 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

AssemblyForm

public AssemblyForm()
Creates a new instance of AssemblyForm.

Method Detail

getKey

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

setKey

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

getComments

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

setComments

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

getVersionInfo

public java.lang.String getVersionInfo()
Returns:
The information on this assembly version

setVersionInfo

public void setVersionInfo(java.lang.String versionInfo)
Parameters:
versionInfo - the information on this assembly version

getComposerId

public java.lang.String getComposerId()
Returns:
The identifier of user that has composed this assembly

setComposerId

public void setComposerId(java.lang.String composerId)
Parameters:
composerId - The identifier of user that has composed this assembly

getCreationDate

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

setPublicationDate

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

getReleaseName

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

setReleaseName

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

getStatusKey

public java.lang.String getStatusKey()
Returns:
The key of assembly status

setStatusKey

public void setStatusKey(java.lang.String statusKey)
Parameters:
statusKey - The key of assembly status

getCreationDateStr

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

setCreationDateStr

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

getDeliverables

public java.util.Map getDeliverables()
Returns:
Map of deliverables composing assembly

getMappedDeliverable

public java.lang.Object getMappedDeliverable(java.lang.String key)
Parameters:
key - Key of deliverable type to get deliverable for
Returns:
The deliverable in assembly corresponding to specified type

setMappedDeliverable

public void setMappedDeliverable(java.lang.String key,
                                 java.lang.Object value)
Parameters:
key - Key of the type of deliverable to add
value - The key of deliverable to add to assembly composition

addDeliverable

public void addDeliverable(Deliverable deliverable)
Parameters:
deliverable - Existing assembly deliverable to add to mapped one

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.