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

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.TancarPartDadesTancarPartFormImpl
All Implemented Interfaces:
TancaPartForm, java.io.Serializable

public class TancarPartDadesTancarPartFormImpl
extends org.apache.struts.validator.ValidatorForm
implements java.io.Serializable, TancaPartForm

See Also:
Serialized Form

Constructor Summary
TancarPartDadesTancarPartFormImpl()
           
 
Method Summary
 void clean()
          Allows you to clean all values from this form.
 PartVO getPart()
          Gets the part field.
 ResultatAccioAjaxVO getResultat()
          Gets the resultat field.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void resetPart()
          Resets the given part.
 void resetResultat()
          Resets the given resultat.
 void setPart(PartVO part)
          Sets the part field.
 void setResultat(ResultatAccioAjaxVO resultat)
          Sets the resultat 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

TancarPartDadesTancarPartFormImpl

public TancarPartDadesTancarPartFormImpl()
Method Detail

resetPart

public void resetPart()
Resets the given part.

Specified by:
resetPart in interface TancaPartForm

setPart

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

Specified by:
setPart in interface TancaPartForm

getPart

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

Specified by:
getPart in interface TancaPartForm

resetResultat

public void resetResultat()
Resets the given resultat.

Specified by:
resetResultat in interface TancaPartForm

setResultat

public void setResultat(ResultatAccioAjaxVO resultat)
Description copied from interface: TancaPartForm
Sets the resultat field.

Specified by:
setResultat in interface TancaPartForm

getResultat

public ResultatAccioAjaxVO getResultat()
Description copied from interface: TancaPartForm
Gets the resultat field.

Specified by:
getResultat in interface TancaPartForm

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)