📄 mealform.java
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -