org.apache.taglibs.rdc.sampleapps.mortgage.struts
Class MortgageBean
java.lang.Object
org.apache.struts.action.ActionForm
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
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
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 |
MortgageBean
public MortgageBean()
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.