edu.uoc.tfc.gui.home.meuPerfil
Class CUPerfilFormImpl

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by edu.uoc.tfc.gui.home.meuPerfil.CUPerfilFormImpl
All Implemented Interfaces:
ObtenirUsuariForm, java.io.Serializable

public class CUPerfilFormImpl
extends org.apache.struts.validator.ValidatorForm
implements java.io.Serializable, ObtenirUsuariForm

See Also:
Serialized Form

Constructor Summary
CUPerfilFormImpl()
           
 
Method Summary
 void clean()
          Allows you to clean all values from this form.
 PerfilVO getPerfil()
          Gets the perfil field.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void resetPerfil()
          Resets the given perfil.
 void setPerfil(PerfilVO perfil)
          Sets the perfil field.
 java.lang.String toString()
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Override to provide population of current form with request parameters when validation fails.
 
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CUPerfilFormImpl

public CUPerfilFormImpl()
Method Detail

resetPerfil

public void resetPerfil()
Resets the given perfil.

Specified by:
resetPerfil in interface ObtenirUsuariForm

setPerfil

public void setPerfil(PerfilVO perfil)
Description copied from interface: ObtenirUsuariForm
Sets the perfil field.

Specified by:
setPerfil in interface ObtenirUsuariForm

getPerfil

public PerfilVO getPerfil()
Description copied from interface: ObtenirUsuariForm
Gets the perfil field.

Specified by:
getPerfil in interface ObtenirUsuariForm

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class org.apache.struts.validator.ValidatorForm
See Also:
ValidatorForm.reset(org.apache.struts.action.ActionMapping,javax.servlet.http.HttpServletRequest)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clean

public void clean()
Allows you to clean all values from this form. Objects will be set to null, numeric values will be set to zero and boolean values will be set to false. Backinglists for selectable fields will also be set to null.


validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Override to provide population of current form with request parameters when validation fails.

Overrides:
validate in class org.apache.struts.validator.ValidatorForm
See Also:
ActionForm.validate(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)