Package org.openurp.edu.program.model
Class ExecutionCourseGroup
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.program.model.AbstractCourseGroup
org.openurp.edu.program.model.ExecutionCourseGroup
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CourseGroup>,org.beangle.commons.entity.Entity<Long>,CourseGroup
@Entity(name="org.openurp.edu.program.model.ExecutionCourseGroup")
public class ExecutionCourseGroup
extends AbstractCourseGroup
专业计划课程组.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class org.openurp.edu.program.model.AbstractCourseGroup
courseType, subCount, termsFields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlanCourses(List<PlanCourse> givenPlanCourses)添加计划课程clone()得到全部有效课程.boolean获得子节点集合.获得上级组getPlan()获得课程方案booleanbooleanisSameGroup(Object object)voidsetChildren(List<CourseGroup> children)设置子节点集合voidsetDirection(Direction direction)voidsetParent(CourseGroup parent)设置上级组voidsetPlan(CoursePlan plan)设置课程方案voidsetPlanCourses(List<PlanCourse> planCourses)设置组内计划课程toString()voidupdateCoursePlan(CoursePlan plan)更新对应的课程计划Methods inherited from class org.openurp.edu.program.model.AbstractCourseGroup
addChildGroup, addPlanCourse, compareTo, getCourseCount, getCourseType, getCredits, getGivenName, getIndex, getIndexno, getName, getPlanCourses, getRemark, getSubCount, getTermCredits, getTerms, isAutoAddup, removePlanCourse, setAutoAddup, setCourseCount, setCourseType, setCredits, setGivenName, setIndexno, setRemark, setSubCount, setTermCredits, setTermsMethods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
getId, hashCode, isPersisted, isTransient, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setId
-
Constructor Details
-
ExecutionCourseGroup
public ExecutionCourseGroup()
-
-
Method Details
-
isLeafGroup
public boolean isLeafGroup() -
setPlanCourses
Description copied from interface:CourseGroup设置组内计划课程- Parameters:
planCourses- 组内计划课程
-
getChildren
Description copied from interface:CourseGroup获得子节点集合.- Returns:
- 子节点集合
-
setChildren
Description copied from interface:CourseGroup设置子节点集合- Parameters:
children- 子节点集合
-
getPlan
Description copied from interface:CourseGroup获得课程方案- Returns:
- 课程方案
-
setPlan
Description copied from interface:CourseGroup设置课程方案- Parameters:
plan- 课程方案
-
addPlanCourses
添加计划课程- Specified by:
addPlanCoursesin interfaceCourseGroup- Overrides:
addPlanCoursesin classAbstractCourseGroup- Parameters:
givenPlanCourses- 多个计划课程
-
updateCoursePlan
Description copied from interface:CourseGroup更新对应的课程计划- Specified by:
updateCoursePlanin interfaceCourseGroup- Overrides:
updateCoursePlanin classAbstractCourseGroup
-
clone
得到全部有效课程.- Specified by:
clonein interfaceCourseGroup- Overrides:
clonein classAbstractCourseGroup- Returns:
- 克隆后的组
- Throws:
CloneNotSupportedException
-
getExecutePlanCourses
-
getPlanCourses
-
getParent
Description copied from interface:CourseGroup获得上级组- Returns:
- 上级组
-
setParent
Description copied from interface:CourseGroup设置上级组- Parameters:
parent- 上级组
-
equals
- Overrides:
equalsin classorg.beangle.commons.entity.pojo.NumberIdObject<Long>
-
isSameGroup
-
getDirection
-
setDirection
-
toString
-