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 Details

    • semester

      @NotNull protected Semester semester
      学年学期
    • teachDepart

      @NotNull protected Department teachDepart
      开课院系
  • Constructor Details

  • Method Details

    • getCourseStds

      public Map<Course,​List<ExamTaker>> getCourseStds()
    • getTeachDepart

      public Department getTeachDepart()
    • setTeachDepart

      public void setTeachDepart(Department teachDepart)
    • isSameExcept

      public boolean isSameExcept(ExamRoom other, 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)
    • getActivities

      public Set<ExamActivity> getActivities()
    • setActivities

      public void setActivities(Set<ExamActivity> activities)
    • getInvigilations

      public Set<Invigilation> getInvigilations()
    • setInvigilations

      public void setInvigilations(Set<Invigilation> invigilations)
    • getExamTakers

      public Set<ExamTaker> getExamTakers()
    • setExamTakers

      public void setExamTakers(Set<ExamTaker> examTakers)
    • addExamTaker

      public void addExamTaker(ExamTaker taker)
    • clone

      public Object clone()
      把所有的信息克隆一遍
      不包括examTakers
      Overrides:
      clone in class Object
    • getClazzes

      public Set<Clazz> getClazzes()