Package org.openurp.edu.clazz.model
Class Enrollment
java.lang.Object
org.openurp.edu.clazz.model.Enrollment
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Component
@Embeddable
public class Enrollment
extends Object
implements org.beangle.commons.entity.Component, Cloneable, Serializable
教学任务中的教学班.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLimitGroups(Clazz clazz, List<ClazzRestriction> groups) voidaddLimitGroups(Clazz clazz, ClazzRestriction... groups) clone()复制一个教学班,但并不复制他所在的教学任务引用
和教学班中的实际学生修读信息和实际学生数.intgetCourseTaker(Long stdId) getCourseTaker(Student std) 返回正常参加上课的上课名单CourseTaker获取或者创建Prime=true的限制组
如果已经有,那么返回第一个Prime=true的限制组intintbooleanvoidsetAbilityRates(List<CourseAbilityRate> abilityRates) voidsetCapacity(int limitCount) voidsetCapacityLocked(boolean capacityLocked) voidsetCourseTakers(Set<CourseTaker> courseTakers) voidsetDepart(Department depart) voidsetGenderRatio(GenderRatio genderRatio) voidvoidsetReservedCount(int reservedCount) voidsetRestrictions(List<ClazzRestriction> limitGroups) voidsetStdCount(int stdCount) voidsetSubclazzes(List<Subclazz> subclazzes)
-
Constructor Details
-
Enrollment
public Enrollment()
-
-
Method Details
-
clone
复制一个教学班,但并不复制他所在的教学任务引用
和教学班中的实际学生修读信息和实际学生数. -
getCourseTaker
-
getNormalCourseTakers
返回正常参加上课的上课名单CourseTaker- Returns:
-
addLimitGroups
-
addLimitGroups
-
getOrCreateDefautRestriction
获取或者创建Prime=true的限制组
如果已经有,那么返回第一个Prime=true的限制组 -
getCourseTaker
-
getCourseTakers
-
setCourseTakers
-
getCapacity
public int getCapacity() -
setCapacity
public void setCapacity(int limitCount) -
getGrades
-
setGrades
-
getDepart
-
setDepart
-
getRestrictions
-
setRestrictions
-
getGenderRatio
-
setGenderRatio
-
getAbilityRates
-
setAbilityRates
-
getStdCount
public int getStdCount() -
setStdCount
public void setStdCount(int stdCount) -
isCapacityLocked
public boolean isCapacityLocked() -
setCapacityLocked
public void setCapacityLocked(boolean capacityLocked) -
getReservedCount
public int getReservedCount() -
setReservedCount
public void setReservedCount(int reservedCount) -
getSubclazzes
-
setSubclazzes
-