edu.uoc.tfc.gui.parts.tancar
Class CUTancaPartFormImpl

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by edu.uoc.tfc.gui.parts.tancar.CUTancaPartFormImpl
All Implemented Interfaces:
ConsultaPartForm, java.io.Serializable

public class CUTancaPartFormImpl
extends org.apache.struts.validator.ValidatorForm
implements java.io.Serializable, ConsultaPartForm

See Also:
Serialized Form

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

CUTancaPartFormImpl

public CUTancaPartFormImpl()
Method Detail

resetPart

public void resetPart()
Resets the given part.

Specified by:
resetPart in interface ConsultaPartForm

setPart

public void setPart(PartVO part)
Description copied from interface: ConsultaPartForm
Sets the part field.

Specified by:
setPart in interface ConsultaPartForm

getPart

public PartVO getPart()
Description copied from interface: ConsultaPartForm
Gets the part field.

Specified by:
getPart in interface ConsultaPartForm

resetId

public void resetId()
Resets the given id.

Specified by:
resetId in interface ConsultaPartForm

setId

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

Specified by:
setId in interface ConsultaPartForm

getId

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

Specified by:
getId in interface ConsultaPartForm

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)