Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.bugbase.forms
Class BugReportForm  view BugReportForm download BugReportForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byopenfuture.bugbase.forms.BugReportForm
All Implemented Interfaces:
java.io.Serializable

public class BugReportForm
extends org.apache.struts.action.ActionForm

Bean for bug reports.

Created: Fri Jan 12 08:03:06 2001

Version:
$Revision: 1.4 $

Field Summary
private  java.lang.String attachmentPath
           
private  java.util.Date dateFixed
           
private  java.util.Date dateRejected
           
private  java.util.Date dateReported
           
private  java.util.Date dateStarted
           
private  java.lang.String description
           
private  java.lang.String errorLevel
           
private  java.lang.String filename
           
private  java.lang.String groupid
           
private  java.lang.String id
           
private  openfuture.bugbase.domain.MasterDataProvider masterDataProvider
           
private  java.lang.String packageName
           
private  java.lang.String status
           
private  java.lang.String title
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
BugReportForm()
          Creates a BugReportForm instance.
 
Method Summary
 java.lang.String getAttachmentPath()
          Get the value of attachmentPath.
 java.util.Date getDateFixed()
          Get the value of dateFixed.
 java.util.Date getDateRejected()
          Get the value of dateRejected.
 java.util.Date getDateReported()
          Get the value of dateReported.
 java.util.Date getDateStarted()
          Get the value of dateStarted.
 java.lang.String getDescription()
          Get the value of description.
 java.lang.String getErrorLevel()
          Get the value of errorLevel.
 java.lang.String getErrorLevelText()
          Get the textual description of the error level.
 java.lang.String getFilename()
          Get the value of filename.
 java.lang.String getGroupid()
          Get the value of groupid.
 java.lang.String getId()
          Get the value of id.
 openfuture.bugbase.domain.MasterDataProvider getMasterDataProvider()
          Get the value of masterDataProvider.
 java.lang.String getPackageName()
          Get the value of packageName.
 java.lang.String getStatus()
          Get the value of status.
 java.lang.String getStatusText()
          Derive the status from the date fields.
 java.lang.String getTitle()
          Get the value of title.
 void setAttachmentPath(java.lang.String v)
          Set the value of attachmentPath.
 void setBugReport(openfuture.bugbase.domain.BugReport report)
          Convenience method setting all properties from a given bug report.
 void setDateFixed(java.util.Date v)
          Set the value of dateFixed.
 void setDateRejected(java.util.Date v)
          Set the value of dateRejected.
 void setDateReported(java.util.Date v)
          Set the value of dateReported.
 void setDateStarted(java.util.Date v)
          Set the value of dateStarted.
 void setDescription(java.lang.String v)
          Set the value of description.
 void setErrorLevel(java.lang.String v)
          Set the value of errorLevel.
 void setFilename(java.lang.String v)
          Set the value of filename.
 void setGroupid(java.lang.String v)
          Set the value of groupid.
 void setId(java.lang.String v)
          Set the value of id.
 void setMasterDataProvider(openfuture.bugbase.domain.MasterDataProvider v)
          Set the value of masterDataProvider.
 void setPackageName(java.lang.String v)
          Set the value of packageName.
 void setStatus(java.lang.String v)
          Set the value of status.
 void setTitle(java.lang.String v)
          Set the value of title.
 java.lang.String[] validate()
          Check, if all mandatory fields are set.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private java.lang.String id

groupid

private java.lang.String groupid

title

private java.lang.String title

description

private java.lang.String description

packageName

private java.lang.String packageName

errorLevel

private java.lang.String errorLevel

attachmentPath

private java.lang.String attachmentPath

filename

private java.lang.String filename

dateReported

private java.util.Date dateReported

dateStarted

private java.util.Date dateStarted

dateFixed

private java.util.Date dateFixed

dateRejected

private java.util.Date dateRejected

masterDataProvider

private openfuture.bugbase.domain.MasterDataProvider masterDataProvider

status

private java.lang.String status
Constructor Detail

BugReportForm

public BugReportForm()
Creates a BugReportForm instance. The error level is set to disturbing 55

Method Detail

getId

public java.lang.String getId()
Get the value of id.


setId

public void setId(java.lang.String v)
Set the value of id.


getTitle

public java.lang.String getTitle()
Get the value of title.


setTitle

public void setTitle(java.lang.String v)
Set the value of title.


getDescription

public java.lang.String getDescription()
Get the value of description.


setDescription

public void setDescription(java.lang.String v)
Set the value of description.


getPackageName

public java.lang.String getPackageName()
Get the value of packageName.


setPackageName

public void setPackageName(java.lang.String v)
Set the value of packageName.


getErrorLevel

public java.lang.String getErrorLevel()
Get the value of errorLevel.


getErrorLevelText

public java.lang.String getErrorLevelText()
Get the textual description of the error level.


setErrorLevel

public void setErrorLevel(java.lang.String v)
Set the value of errorLevel.


getGroupid

public java.lang.String getGroupid()
Get the value of groupid.


setGroupid

public void setGroupid(java.lang.String v)
Set the value of groupid.


getFilename

public java.lang.String getFilename()
Get the value of filename.


setFilename

public void setFilename(java.lang.String v)
Set the value of filename.


getAttachmentPath

public java.lang.String getAttachmentPath()
Get the value of attachmentPath.


setAttachmentPath

public void setAttachmentPath(java.lang.String v)
Set the value of attachmentPath.


getDateReported

public java.util.Date getDateReported()
Get the value of dateReported.


setDateReported

public void setDateReported(java.util.Date v)
Set the value of dateReported.


getDateStarted

public java.util.Date getDateStarted()
Get the value of dateStarted.


setDateStarted

public void setDateStarted(java.util.Date v)
Set the value of dateStarted.


getDateFixed

public java.util.Date getDateFixed()
Get the value of dateFixed.


setDateFixed

public void setDateFixed(java.util.Date v)
Set the value of dateFixed.


getDateRejected

public java.util.Date getDateRejected()
Get the value of dateRejected.


setDateRejected

public void setDateRejected(java.util.Date v)
Set the value of dateRejected.


getStatus

public java.lang.String getStatus()
Get the value of status.


setStatus

public void setStatus(java.lang.String v)
Set the value of status.


getStatusText

public java.lang.String getStatusText()
Derive the status from the date fields.


getMasterDataProvider

public openfuture.bugbase.domain.MasterDataProvider getMasterDataProvider()
Get the value of masterDataProvider.


setMasterDataProvider

public void setMasterDataProvider(openfuture.bugbase.domain.MasterDataProvider v)
Set the value of masterDataProvider.


setBugReport

public void setBugReport(openfuture.bugbase.domain.BugReport report)
Convenience method setting all properties from a given bug report.


validate

public java.lang.String[] validate()
Check, if all mandatory fields are set. All fields are mandatory except for filename.