类 ExamRoom
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.exam.model.ExamRoom
-
- 所有已实现的接口:
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考场- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Semestersemester学年学期protected DepartmentteachDepart开课院系
-
构造器概要
构造器 构造器 说明 ExamRoom()ExamRoom(ExamActivity activity, Classroom room)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddExamTaker(ExamTaker taker)Objectclone()把所有的信息克隆一遍
不包括examTakersSet<ExamActivity>getActivities()org.beangle.orm.hibernate.udt.HourMinutegetBeginAt()Set<Clazz>getClazzes()Map<Course,List<ExamTaker>>getCourseStds()org.beangle.orm.hibernate.udt.HourMinutegetEndAt()DategetExamOn()Set<ExamTaker>getExamTakers()ExamTypegetExamType()Set<Invigilation>getInvigilations()ClassroomgetRoom()SemestergetSemester()intgetStdCount()DepartmentgetTeachDepart()booleanisSameExcept(ExamRoom other, boolean room)不计较年份,比较是否是相近的考试活动.voidsetActivities(Set<ExamActivity> activities)voidsetBeginAt(org.beangle.orm.hibernate.udt.HourMinute beginAt)voidsetEndAt(org.beangle.orm.hibernate.udt.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)
-
-
-
字段详细资料
-
semester
@NotNull protected Semester semester
学年学期
-
teachDepart
@NotNull protected Department teachDepart
开课院系
-
-
构造器详细资料
-
ExamRoom
public ExamRoom()
-
ExamRoom
public ExamRoom(ExamActivity activity, Classroom room)
-
-
方法详细资料
-
getTeachDepart
public Department getTeachDepart()
-
setTeachDepart
public void setTeachDepart(Department teachDepart)
-
isSameExcept
public boolean isSameExcept(ExamRoom other, boolean room)
不计较年份,比较是否是相近的考试活动.- 参数:
other-teacher- 是否考虑教师room- 是否考虑教室- 返回:
-
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 org.beangle.orm.hibernate.udt.HourMinute getBeginAt()
-
setBeginAt
public void setBeginAt(org.beangle.orm.hibernate.udt.HourMinute beginAt)
-
getEndAt
public org.beangle.orm.hibernate.udt.HourMinute getEndAt()
-
setEndAt
public void setEndAt(org.beangle.orm.hibernate.udt.HourMinute endAt)
-
getRoom
public Classroom getRoom()
-
setRoom
public void setRoom(Classroom room)
-
getActivities
public Set<ExamActivity> getActivities()
-
setActivities
public void setActivities(Set<ExamActivity> activities)
-
getInvigilations
public Set<Invigilation> getInvigilations()
-
setInvigilations
public void setInvigilations(Set<Invigilation> invigilations)
-
addExamTaker
public void addExamTaker(ExamTaker taker)
-
-