Package org.openurp.edu.program.utils
Class PlanUtils
java.lang.Object
org.openurp.edu.program.utils.PlanUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCourses(ExecutionPlan plan, int term) 获得一个专业培养计划中,在terms学期上课的Coursestatic floatgetGroupCredits(CourseGroup group, int term) static List<PlanCourse>getPlanCourses(CourseGroup group, int term) 获得一个课程组中,在term学期上课的ExecutePlanCoursestatic List<ExecutionPlanCourse>getPlanCourses(ExecutionPlan plan) static List<ExecutionPlanCourse>getPlanCourses(ExecutionPlan plan, int term) 获得一个专业培养计划中,在term学期上课的ExecutePlanCoursestatic List<PlanCourse>getPlanCoursesUntilTerm(CourseGroup courseGroup, int term) 获得一个课程组中,到term为止需要上的所有PlanCoursestatic List<ExecutionPlanCourse>根据课程找出课程类型static List<ExecutionPlanCourse>static booleanisUnplannedTerm(Terms terms) 确定是不是不定开课学期的static booleanopenOnThisTerm(Terms terms, int term) 根据开课学期字符串来判断是否在这个学期开课
-
Constructor Details
-
PlanUtils
public PlanUtils()
-
-
Method Details
-
getCourses
获得一个专业培养计划中,在terms学期上课的Course- Parameters:
plan-term- 要查询的学期,多个学期用逗号分割比如1,2,3- Returns:
-
getPlanCourses
-
getUnPlannedPlanCourses
-
getPlannedCourse
根据课程找出课程类型- Parameters:
cb-- Returns:
-
isUnplannedTerm
确定是不是不定开课学期的- Parameters:
term-- Returns:
-
getGroupCredits
-
getPlanCourses
获得一个专业培养计划中,在term学期上课的ExecutePlanCourse- Parameters:
plan-terms- 要查询的学期,多个学期用逗号分割比如1,2,3- Returns:
-
getPlanCourses
获得一个课程组中,在term学期上课的ExecutePlanCourse- Parameters:
courseGroup-term-- Returns:
-
openOnThisTerm
根据开课学期字符串来判断是否在这个学期开课- Parameters:
terms- 开课学期字符串term- 某个学期- Returns:
-
getPlanCoursesUntilTerm
获得一个课程组中,到term为止需要上的所有PlanCourse- Parameters:
courseGroup-term-- Returns:
-