?? classesform.java
字號:
package com.stuman.web.struts.form;
import java.util.HashSet;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import com.stuman.domain.Course;
import com.stuman.domain.Teacher;
/**
* MyEclipse Struts Creation date: 04-08-2006
*
* XDoclet definition:
*
* @struts.form name="TeacherForm"
*/
public class ClassesForm extends ActionForm {
// Fields
private static final long serialVersionUID = 3773631281232656300L;
private String id;
private Teacher teacher;
private Course course;
private String roomId;
private String courTime;
private Set enrols = new HashSet(0);
/**
* 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
}
// Constructors
/** default constructor */
/** default constructor */
public ClassesForm() {
}
/** full constructor */
public ClassesForm(Teacher teacher, Course course, String roomId,
String courTime, Set enrols) {
this.teacher = teacher;
this.course = course;
this.roomId = roomId;
this.courTime = courTime;
this.enrols = enrols;
}
// Property accessors
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public Teacher getTeacher() {
return this.teacher;
}
public void setTeacher(Teacher teacher) {
this.teacher = teacher;
}
public Course getCourse() {
return this.course;
}
public void setCourse(Course course) {
this.course = course;
}
public String getRoomId() {
return this.roomId;
}
public void setRoomId(String roomId) {
this.roomId = roomId;
}
public String getCourTime() {
return this.courTime;
}
public void setCourTime(String courTime) {
this.courTime = courTime;
}
public Set getEnrols() {
return this.enrols;
}
public void setEnrols(Set enrols) {
this.enrols = enrols;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -