edu.uoc.tfc.gui.clients.modificacio
Class CUModificaClientFormImpl

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by edu.uoc.tfc.gui.clients.modificacio.CUModificaClientFormImpl
All Implemented Interfaces:
ConsultaClientForm, java.io.Serializable

public class CUModificaClientFormImpl
extends org.apache.struts.validator.ValidatorForm
implements java.io.Serializable, ConsultaClientForm

See Also:
Serialized Form

Constructor Summary
CUModificaClientFormImpl()
           
 
Method Summary
 void clean()
          Allows you to clean all values from this form.
 ClientVO getClient()
          Gets the client field.
 java.lang.String getId()
          Gets the id field.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void resetClient()
          Resets the given client.
 void resetId()
          Resets the given id.
 void setClient(ClientVO client)
          Sets the client field.
 void setId(java.lang.String id)
          Sets the id 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

CUModificaClientFormImpl

public CUModificaClientFormImpl()
Method Detail

resetClient

public void resetClient()
Resets the given client.

Specified by:
resetClient in interface ConsultaClientForm

setClient

public void setClient(ClientVO client)
Description copied from interface: ConsultaClientForm
Sets the client field.

Specified by:
setClient in interface ConsultaClientForm

getClient

public ClientVO getClient()
Description copied from interface: ConsultaClientForm
Gets the client field.

Specified by:
getClient in interface ConsultaClientForm

resetId

public void resetId()
Resets the given id.

Specified by:
resetId in interface ConsultaClientForm

setId

public void setId(java.lang.String id)
Description copied from interface: ConsultaClientForm
Sets the id field.

Specified by:
setId in interface ConsultaClientForm

getId

public java.lang.String getId()
Description copied from interface: ConsultaClientForm
Gets the id field.

Specified by:
getId in interface ConsultaClientForm

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)