Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps.form
Class AbstractEntityBeanForm  view AbstractEntityBeanForm download AbstractEntityBeanForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.RuntimeCollective.webapps.form.AbstractEntityBeanForm
All Implemented Interfaces:
BeanForm, java.io.Serializable

public abstract class AbstractEntityBeanForm
extends org.apache.struts.action.ActionForm
implements BeanForm

A form that provides a `front end' for editing an EntityBean. Based on EntityBeanForm but using a String id to allow the id "new"

Version:
$Id: AbstractEntityBeanForm.java,v 1.3 2003/09/30 15:13:13 joe Exp $

Field Summary
private  java.lang.String action
          May be useful to use an action, to use this form to do something in particular
private  java.lang.String id
          The id of the EntityBean we are dealing with
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
AbstractEntityBeanForm()
           
 
Method Summary
 java.lang.String getFormAction()
          Get the form's action
 java.lang.String getId()
          Get id
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to default values.
 void setFormAction(java.lang.String action)
          Set the form's action
protected  void setId(int id)
          Utility method that allows us to call setId with an int
 void setId(java.lang.String id)
          Set id
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.RuntimeCollective.webapps.form.BeanForm
populateBean, populateForm
 

Field Detail

id

private java.lang.String id
The id of the EntityBean we are dealing with


action

private java.lang.String action
May be useful to use an action, to use this form to do something in particular

Constructor Detail

AbstractEntityBeanForm

public AbstractEntityBeanForm()
Method Detail

getId

public java.lang.String getId()
Get id


setId

public void setId(java.lang.String id)
Set id


setId

protected void setId(int id)
Utility method that allows us to call setId with an int


getFormAction

public java.lang.String getFormAction()
Get the form's action

Specified by:
getFormAction in interface BeanForm

setFormAction

public void setFormAction(java.lang.String action)
Set the form's action

Specified by:
setFormAction in interface BeanForm

reset

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

Specified by:
reset in interface BeanForm