Package org.openurp.edu.exam.model
Class ExamRoom
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.exam.model.ExamRoom
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.exam.model.ExamRoom") public class ExamRoom extends org.beangle.commons.entity.pojo.LongIdObject考场- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Teacherexaminer主考教师protected Semestersemester学年学期protected DepartmentteachDepart开课院系
-
Constructor Summary
Constructors Constructor Description ExamRoom()ExamRoom(ExamActivity activity, Classroom room)
-
Method Summary
-
-
-
Field Detail
-
semester
@NotNull protected Semester semester
学年学期
-
teachDepart
@NotNull protected Department teachDepart
开课院系
-
examiner
protected Teacher examiner
主考教师
-
-
Constructor Detail
-
ExamRoom
public ExamRoom()
-
ExamRoom
public ExamRoom(ExamActivity activity, Classroom room)
-
-
Method Detail
-
getCourseStds
public Map<Course,List<ExamStudent>> getCourseStds()
-
getTeachDepart
public Department getTeachDepart()
-
setTeachDepart
public void setTeachDepart(Department teachDepart)
-
isSameExcept
public boolean isSameExcept(ExamRoom other, boolean teacher, boolean room)
不计较年份,比较是否是相近的考试活动.- Parameters:
other-teacher- 是否考虑教师room- 是否考虑教室- Returns:
-
getStdCount
public int getStdCount()
-
setStdCount
public void setStdCount(int stdCount)
-
getSemester
public Semester getSemester()
-
setSemester
public void setSemester(Semester semester)
-
getExamType
public ExamType getExamType()
-
setExamType
public void setExamType(ExamType examType)
-
getExamOn
public Date getExamOn()
-
setExamOn
public void setExamOn(Date examOn)
-
getBeginAt
public HourMinute getBeginAt()
-
setBeginAt
public void setBeginAt(HourMinute beginAt)
-
getEndAt
public HourMinute getEndAt()
-
setEndAt
public void setEndAt(HourMinute endAt)
-
getRoom
public Classroom getRoom()
-
setRoom
public void setRoom(Classroom room)
-
getExaminer
public Teacher getExaminer()
-
setExaminer
public void setExaminer(Teacher examiner)
-
getDepartment
public Department getDepartment()
-
setDepartment
public void setDepartment(Department department)
-
getActivities
public Set<ExamActivity> getActivities()
-
setActivities
public void setActivities(Set<ExamActivity> activities)
-
getInvigilations
public Set<Invigilation> getInvigilations()
-
setInvigilations
public void setInvigilations(Set<Invigilation> invigilations)
-
getExamStudents
public Set<ExamStudent> getExamStudents()
-
setExamStudents
public void setExamStudents(Set<ExamStudent> examStudents)
-
addExamStudent
public void addExamStudent(ExamStudent taker)
-
getRoomApplyId
public Long getRoomApplyId()
-
setRoomApplyId
public void setRoomApplyId(Long roomApplyId)
-
-