Thread: [Ejtools-cvs] CVS: applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form Det
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-15 20:56:27
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form In directory usw-pr-cvs1:/tmp/cvs-serv10359/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form Modified Files: DetailForm.java FilterForm.java Log Message: Add some JavaDocs Index: DetailForm.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form/DetailForm.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DetailForm.java 25 Apr 2002 20:24:07 -0000 1.2 --- DetailForm.java 15 May 2002 20:56:20 -0000 1.3 *************** *** 1,65 **** package net.sourceforge.ejtools.jmxbrowser.web.form; ! import javax.servlet.http.*; ! import org.apache.struts.action.*; /** ! * Description of the Class * ! * @author letiembl ! * @created 13 février 2002 */ public final class DetailForm extends ActionForm { ! /** Description of the Field */ protected String reference = null; ! /** Constructor for the ConnectForm object */ ! public DetailForm() ! { ! } /** ! * Setter for the factory attribute * ! * @param reference The new value for reference attribute */ ! public void setReference(String reference) { ! this.reference = reference; } /** ! * Getter for the factory attribute * ! * @return The value of factory attribute */ ! public String getReference() ! { ! return reference; ! } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter */ ! public void reset(ActionMapping mapping, HttpServletRequest request) { } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter ! * @return Description of the Returned Value */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) --- 1,71 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package net.sourceforge.ejtools.jmxbrowser.web.form; ! import javax.servlet.http.HttpServletRequest; ! import org.apache.struts.action.ActionError; ! 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 ! * @todo Javadoc to complete */ public final class DetailForm extends ActionForm { ! /** Description of the Field */ protected String reference = null; ! /** Constructor for the ConnectForm object */ ! public DetailForm() { } /** ! * Getter for the factory attribute * ! * @return The value of factory attribute */ ! public String getReference() { ! return reference; } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter */ ! public void reset(ActionMapping mapping, HttpServletRequest request) { } /** ! * Setter for the factory attribute * ! * @param reference The new value for reference attribute */ ! public void setReference(String reference) { + this.reference = reference; } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter ! * @return Description of the Returned Value */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) Index: FilterForm.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/form/FilterForm.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FilterForm.java 25 Apr 2002 20:24:07 -0000 1.2 --- FilterForm.java 15 May 2002 20:56:20 -0000 1.3 *************** *** 1,66 **** package net.sourceforge.ejtools.jmxbrowser.web.form; ! import javax.servlet.http.*; ! import org.apache.struts.action.*; /** ! * Description of the Class * ! * @author letiembl ! * @created 13 février 2002 */ public final class FilterForm extends ActionForm { ! /** Description of the Field */ protected String filter = "*:*"; ! /** Constructor for the ConnectForm object */ ! public FilterForm() ! { ! } /** ! * Setter for the factory attribute * ! * @param filter The new value for filter attribute */ ! public void setFilter(String filter) { ! this.filter = filter; } /** ! * Getter for the factory attribute * ! * @return The value of factory attribute */ ! public String getFilter() { ! return filter; } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter */ ! public void reset(ActionMapping mapping, HttpServletRequest request) { ! this.filter = "*:*"; } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter ! * @return Description of the Returned Value */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) --- 1,73 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package net.sourceforge.ejtools.jmxbrowser.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 ! * @todo Javadoc to complete */ public final class FilterForm extends ActionForm { ! /** Description of the Field */ protected String filter = "*:*"; ! /** Constructor for the ConnectForm object */ ! public FilterForm() { } /** ! * Getter for the factory attribute * ! * @return The value of factory attribute */ ! public String getFilter() { ! return filter; } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter */ ! public void reset(ActionMapping mapping, HttpServletRequest request) { ! this.filter = "*:*"; } /** ! * Setter for the factory attribute * ! * @param filter The new value for filter attribute */ ! public void setFilter(String filter) { ! this.filter = filter; } /** ! * Description of the Method * ! * @param mapping Description of Parameter ! * @param request Description of Parameter ! * @return Description of the Returned Value */ public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) |