public class PlanUtils extends Object
| Constructor and Description |
|---|
PlanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<Course> |
getCourses(MajorPlan plan,
int term)
获得一个专业培养计划中,在terms学期上课的Course
|
static float |
getGroupCredits(CourseGroup group,
int term) |
static List<PlanCourse> |
getPlanCourses(CourseGroup group,
int term)
获得一个课程组中,在term学期上课的MajorPlanCourse
|
static List<MajorPlanCourse> |
getPlanCourses(MajorPlan plan) |
static List<MajorPlanCourse> |
getPlanCourses(MajorPlan plan,
int term)
获得一个专业培养计划中,在term学期上课的MajorPlanCourse
|
static List<PlanCourse> |
getPlanCoursesUntilTerm(CourseGroup courseGroup,
int term)
获得一个课程组中,到term为止需要上的所有PlanCourse
|
static List<MajorPlanCourse> |
getPlannedCourse(MajorPlan plan)
根据课程找出课程类型
|
static List<MajorPlanCourse> |
getUnPlannedPlanCourses(MajorPlan plan) |
static boolean |
isUnplannedTerm(org.openurp.base.time.Terms terms)
确定是不是不定开课学期的
|
static boolean |
openOnThisTerm(org.openurp.base.time.Terms terms,
int term)
根据开课学期字符串来判断是否在这个学期开课
|
public static List<Course> getCourses(MajorPlan plan, int term)
plan - term - 要查询的学期,多个学期用逗号分割比如1,2,3public static List<MajorPlanCourse> getPlanCourses(MajorPlan plan)
public static List<MajorPlanCourse> getUnPlannedPlanCourses(MajorPlan plan)
public static List<MajorPlanCourse> getPlannedCourse(MajorPlan plan)
cb - public static boolean isUnplannedTerm(org.openurp.base.time.Terms terms)
term - public static float getGroupCredits(CourseGroup group, int term)
public static List<MajorPlanCourse> getPlanCourses(MajorPlan plan, int term)
plan - terms - 要查询的学期,多个学期用逗号分割比如1,2,3public static List<PlanCourse> getPlanCourses(CourseGroup group, int term)
courseGroup - term - public static boolean openOnThisTerm(org.openurp.base.time.Terms terms,
int term)
terms - 开课学期字符串term - 某个学期public static List<PlanCourse> getPlanCoursesUntilTerm(CourseGroup courseGroup, int term)
courseGroup - term - Copyright © 2014–2019 The OpenURP Software. All rights reserved.