Class CourseGroupAdapter
java.lang.Object
org.openurp.edu.grade.plan.adapters.CourseGroupAdapter
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CourseGroup>,org.beangle.commons.entity.Entity<Long>,CourseGroup
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildGroup(CourseGroup arg0) 添加子组voidaddPlanCourse(PlanCourse arg0) 添加计划课程voidaddPlanCourses(List<PlanCourse> planCourses) 添加多个计划课程clone()克隆int返回顶层组short获得组内要求门数获得课程类别.int但是没有任何实现floatDeprecated.floatgetCredits(List<Integer> terms) List<? extends PlanCourse>getId()intgetIndex()getName()获得上级组getPlan()获得课程方案List<? extends PlanCourse>getPlanCourses(String terms) List<? extends PlanCourse>getPlanCourses(List<Integer> termList) 获得备注.short获得每学期学分getTerms()boolean是否自动累计学分booleanbooleanbooleanisSameGroup(Object object) booleankey()voidremovePlanCourse(PlanCourse course) 删除计划课程booleansaved()voidsetChildren(List<CourseGroup> children) 设置子节点集合voidsetCourseCount(short arg0) 设置组内要求门数voidsetCoursePlan(CoursePlan arg0) voidsetCourseType(CourseType arg0) 设置课程类别voidsetCreditHours(int creditHours) voidsetCreditPerTerms(String arg0) 但是没有任何实现voidsetCredits(float arg0) 设置组内要求总学分voidsetGroupCourses(List<? extends PlanCourse> groupCourses) voidsetHourRatios(String hourRatios) voidvoidsetIndexno(String indexno) voidsetParent(CourseGroup arg0) 设置上级组voidsetPlan(CoursePlan plan) 设置课程方案voidsetPlanCourses(List<PlanCourse> planCourses) 设置组内计划课程void设置备注voidsetSubCount(short subCount) voidsetTermCredits(String termCredits) 设置每学期学分voidvoidstatCreditAndHour(int termsCount) booleanunsaved()voidupdateCoursePlan(CoursePlan arg0) 更新对应的课程计划
-
Constructor Details
-
CourseGroupAdapter
-
-
Method Details
-
getChildren
返回顶层组- Specified by:
getChildrenin interfaceCourseGroup- Returns:
- 子节点集合
-
getCredits
Deprecated.返回要求学分
要求学分不准确,因为审核的时候可能是部分审核- Specified by:
getCreditsin interfaceCourseGroup- Returns:
- 组内要求总学分
-
getName
- Specified by:
getNamein interfaceCourseGroup- Returns:
-
clone
Description copied from interface:CourseGroup克隆- Specified by:
clonein interfaceCourseGroup- Overrides:
clonein classObject- Returns:
- 克隆后的组
- Throws:
CloneNotSupportedException
-
getCourseCount
public short getCourseCount()Description copied from interface:CourseGroup获得组内要求门数- Specified by:
getCourseCountin interfaceCourseGroup- Returns:
- 组内要求门数
-
getCoursePlan
-
getCourseType
Description copied from interface:CourseGroup获得课程类别.- Specified by:
getCourseTypein interfaceCourseGroup- Returns:
- 课程类别
-
addChildGroup
Description copied from interface:CourseGroup添加子组- Specified by:
addChildGroupin interfaceCourseGroup- Parameters:
arg0- 子组
-
addPlanCourse
Description copied from interface:CourseGroup添加计划课程- Specified by:
addPlanCoursein interfaceCourseGroup- Parameters:
arg0- 计划课程
-
getParent
Description copied from interface:CourseGroup获得上级组- Specified by:
getParentin interfaceCourseGroup- Returns:
- 上级组
-
getPlanCourses
- Specified by:
getPlanCoursesin interfaceCourseGroup
-
getRemark
Description copied from interface:CourseGroup获得备注.- Specified by:
getRemarkin interfaceCourseGroup- Returns:
- 备注
-
isCompulsory
public boolean isCompulsory() -
setCourseCount
public void setCourseCount(short arg0) Description copied from interface:CourseGroup设置组内要求门数- Specified by:
setCourseCountin interfaceCourseGroup- Parameters:
arg0- 组内要求门数
-
setCoursePlan
-
setCourseType
Description copied from interface:CourseGroup设置课程类别- Specified by:
setCourseTypein interfaceCourseGroup- Parameters:
arg0- 课程类别
-
setCredits
public void setCredits(float arg0) Description copied from interface:CourseGroup设置组内要求总学分- Specified by:
setCreditsin interfaceCourseGroup- Parameters:
arg0- 组内要求总学分
-
setParent
Description copied from interface:CourseGroup设置上级组- Specified by:
setParentin interfaceCourseGroup- Parameters:
arg0- 上级组
-
setRemark
Description copied from interface:CourseGroup设置备注- Specified by:
setRemarkin interfaceCourseGroup- Parameters:
arg0- 备注
-
updateCoursePlan
Description copied from interface:CourseGroup更新对应的课程计划- Specified by:
updateCoursePlanin interfaceCourseGroup
-
getId
- Specified by:
getIdin interfaceorg.beangle.commons.entity.Entity<Long>
-
setId
- Specified by:
setIdin interfaceorg.beangle.commons.entity.Entity<Long>
-
getLongId
-
isPersisted
public boolean isPersisted()- Specified by:
isPersistedin interfaceorg.beangle.commons.entity.Entity<Long>
-
saved
public boolean saved() -
unsaved
public boolean unsaved() -
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceorg.beangle.commons.entity.Entity<Long>
-
key
-
removePlanCourse
Description copied from interface:CourseGroup删除计划课程- Specified by:
removePlanCoursein interfaceCourseGroup- Parameters:
course- 计划课程
-
statCreditAndHour
public void statCreditAndHour(int termsCount) -
getCreditPerTerms
但是没有任何实现 -
setCreditPerTerms
但是没有任何实现 -
getCreditList
-
getCredits
-
getGroupCourses
-
getParentCourseType
-
getPlanCourses
-
getPlanCourses
-
isSameGroup
-
setGroupCourses
-
getPlan
Description copied from interface:CourseGroup获得课程方案- Specified by:
getPlanin interfaceCourseGroup- Returns:
- 课程方案
-
setPlan
Description copied from interface:CourseGroup设置课程方案- Specified by:
setPlanin interfaceCourseGroup- Parameters:
plan- 课程方案
-
setChildren
Description copied from interface:CourseGroup设置子节点集合- Specified by:
setChildrenin interfaceCourseGroup- Parameters:
children- 子节点集合
-
setPlanCourses
Description copied from interface:CourseGroup设置组内计划课程- Specified by:
setPlanCoursesin interfaceCourseGroup- Parameters:
planCourses- 组内计划课程
-
addPlanCourses
Description copied from interface:CourseGroup添加多个计划课程- Specified by:
addPlanCoursesin interfaceCourseGroup- Parameters:
planCourses- 多个计划课程
-
getTermCredits
Description copied from interface:CourseGroup获得每学期学分- Specified by:
getTermCreditsin interfaceCourseGroup- Returns:
- 每学期学分
-
setTermCredits
Description copied from interface:CourseGroup设置每学期学分- Specified by:
setTermCreditsin interfaceCourseGroup- Parameters:
termCredits- 每学期学分
-
compareTo
- Specified by:
compareToin interfaceComparable<CourseGroup>
-
getIndexno
- Specified by:
getIndexnoin interfaceCourseGroup
-
setIndexno
- Specified by:
setIndexnoin interfaceCourseGroup
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceCourseGroup
-
getSubCount
public short getSubCount()- Specified by:
getSubCountin interfaceCourseGroup
-
setSubCount
public void setSubCount(short subCount) - Specified by:
setSubCountin interfaceCourseGroup
-
isAutoAddup
public boolean isAutoAddup()Description copied from interface:CourseGroup是否自动累计学分- Specified by:
isAutoAddupin interfaceCourseGroup
-
getTerms
- Specified by:
getTermsin interfaceCourseGroup
-
setTerms
- Specified by:
setTermsin interfaceCourseGroup
-
getCreditHours
public int getCreditHours()- Specified by:
getCreditHoursin interfaceCourseGroup
-
setCreditHours
public void setCreditHours(int creditHours) - Specified by:
setCreditHoursin interfaceCourseGroup
-
getHourRatios
- Specified by:
getHourRatiosin interfaceCourseGroup
-
setHourRatios
- Specified by:
setHourRatiosin interfaceCourseGroup
-