Class 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 Detail

      • semester

        @NotNull
        protected Semester semester
        学年学期
      • teachDepart

        @NotNull
        protected Department teachDepart
        开课院系
    • Method Detail

      • 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)
      • setBeginAt

        public void setBeginAt​(HourMinute beginAt)
      • setEndAt

        public void setEndAt​(HourMinute endAt)
      • setRoom

        public void setRoom​(Classroom room)
      • setActivities

        public void setActivities​(Set<ExamActivity> activities)
      • setInvigilations

        public void setInvigilations​(Set<Invigilation> invigilations)
      • 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()