openfuture.bugbase.forms
Class NewBugReportForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--openfuture.bugbase.forms.NewBugReportForm
All Implemented Interfaces:
java.io.Serializable

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

Bean for new bug reports.

Created: Fri Jan 12 08:03:06 2001

Version:
$Revision: 1.6 $
Author:
Wolfgang Reissenberger
See Also:
Serialized Form

Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
NewBugReportForm()
          Creates a new NewBugReportForm instance.
 
Method Summary
static java.lang.String clear(java.lang.String text)
          Remove leading linefeeds from the given text.
 org.apache.struts.upload.FormFile getAttachment()
          Get the value of attachment.
 java.lang.String getDescription()
          Get the value of description.
 java.lang.String getErrorLevel()
          Get the value of errorLevel.
 java.lang.String getGroupid()
          Get the value of groupid.
 java.lang.String getPackageName()
          Get the value of packageName.
 java.lang.String getTitle()
          Get the value of title.
 void setAttachment(org.apache.struts.upload.FormFile v)
          Set the value of attachment.
 void setDescription(java.lang.String v)
          Set the value of description.
 void setErrorLevel(java.lang.String v)
          Set the value of errorLevel.
 void setGroupid(java.lang.String v)
          Set the value of groupid.
 void setPackageName(java.lang.String v)
          Set the value of packageName.
 void setTitle(java.lang.String v)
          Set the value of title.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          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
 

Constructor Detail

NewBugReportForm

public NewBugReportForm()
Creates a new NewBugReportForm instance. The error level is set to disturbing
Method Detail

getTitle

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

setTitle

public void setTitle(java.lang.String v)
Set the value of title.
Parameters:
v - Value to assign to title.

getDescription

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

setDescription

public void setDescription(java.lang.String v)
Set the value of description.
Parameters:
v - Value to assign to description.

getPackageName

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

setPackageName

public void setPackageName(java.lang.String v)
Set the value of packageName.
Parameters:
v - Value to assign to packageName.

getErrorLevel

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

setErrorLevel

public void setErrorLevel(java.lang.String v)
Set the value of errorLevel.
Parameters:
v - Value to assign to errorLevel.

getGroupid

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

setGroupid

public void setGroupid(java.lang.String v)
Set the value of groupid.
Parameters:
v - Value to assign to groupid.

getAttachment

public org.apache.struts.upload.FormFile getAttachment()
Get the value of attachment.
Returns:
Value of attachment.

setAttachment

public void setAttachment(org.apache.struts.upload.FormFile v)
Set the value of attachment.
Parameters:
v - Value to assign to attachment.

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Check, if all mandatory fields are set. All fields are mandatory except for attachment.
Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - an ActionMapping value
request - a HttpServletRequest value
Returns:
list of missing entries.

clear

public static java.lang.String clear(java.lang.String text)
Remove leading linefeeds from the given text.
Parameters:
text - text to be cleared
Returns:
text without leading linefeeds


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.