serviceform.java

来自「First of all, the Applet-phone is a SIP 」· Java 代码 · 共 99 行

JAVA
99
字号
package gov.nist.struts.webapp.monitor;import org.apache.struts.action.ActionForm;import org.apache.struts.action.ActionErrors;import org.apache.struts.action.ActionMapping;import javax.servlet.http.HttpServletRequest;/** * This class is a placeholder for form values.   * * @author Jean Deruelle * @version $Revision: 1.3 $ $Date: 2004/04/21 23:32:52 $ */public class ServiceForm extends ActionForm {	/**	 * The main class of the service the user has uploaded	 */	protected String mainClass = null;	/**	 * The URI of the user to whom the service belongs	 */	protected String userURI = null;	/**	 * The path of the configuration file the user has uploaded	 */	protected String path = null;	/**	 * Retrieve the URI of the user to whom the service belongs	 * @return the URI of the user to whom the service belongs	 */	public String getUserURI() {		return userURI;	}	/**	 * Set the URI of the user to whom the service belongs	 * @param mainClass - the URI of the user to whom the service belongs	 */	public void setUserURI(String userURI) {		this.userURI = userURI;	}	/**	 * Retrieve the main class of the service the user has uploaded	 * @return the main class of the service the user has uploaded	 */	public String getMainClass() {		return mainClass;	}	/**	 * Set the main class of the service the user has uploaded	 * @param mainClass - the main class of the service the user has uploaded	 */	public void setMainClass(String mainClass) {		this.mainClass = mainClass;	}	/**	 * Retrieve the path of the configuration file the user has uploaded	 * @return the path of the service the configuration file has uploaded	 */	public String getPath() {		return path;	}	/**	 * Set the path of the service the configuration file has uploaded	 * @param path - the path of the service the configuration file has uploaded	 */	public void setPath(String path) {		this.path = path;	}	/**	 * @see org.apache.struts.action.ActionForm#reset(ActionMapping actionMapping,HttpServletRequest httpServletRequest)	 */	public void reset(ActionMapping mapping, HttpServletRequest request) {		mainClass = null;		path = null;	}	/**	 * @see org.apache.struts.action.ActionForm#validate(ActionMapping mapping,HttpServletRequest request)	 */	public ActionErrors validate(		ActionMapping mapping,		HttpServletRequest request) {		ActionErrors errors = new ActionErrors();		return errors;	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?