|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.struts.action.ActionForm | +--openfuture.bugbase.forms.RegistrationForm
Bean corresponding to Registration.jsp.
Created: Sat Jan 06 21:56:41 2001
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary | |
RegistrationForm()
Creates a new empty RegistrationForm instance. |
|
RegistrationForm(User user)
Creates a new RegistrationForm instance using
the user data (password 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(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, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RegistrationForm()
RegistrationForm
instance.public RegistrationForm(User user)
RegistrationForm
instance using
the user data (password
is not set).user
- user dataMethod Detail |
public java.lang.String getUserid()
public void setUserid(java.lang.String v)
v
- Value to assign to userid.public java.lang.String getPassword()
public void setPassword(java.lang.String v)
v
- Value to assign to password.public java.lang.String getPassword2()
public void setPassword2(java.lang.String v)
v
- Value to assign to password2.public java.lang.String getName()
public void setName(java.lang.String v)
v
- Value to assign to name.public java.lang.String getEmail()
public void setEmail(java.lang.String v)
v
- Value to assign to email.public void setUser(User user)
user
- user datapublic org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
filename
.validate
in class org.apache.struts.action.ActionForm
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |