?? addcourseform.java
字號(hào):
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.1/xslt/JavaClass.xslpackage com.huang.forms;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: 06-02-2008 * * XDoclet definition: * @struts.form name="addCourseForm" */public class AddCourseForm extends ActionForm { // --------------------------------------------------------- Instance Variables /** course_id property */ private String course_id; /** course_credit property */ private String course_credit; /** course_name property */ private String course_name; private String teacher_id; // --------------------------------------------------------- Methods /** * Method validate * @param mapping * @param request * @return ActionErrors */ public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) { // TODO Auto-generated method stub return null; } /** * Returns the course_id. * @return String */ public String getCourse_id() { return course_id; } /** * Set the course_id. * @param course_id The course_id to set */ public void setCourse_id(String course_id) { this.course_id = course_id; } /** * Returns the course_credit. * @return String */ public String getCourse_credit() { return course_credit; } /** * Set the course_credit. * @param course_credit The course_credit to set */ public void setCourse_credit(String course_credit) { this.course_credit = course_credit; } /** * Returns the course_name. * @return String */ public String getCourse_name() { return course_name; } /** * Set the course_name. * @param course_name The course_name to set */ public void setCourse_name(String course_name) { this.course_name = course_name; } public String getTeacher_id() { return teacher_id; } public void setTeacher_id(String teacher_id) { this.teacher_id = teacher_id; }}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -