类的使用
org.openurp.edu.clazz.model.Session
使用Session的程序包
-
org.openurp.edu.clazz.model中Session的使用
返回变量类型为Session的类型的org.openurp.edu.clazz.model中的方法修饰符和类型方法说明Schedule.getSessions()Session.mergeActivites(List<Session> tobeMerged) 合并在年份和教学周占用上,可以合并的教学活动
合并标准是年份,教学周,教室,教师,星期参数类型为Session的org.openurp.edu.clazz.model中的方法修饰符和类型方法说明booleanSession.canMergerWith(Session session) 判断该教学活动的时间段能否与目标教学活动在[相邻时间段]上合并intteacher room weekday startUnit weekstate null will be put first,if another is not nullvoid将两排课活动合并,前提是两活动可以合并类型变量类型为Session的org.openurp.edu.clazz.model中的方法参数修饰符和类型方法说明Session.mergeActivites(List<Session> tobeMerged) 合并在年份和教学周占用上,可以合并的教学活动
合并标准是年份,教学周,教室,教师,星期voidSchedule.setSessions(Set<Session> sessions)