com.pow2.struts.forms
Class RegistrationForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.pow2.struts.forms.RegistrationForm
All Implemented Interfaces:
Serializable

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

Struts RegistrationForm class.

Author:
Massimiliano Farnea
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
RegistrationForm()
          Default constructor.
 
Method Summary
 String getCity()
          Gets the city attribute of the RegistrationForm object
 String getEmail()
          Gets the email attribute of the RegistrationForm object
 String getFax()
          Gets the fax attribute of the RegistrationForm object
 String getFirstName()
          Gets the firstName attribute of the RegistrationForm object
 String getId()
          Gets the id attribute of the RegistrationForm object
 String getLastName()
          Gets the lastName attribute of the RegistrationForm object
 String getLogin()
          Gets the login attribute of the RegistrationForm object
 String getMobile()
          Gets the mobile attribute of the RegistrationForm object
 String getPasswd()
          Gets the passwd attribute of the RegistrationForm object
 String getPasswdConfirm()
          Gets the passwdConfirm attribute of the RegistrationForm object
 String getPhone()
          Gets the phone attribute of the RegistrationForm object
 String getState()
          Gets the state attribute of the RegistrationForm object
 String getStreet()
          Gets the street attribute of the RegistrationForm object
 String getZipCode()
          Gets the zipCode attribute of the RegistrationForm object
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all bean properties to their default state.
 void setCity(String v)
          Sets the city attribute of the RegistrationForm object
 void setEmail(String v)
          Sets the email attribute of the RegistrationForm object
 void setFax(String v)
          Sets the fax attribute of the RegistrationForm object
 void setFirstName(String v)
          Sets the firstName attribute of the RegistrationForm object
 void setId(String id)
          Sets the id attribute of the RegistrationForm object
 void setLastName(String v)
          Sets the lastName attribute of the RegistrationForm object
 void setLogin(String v)
          Sets the login attribute of the RegistrationForm object
 void setMobile(String v)
          Sets the mobile attribute of the RegistrationForm object
 void setPasswd(String v)
          Sets the passwd attribute of the RegistrationForm object
 void setPasswdConfirm(String v)
          Sets the passwdConfirm attribute of the RegistrationForm object
 void setPhone(String v)
          Sets the phone attribute of the RegistrationForm object
 void setState(String v)
          Sets the state attribute of the RegistrationForm object
 void setStreet(String v)
          Sets the street attribute of the RegistrationForm object
 void setZipCode(String v)
          Sets the zipCode attribute of the RegistrationForm object
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Description of the Method
 
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
 

Constructor Detail

RegistrationForm

public RegistrationForm()
Default constructor.

Method Detail

getCity

public String getCity()
Gets the city attribute of the RegistrationForm object

Returns:
The city value

getEmail

public String getEmail()
Gets the email attribute of the RegistrationForm object

Returns:
The email value

getFax

public String getFax()
Gets the fax attribute of the RegistrationForm object

Returns:
The fax value

getFirstName

public String getFirstName()
Gets the firstName attribute of the RegistrationForm object

Returns:
The firstName value

getId

public String getId()
Gets the id attribute of the RegistrationForm object

Returns:
The id value

getLastName

public String getLastName()
Gets the lastName attribute of the RegistrationForm object

Returns:
The lastName value

getLogin

public String getLogin()
Gets the login attribute of the RegistrationForm object

Returns:
The login value

getMobile

public String getMobile()
Gets the mobile attribute of the RegistrationForm object

Returns:
The mobile value

getPasswd

public String getPasswd()
Gets the passwd attribute of the RegistrationForm object

Returns:
The passwd value

getPasswdConfirm

public String getPasswdConfirm()
Gets the passwdConfirm attribute of the RegistrationForm object

Returns:
The passwdConfirm value

getPhone

public String getPhone()
Gets the phone attribute of the RegistrationForm object

Returns:
The phone value

getState

public String getState()
Gets the state attribute of the RegistrationForm object

Returns:
The state value

getStreet

public String getStreet()
Gets the street attribute of the RegistrationForm object

Returns:
The street value

getZipCode

public String getZipCode()
Gets the zipCode attribute of the RegistrationForm object

Returns:
The zipCode value

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Reset all bean properties to their default state. This method is called before the properties are repopulated by the controller servlet.
The form bean is always filled with the data of the current user in session. In this way I can use the bean for upgrading actions.

Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

setCity

public void setCity(String v)
Sets the city attribute of the RegistrationForm object

Parameters:
v - The new city value

setEmail

public void setEmail(String v)
Sets the email attribute of the RegistrationForm object

Parameters:
v - The new email value

setFax

public void setFax(String v)
Sets the fax attribute of the RegistrationForm object

Parameters:
v - The new fax value

setFirstName

public void setFirstName(String v)
Sets the firstName attribute of the RegistrationForm object

Parameters:
v - The new firstName value

setId

public void setId(String id)
Sets the id attribute of the RegistrationForm object

Parameters:
id - The new id value

setLastName

public void setLastName(String v)
Sets the lastName attribute of the RegistrationForm object

Parameters:
v - The new lastName value

setLogin

public void setLogin(String v)
Sets the login attribute of the RegistrationForm object

Parameters:
v - The new login value

setMobile

public void setMobile(String v)
Sets the mobile attribute of the RegistrationForm object

Parameters:
v - The new mobile value

setPasswd

public void setPasswd(String v)
Sets the passwd attribute of the RegistrationForm object

Parameters:
v - The new passwd value

setPasswdConfirm

public void setPasswdConfirm(String v)
Sets the passwdConfirm attribute of the RegistrationForm object

Parameters:
v - The new passwdConfirm value

setPhone

public void setPhone(String v)
Sets the phone attribute of the RegistrationForm object

Parameters:
v - The new phone value

setState

public void setState(String v)
Sets the state attribute of the RegistrationForm object

Parameters:
v - The new state value

setStreet

public void setStreet(String v)
Sets the street attribute of the RegistrationForm object

Parameters:
v - The new street value

setZipCode

public void setZipCode(String v)
Sets the zipCode attribute of the RegistrationForm object

Parameters:
v - The new zipCode value

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      HttpServletRequest request)
Description of the Method

Parameters:
mapping - Description of the Parameter
request - Description of the Parameter
Returns:
Description of the Return Value


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.