?? classesform.java
字號(hào):
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package struts;
import java.util.HashSet;
import java.util.Set;
import hibernate.Course;
import hibernate.Teacher;
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: 04-10-2007
*
* XDoclet definition:
* @struts.form name="classForm"
*/
public class ClassesForm extends ActionForm {
/*
* Generated fields
*/
/** courTime property */
private String courTime;
/** roomId property */
private String roomId;
/** id property */
private String id;
private Teacher teacher;
private Course course;
private Set enrorls=new HashSet(0);
/*
* 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 courTime.
* @return String
*/
public String getCourTime() {
return courTime;
}
/**
* Set the courTime.
* @param courTime The courTime to set
*/
public void setCourTime(String courTime) {
this.courTime = courTime;
}
/**
* Returns the roomId.
* @return String
*/
public String getRoomId() {
return roomId;
}
/**
* Set the roomId.
* @param roomId The roomId to set
*/
public void setRoomId(String roomId) {
this.roomId = roomId;
}
/**
* Returns the id.
* @return String
*/
public String getId() {
return id;
}
/**
* Set the id.
* @param id The id to set
*/
public void setId(String id) {
this.id = id;
}
public Course getCourse() {
return course;
}
public void setCourse(Course course) {
this.course = course;
}
public Set getEnrorls() {
return enrorls;
}
public void setEnrorls(Set enrorls) {
this.enrorls = enrorls;
}
public Teacher getTeacher() {
return teacher;
}
public void setTeacher(Teacher teacher) {
this.teacher = teacher;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -