org.figure8.join.control.form
Class AssemblyForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
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
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary |
AssemblyForm()
Creates a new instance of AssemblyForm. |
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 |
AssemblyForm
public AssemblyForm()
- Creates a new instance of AssemblyForm.
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 addvalue
- 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 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.