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 Semestersemester学年学期protected DepartmentteachDepart开课院系Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors Constructor Description ExamRoom()ExamRoom(ExamActivity activity, Classroom room) -
Method Summary
Modifier and Type Method Description voidaddExamTaker(ExamTaker taker)Objectclone()把所有的信息克隆一遍
不包括examTakersSet<ExamActivity>getActivities()HourMinutegetBeginAt()Set<Clazz>getClazzes()Map<Course,List<ExamTaker>>getCourseStds()HourMinutegetEndAt()DategetExamOn()Set<ExamTaker>getExamTakers()ExamTypegetExamType()Set<Invigilation>getInvigilations()ClassroomgetRoom()SemestergetSemester()intgetStdCount()DepartmentgetTeachDepart()booleanisSameExcept(ExamRoom other, boolean room)不计较年份,比较是否是相近的考试活动.voidsetActivities(Set<ExamActivity> activities)voidsetBeginAt(HourMinute beginAt)voidsetEndAt(HourMinute endAt)voidsetExamOn(Date examOn)voidsetExamTakers(Set<ExamTaker> examTakers)voidsetExamType(ExamType examType)voidsetInvigilations(Set<Invigilation> invigilations)voidsetRoom(Classroom room)voidsetSemester(Semester semester)voidsetStdCount(int stdCount)voidsetTeachDepart(Department teachDepart)Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Field Details
-
semester
学年学期 -
teachDepart
开课院系
-
-
Constructor Details
-
ExamRoom
public ExamRoom() -
ExamRoom
-
-
Method Details
-
getCourseStds
-
getTeachDepart
-
setTeachDepart
-
isSameExcept
不计较年份,比较是否是相近的考试活动.- Parameters:
other-teacher- 是否考虑教师room- 是否考虑教室- Returns:
-
getStdCount
public int getStdCount() -
setStdCount
public void setStdCount(int stdCount) -
getSemester
-
setSemester
-
getExamType
-
setExamType
-
getExamOn
-
setExamOn
-
getBeginAt
-
setBeginAt
-
getEndAt
-
setEndAt
-
getRoom
-
setRoom
-
getActivities
-
setActivities
-
getInvigilations
-
setInvigilations
-
getExamTakers
-
setExamTakers
-
addExamTaker
-
clone
把所有的信息克隆一遍
不包括examTakers -
getClazzes
-