org.figure8.join.control.form
Class BuildForm
java.lang.Object
org.apache.struts.action.ActionForm
org.figure8.join.control.JoinForm
org.figure8.join.control.form.BuildForm
- All Implemented Interfaces:
- java.io.Serializable
public class BuildForm
- extends JoinForm
Form object used for manipulating Builds 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 |
BuildForm()
Creates a new instance of BuildForm |
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 |
BuildForm
public BuildForm()
- Creates a new instance of BuildForm
getKey
public java.lang.String getKey()
- Returns:
- This build unique key
setKey
public void setKey(java.lang.String key)
- Parameters:
key
- This build unique key
getComments
public java.lang.String getComments()
- Returns:
- The comments on build creation
setComments
public void setComments(java.lang.String comments)
- Parameters:
comments
- The comments on build creation
getVersionInfo
public java.lang.String getVersionInfo()
- Returns:
- The information on this build version
setVersionInfo
public void setVersionInfo(java.lang.String versionInfo)
- Parameters:
versionInfo
- the information on this build version
getComposerId
public java.lang.String getComposerId()
- Returns:
- The identifier of user that has composed this build
setComposerId
public void setComposerId(java.lang.String composerId)
- Parameters:
composerId
- The identifier of user that has composed this build
getCreationDate
public java.util.Date getCreationDate()
- Returns:
- The creation date of this build
setPublicationDate
public void setPublicationDate(java.util.Date creationDate)
- Parameters:
creationDate
- The creation date of this build
getReleaseName
public java.lang.String getReleaseName()
- Returns:
- The name of the release this build is attached to
setReleaseName
public void setReleaseName(java.lang.String releaseName)
- Parameters:
releaseName
- The name of release this build is attached to
getCreationDateStr
public java.lang.String getCreationDateStr()
- Returns:
- Creation date for this build (should be a date)
setCreationDateStr
public void setCreationDateStr(java.lang.String creationDateStr)
- Parameters:
creationDateStr
- Creation date for this build (should be a date)
getComponents
public java.util.Map getComponents()
- Returns:
- Map of components composing build
getMappedComponent
public java.lang.Object getMappedComponent(java.lang.String key)
- Parameters:
key
- Key of component type to get component for
- Returns:
- The component in build corresponding to specified type
setMappedComponent
public void setMappedComponent(java.lang.String key,
java.lang.Object value)
- Parameters:
key
- Key of the type of component to addvalue
- The key of component to add to build composition
addComponent
public void addComponent(Component component)
- Parameters:
component
- Existing build component to add to mapped one
getExtractedComponents
public java.util.Map getExtractedComponents()
- Returns:
- Map of components composing build that shoule be extracted from assemblies
getExtractedComponent
public java.lang.Object getExtractedComponent(java.lang.String key)
- Parameters:
key
- Key of component type to get extraction assembly for
- Returns:
- The assembly from whom component of this type has to be extracted
setExtractedComponent
public void setExtractedComponent(java.lang.String key,
java.lang.Object value)
- Parameters:
key
- Key of the type of component to extractvalue
- The key of assembly to extract component from
doValidate
public void doValidate(java.lang.String operation,
org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validate 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.