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, terms
-
-
Constructor Summary
Constructors Constructor Description ExecutionCourseGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPlanCourses(List<PlanCourse> givenPlanCourses)添加计划课程Objectclone()得到全部有效课程.booleanequals(Object object)List<CourseGroup>getChildren()获得子节点集合.DirectiongetDirection()List<PlanCourse>getExecutePlanCourses()CourseGroupgetParent()获得上级组CoursePlangetPlan()获得课程方案List<PlanCourse>getPlanCourses()booleanisLeafGroup()booleanisSameGroup(Object object)voidsetChildren(List<CourseGroup> children)设置子节点集合voidsetDirection(Direction direction)voidsetParent(CourseGroup parent)设置上级组voidsetPlan(CoursePlan plan)设置课程方案voidsetPlanCourses(List<PlanCourse> planCourses)设置组内计划课程StringtoString()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, setTerms
-
Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
getId, hashCode, isPersisted, isTransient, setId
-
-
-
-
Method Detail
-
isLeafGroup
public boolean isLeafGroup()
-
setPlanCourses
public void setPlanCourses(List<PlanCourse> planCourses)
Description copied from interface:CourseGroup设置组内计划课程- Parameters:
planCourses- 组内计划课程
-
getChildren
public List<CourseGroup> getChildren()
Description copied from interface:CourseGroup获得子节点集合.- Returns:
- 子节点集合
-
setChildren
public void setChildren(List<CourseGroup> children)
Description copied from interface:CourseGroup设置子节点集合- Parameters:
children- 子节点集合
-
getPlan
public CoursePlan getPlan()
Description copied from interface:CourseGroup获得课程方案- Returns:
- 课程方案
-
setPlan
public void setPlan(CoursePlan plan)
Description copied from interface:CourseGroup设置课程方案- Parameters:
plan- 课程方案
-
addPlanCourses
public void addPlanCourses(List<PlanCourse> givenPlanCourses)
添加计划课程- Specified by:
addPlanCoursesin interfaceCourseGroup- Overrides:
addPlanCoursesin classAbstractCourseGroup- Parameters:
givenPlanCourses- 多个计划课程
-
updateCoursePlan
public void updateCoursePlan(CoursePlan plan)
Description copied from interface:CourseGroup更新对应的课程计划- Specified by:
updateCoursePlanin interfaceCourseGroup- Overrides:
updateCoursePlanin classAbstractCourseGroup
-
clone
public Object clone() throws CloneNotSupportedException
得到全部有效课程.- Specified by:
clonein interfaceCourseGroup- Overrides:
clonein classAbstractCourseGroup- Returns:
- 克隆后的组
- Throws:
CloneNotSupportedException
-
getExecutePlanCourses
public List<PlanCourse> getExecutePlanCourses()
-
getPlanCourses
public List<PlanCourse> getPlanCourses()
-
getParent
public CourseGroup getParent()
Description copied from interface:CourseGroup获得上级组- Returns:
- 上级组
-
setParent
public void setParent(CourseGroup parent)
Description copied from interface:CourseGroup设置上级组- Parameters:
parent- 上级组
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classorg.beangle.commons.entity.pojo.NumberIdObject<Long>
-
isSameGroup
public boolean isSameGroup(Object object)
-
getDirection
public Direction getDirection()
-
setDirection
public void setDirection(Direction direction)
-
-