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

Quick Search    Search Deep

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

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

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

Bean corresponding to Registration.jsp.

Created: Sat Jan 06 21:56:41 2001

Version:
$Revision: 1.4 $

Field Summary
private  java.lang.String email
           
private  java.lang.String name
           
private  java.lang.String password
           
private  java.lang.String password2
           
private  java.lang.String userid
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
RegistrationForm()
          Creates a new empty RegistrationForm instance.
RegistrationForm(openfuture.bugbase.domain.User user)
          Creates a new RegistrationForm instance using the user data (password 55 is not set).
 
Method Summary
 java.lang.String getEmail()
          Get the value of email.
 java.lang.String getName()
          Get the value of name.
 java.lang.String getPassword()
          Get the value of password.
 java.lang.String getPassword2()
          Get the value of password2.
 java.lang.String getUserid()
          Get the value of userid.
 void setEmail(java.lang.String v)
          Set the value of email.
 void setName(java.lang.String v)
          Set the value of name.
 void setPassword(java.lang.String v)
          Set the value of password.
 void setPassword2(java.lang.String v)
          Set the value of password2.
 void setUser(openfuture.bugbase.domain.User user)
          Convenience method to propagate user data to this form.
 void setUserid(java.lang.String v)
          Set the value of userid.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userid

private java.lang.String userid

password

private java.lang.String password

password2

private java.lang.String password2

name

private java.lang.String name

email

private java.lang.String email
Constructor Detail

RegistrationForm

public RegistrationForm()
Creates a new empty RegistrationForm instance.


RegistrationForm

public RegistrationForm(openfuture.bugbase.domain.User user)
Creates a new RegistrationForm instance using the user data (password 55 is not set).

Method Detail

getUserid

public java.lang.String getUserid()
Get the value of userid.


setUserid

public void setUserid(java.lang.String v)
Set the value of userid.


getPassword

public java.lang.String getPassword()
Get the value of password.


setPassword

public void setPassword(java.lang.String v)
Set the value of password.


getPassword2

public java.lang.String getPassword2()
Get the value of password2.


setPassword2

public void setPassword2(java.lang.String v)
Set the value of password2.


getName

public java.lang.String getName()
Get the value of name.


setName

public void setName(java.lang.String v)
Set the value of name.


getEmail

public java.lang.String getEmail()
Get the value of email.


setEmail

public void setEmail(java.lang.String v)
Set the value of email.


setUser

public void setUser(openfuture.bugbase.domain.User user)
Convenience method to propagate user data to this form.


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 filename.