mealform.java

来自「JavaEE订餐项目的功能:用户登录、用户注册、添加订餐信息、查询订餐、结算、权」· Java 代码 · 共 105 行

JAVA
105
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.amaker.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-26-2008
 * 
 * XDoclet definition:
 * @struts.form name="mealForm"
 */
public class MealForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** num property */
	private String num;

	/** detail property */
	private String detail;

	/** mealType property */
	private String mealType;

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

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

	/** 
	 * Returns the detail.
	 * @return String
	 */
	public String getDetail() {
		return detail;
	}

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

	/** 
	 * Returns the mealType.
	 * @return String
	 */
	public String getMealType() {
		return mealType;
	}

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

⌨️ 快捷键说明

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