?? updatecourseform.java
字號:
//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;public class UpdateCourseForm extends ActionForm { // --------------------------------------------------------- Instance Variables /** course_credit property */ private String course_credit; /** course_name property */ private String course_name; private String teacher_id; // --------------------------------------------------------- Methods public String getTeacher_id() { return teacher_id; } public void setTeacher_id(String teacher_id) { this.teacher_id = teacher_id; } /** * 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_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; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -