addattform.java

来自「我的文件是一个数据添加页面」· Java 代码 · 共 124 行

JAVA
124
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.kmd.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: 03-30-2007
 * 
 * XDoclet definition:
 * @struts.form name="addAttForm"
 */
public class AddAttForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** value property */
	private String value;

	/** type property */
	private Integer type;

	/** ename property */
	private String ename;

	/** cname property */
	private String cname;

	/*
	 * 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 value.
	 * @return String
	 */
	public String getValue() {
		return value;
	}

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

	/** 
	 * Returns the type.
	 * @return Integer
	 */
	public Integer getType() {
		return type;
	}

	/** 
	 * Set the type.
	 * @param type The type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/** 
	 * Returns the ename.
	 * @return String
	 */
	public String getEname() {
		return ename;
	}

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

	/** 
	 * Returns the cname.
	 * @return String
	 */
	public String getCname() {
		return cname;
	}

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

⌨️ 快捷键说明

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