edu.uoc.tfc.gui.parts
Class CercaPartDadesCercaPartsFormImpl

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

public class CercaPartDadesCercaPartsFormImpl
extends org.apache.struts.validator.ValidatorForm
implements java.io.Serializable, CercaPartsForm

See Also:
Serialized Form

Constructor Summary
CercaPartDadesCercaPartsFormImpl()
           
 
Method Summary
 void clean()
          Allows you to clean all values from this form.
 CriteriaPartVO getCriteriaPart()
          Gets the criteriaPart field.
 ResultatCercaPartVO getResultat()
          Gets the resultat field.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void resetCriteriaPart()
          Resets the given criteriaPart.
 void resetResultat()
          Resets the given resultat.
 void setCriteriaPart(CriteriaPartVO criteriaPart)
          Sets the criteriaPart field.
 void setResultat(ResultatCercaPartVO 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

CercaPartDadesCercaPartsFormImpl

public CercaPartDadesCercaPartsFormImpl()
Method Detail

resetResultat

public void resetResultat()
Resets the given resultat.

Specified by:
resetResultat in interface CercaPartsForm

setResultat

public void setResultat(ResultatCercaPartVO resultat)
Description copied from interface: CercaPartsForm
Sets the resultat field.

Specified by:
setResultat in interface CercaPartsForm

getResultat

public ResultatCercaPartVO getResultat()
Description copied from interface: CercaPartsForm
Gets the resultat field.

Specified by:
getResultat in interface CercaPartsForm

resetCriteriaPart

public void resetCriteriaPart()
Resets the given criteriaPart.

Specified by:
resetCriteriaPart in interface CercaPartsForm

setCriteriaPart

public void setCriteriaPart(CriteriaPartVO criteriaPart)
Description copied from interface: CercaPartsForm
Sets the criteriaPart field.

Specified by:
setCriteriaPart in interface CercaPartsForm

getCriteriaPart

public CriteriaPartVO getCriteriaPart()
Description copied from interface: CercaPartsForm
Gets the criteriaPart field.

Specified by:
getCriteriaPart in interface CercaPartsForm

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)