[Ejtools-cvs] applications/jndi.browser/src/main/org/ejtools/jndi/browser/web/form ViewForm.java,1.3
Brought to you by:
letiemble
From: <let...@us...> - 2003-11-27 01:30:33
|
Update of /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser/web/form In directory sc8-pr-cvs1:/tmp/cvs-serv17169/jndi.browser/src/main/org/ejtools/jndi/browser/web/form Modified Files: ViewForm.java Log Message: Address Todo #755528 Address Todo #800902 Index: ViewForm.java =================================================================== RCS file: /cvsroot/ejtools/applications/jndi.browser/src/main/org/ejtools/jndi/browser/web/form/ViewForm.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ViewForm.java 24 Feb 2003 22:32:30 -0000 1.3 --- ViewForm.java 27 Nov 2003 01:30:30 -0000 1.4 *************** *** 1,100 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jndi.browser.web.form; ! ! import javax.servlet.http.HttpServletRequest; ! ! import org.apache.struts.action.ActionErrors; ! import org.apache.struts.action.ActionForm; ! import org.apache.struts.action.ActionMapping; ! ! /** ! * Description of the Class ! * ! * @author letiemble ! * @created 13 février 2002 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class ViewForm extends ActionForm ! { ! /** Description of the Field */ ! protected String name = null; ! /** Description of the Field */ ! protected String type = null; ! ! ! /** Constructor for the ViewForm object */ ! public ViewForm() { } ! ! ! /** ! * Returns the name. ! * ! * @return String ! */ ! public String getName() ! { ! return name; ! } ! ! ! /** ! * Returns the type. ! * ! * @return String ! */ ! public String getType() ! { ! return type; ! } ! ! ! /** ! * Description of the Method ! * ! * @param mapping Description of the Parameter ! * @param request Description of the Parameter ! */ ! public void reset(ActionMapping mapping, HttpServletRequest request) { } ! ! ! /** ! * Sets the name. ! * ! * @param name The name to set ! */ ! public void setName(String name) ! { ! this.name = name; ! } ! ! ! /** ! * Sets the type. ! * ! * @param type The type to set ! */ ! public void setType(String type) ! { ! this.type = type; ! } ! ! ! /** ! * Description of the Method ! * ! * @param mapping Description of the Parameter ! * @param request Description of the Parameter ! * @return Description of the Return Value ! */ ! public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) ! { ! return new ActionErrors(); ! } ! } ! --- 1,100 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jndi.browser.web.form; ! ! import javax.servlet.http.HttpServletRequest; ! ! import org.apache.struts.action.ActionErrors; ! import org.apache.struts.action.ActionForm; ! import org.apache.struts.action.ActionMapping; ! ! /** ! * Description of the Class ! * ! * @author letiemble ! * @created 13 février 2002 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public class ViewForm extends ActionForm ! { ! /** Description of the Field */ ! protected String name = null; ! /** Description of the Field */ ! protected String type = null; ! ! ! /** Constructor for the ViewForm object */ ! public ViewForm() { } ! ! ! /** ! * Returns the name. ! * ! * @return String ! */ ! public String getName() ! { ! return name; ! } ! ! ! /** ! * Returns the type. ! * ! * @return String ! */ ! public String getType() ! { ! return type; ! } ! ! ! /** ! * Description of the Method ! * ! * @param mapping Description of the Parameter ! * @param request Description of the Parameter ! */ ! public void reset(ActionMapping mapping, HttpServletRequest request) { } ! ! ! /** ! * Sets the name. ! * ! * @param name The name to set ! */ ! public void setName(String name) ! { ! this.name = name; ! } ! ! ! /** ! * Sets the type. ! * ! * @param type The type to set ! */ ! public void setType(String type) ! { ! this.type = type; ! } ! ! ! /** ! * Description of the Method ! * ! * @param mapping Description of the Parameter ! * @param request Description of the Parameter ! * @return Description of the Return Value ! */ ! public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) ! { ! return new ActionErrors(); ! } ! } ! |