Package org.openurp.edu.exam.model
Class InvigilationQuota
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.exam.model.InvigilationQuota
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>
@Entity(name="org.openurp.edu.exam.model.InvigilationQuota") public class InvigilationQuota extends org.beangle.commons.entity.pojo.LongIdObject็่ไบบๅ NatureId(teacher,semester)- Author:
- chaostone
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvigilationQuota()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvigilationQuotaDetailaddQuota(Campus campus, Department depart, float quota)booleancleanup()voidclearQuota()Set<Campus>getCampuses()intgetCampusQuota(Campus campus)Set<Department>getDeparts()List<InvigilationQuotaDetail>getDetails()List<Date>getExcludes()UsergetInvigilator()ProjectgetProject()intgetQuota()StringgetRemark()SemestergetSemester()voidsetDetails(List<InvigilationQuotaDetail> details)voidsetExcludes(List<Date> excludes)voidsetInvigilator(User invigilator)voidsetProject(Project project)voidsetQuota(int quota)voidsetRemark(String remark)voidsetSemester(Semester semester)
-
-
-
Method Detail
-
setRemark
public void setRemark(String remark)
-
getRemark
public String getRemark()
-
getSemester
public Semester getSemester()
-
setSemester
public void setSemester(Semester semester)
-
getProject
public Project getProject()
-
setProject
public void setProject(Project project)
-
getQuota
public int getQuota()
-
setQuota
public void setQuota(int quota)
-
getDetails
public List<InvigilationQuotaDetail> getDetails()
-
setDetails
public void setDetails(List<InvigilationQuotaDetail> details)
-
getInvigilator
public User getInvigilator()
-
setInvigilator
public void setInvigilator(User invigilator)
-
addQuota
public InvigilationQuotaDetail addQuota(Campus campus, Department depart, float quota)
-
clearQuota
public void clearQuota()
-
cleanup
public boolean cleanup()
-
getDeparts
public Set<Department> getDeparts()
-
getCampusQuota
public int getCampusQuota(Campus campus)
-
-