jsp例程
源代码在线查看: classes.java
package hibernate;
import java.util.HashSet;
import java.util.Set;
public class Classes {
java.lang.String Id;
java.lang.String RoomId;
java.lang.String CourTime;
hibernate.Teacher Teacher;
hibernate.Course Course;
Set Enrols =new HashSet(0);
public hibernate.Course getCourse() {
return Course;
}
public void setCourse(hibernate.Course course) {
Course = course;
}
public java.lang.String getCourTime() {
return CourTime;
}
public void setCourTime(java.lang.String courTime) {
CourTime = courTime;
}
public Set getEnrols() {
return Enrols;
}
public void setEnrols(Set enrols) {
Enrols = enrols;
}
public java.lang.String getId() {
return Id;
}
public void setId(java.lang.String id) {
Id = id;
}
public java.lang.String getRoomId() {
return RoomId;
}
public void setRoomId(java.lang.String roomId) {
RoomId = roomId;
}
public hibernate.Teacher getTeacher() {
return Teacher;
}
public void setTeacher(hibernate.Teacher teacher) {
Teacher = teacher;
}
}