addform.java

来自「计数器」· Java 代码 · 共 105 行

JAVA
105
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.abc.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * MyEclipse Struts
 * Creation date: 04-07-2008
 * 
 * XDoclet definition:
 * @struts.form name="addForm"
 */
public class AddForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** v1 property */
	private String v1;

	/** result property */
	private String result;

	/** v2 property */
	private String v2;

	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	/** 
	 * Returns the v1.
	 * @return String
	 */
	public String getV1() {
		return v1;
	}

	/** 
	 * Set the v1.
	 * @param v1 The v1 to set
	 */
	public void setV1(String v1) {
		this.v1 = v1;
	}

	/** 
	 * Returns the result.
	 * @return String
	 */
	public String getResult() {
		return result;
	}

	/** 
	 * Set the result.
	 * @param result The result to set
	 */
	public void setResult(String result) {
		this.result = result;
	}

	/** 
	 * Returns the v2.
	 * @return String
	 */
	public String getV2() {
		return v2;
	}

	/** 
	 * Set the v2.
	 * @param v2 The v2 to set
	 */
	public void setV2(String v2) {
		this.v2 = v2;
	}
}

⌨️ 快捷键说明

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