@Entity(name="org.openurp.edu.exam.model.ExamRoom")
public class ExamRoom
extends org.beangle.commons.entity.pojo.LongIdObject
| Modifier and Type | Field and Description |
|---|---|
protected org.openurp.edu.base.model.Semester |
semester
学年学期
|
protected org.openurp.base.model.Department |
teachDepart
开课院系
|
| Constructor and Description |
|---|
ExamRoom() |
ExamRoom(ExamActivity activity,
org.openurp.edu.base.model.Classroom room) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExamTaker(ExamTaker taker) |
Object |
clone()
把所有的信息克隆一遍
不包括examTakers |
Set<ExamActivity> |
getActivities() |
org.beangle.commons.lang.time.HourMinute |
getBeginAt() |
Set<Clazz> |
getClazzes() |
Map<org.openurp.edu.base.model.Course,List<ExamTaker>> |
getCourseStds() |
org.beangle.commons.lang.time.HourMinute |
getEndAt() |
Date |
getExamOn() |
Set<ExamTaker> |
getExamTakers() |
org.openurp.code.edu.model.ExamType |
getExamType() |
Set<Invigilation> |
getInvigilations() |
org.openurp.edu.base.model.Classroom |
getRoom() |
org.openurp.edu.base.model.Semester |
getSemester() |
int |
getStdCount() |
org.openurp.base.model.Department |
getTeachDepart() |
boolean |
isSameExcept(ExamRoom other,
boolean room)
不计较年份,比较是否是相近的考试活动.
|
void |
setActivities(Set<ExamActivity> activities) |
void |
setBeginAt(org.beangle.commons.lang.time.HourMinute beginAt) |
void |
setEndAt(org.beangle.commons.lang.time.HourMinute endAt) |
void |
setExamOn(Date examOn) |
void |
setExamTakers(Set<ExamTaker> examTakers) |
void |
setExamType(org.openurp.code.edu.model.ExamType examType) |
void |
setInvigilations(Set<Invigilation> invigilations) |
void |
setRoom(org.openurp.edu.base.model.Classroom room) |
void |
setSemester(org.openurp.edu.base.model.Semester semester) |
void |
setStdCount(int stdCount) |
void |
setTeachDepart(org.openurp.base.model.Department teachDepart) |
@NotNull protected org.openurp.edu.base.model.Semester semester
@NotNull protected org.openurp.base.model.Department teachDepart
public ExamRoom()
public ExamRoom(ExamActivity activity, org.openurp.edu.base.model.Classroom room)
public org.openurp.base.model.Department getTeachDepart()
public void setTeachDepart(org.openurp.base.model.Department teachDepart)
public boolean isSameExcept(ExamRoom other, boolean room)
other - teacher - 是否考虑教师room - 是否考虑教室public int getStdCount()
public void setStdCount(int stdCount)
public org.openurp.edu.base.model.Semester getSemester()
public void setSemester(org.openurp.edu.base.model.Semester semester)
public org.openurp.code.edu.model.ExamType getExamType()
public void setExamType(org.openurp.code.edu.model.ExamType examType)
public Date getExamOn()
public void setExamOn(Date examOn)
public org.beangle.commons.lang.time.HourMinute getBeginAt()
public void setBeginAt(org.beangle.commons.lang.time.HourMinute beginAt)
public org.beangle.commons.lang.time.HourMinute getEndAt()
public void setEndAt(org.beangle.commons.lang.time.HourMinute endAt)
public org.openurp.edu.base.model.Classroom getRoom()
public void setRoom(org.openurp.edu.base.model.Classroom room)
public Set<ExamActivity> getActivities()
public void setActivities(Set<ExamActivity> activities)
public Set<Invigilation> getInvigilations()
public void setInvigilations(Set<Invigilation> invigilations)
public void addExamTaker(ExamTaker taker)
Copyright © 2014–2019 The OpenURP Software. All rights reserved.