org.apache.taglibs.rdc.sampleapps.mortgage.struts
Class MortgageBean

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.taglibs.rdc.sampleapps.mortgage.struts.MortgageBean
All Implemented Interfaces:
java.io.Serializable

public class MortgageBean
extends org.apache.struts.action.ActionForm

Struts form bean for mortgage.jsp (from mortgage sample app)

Author:
Sindhu Unnikrishnan, Rahul Akolkar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
MortgageBean()
           
 
Method Summary
 MortgageData getMortgage()
          Get mortgage
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all bean properties to their default state.
 void setMortgage(MortgageData mortgage)
          Set mortgage
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MortgageBean

public MortgageBean()
Method Detail

getMortgage

public MortgageData getMortgage()
Get mortgage

Returns:
MortgageData the mortgage information

setMortgage

public void setMortgage(MortgageData mortgage)
Set mortgage

Parameters:
MortgageData - the mortgage information

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset all bean properties to their default state.

Overrides:
reset in class org.apache.struts.action.ActionForm

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.

Overrides:
validate in class org.apache.struts.action.ActionForm


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.