@Entity(name="org.openurp.edu.program.plan.model.MajorCourseGroup") public class MajorCourseGroup extends AbstractCourseGroup
courseType, subCount| Constructor and Description |
|---|
MajorCourseGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPlanCourses(List<PlanCourse> givenPlanCourses)
添加计划课程
|
Object |
clone()
得到全部有效课程.
|
boolean |
equals(Object object) |
String |
getAlias() |
List<CourseGroup> |
getChildren()
获得子节点集合.
|
Direction |
getDirection() |
List<PlanCourse> |
getMajorPlanCourses() |
String |
getName() |
CourseGroup |
getParent()
获得上级组
|
CoursePlan |
getPlan()
获得课程方案
|
List<PlanCourse> |
getPlanCourses() |
boolean |
isLeafGroup() |
boolean |
isSameGroup(Object object) |
void |
setAlias(String alias) |
void |
setChildren(List<CourseGroup> children)
设置子节点集合
|
void |
setDirection(Direction direction) |
void |
setParent(CourseGroup parent)
设置上级组
|
void |
setPlan(CoursePlan plan)
设置课程方案
|
void |
setPlanCourses(List<PlanCourse> planCourses)
设置组内计划课程
|
String |
toString() |
void |
updateCoursePlan(CoursePlan plan)
更新对应的课程计划
|
addChildGroup, addPlanCourse, compareTo, getCourseCount, getCourseType, getCredits, getIndex, getIndexno, getPlanCourses, getRemark, getSubCount, getTermCredits, isCompulsory, removePlanCourse, setCourseCount, setCourseType, setCredits, setIndexno, setRemark, setSubCount, setTermCreditsgetId, hashCode, isPersisted, isTransient, setIdpublic boolean isLeafGroup()
public String getName()
getName in interface CourseGroupgetName in class AbstractCourseGrouppublic void setPlanCourses(List<PlanCourse> planCourses)
CourseGroupplanCourses - 组内计划课程public List<CourseGroup> getChildren()
CourseGrouppublic void setChildren(List<CourseGroup> children)
CourseGroupchildren - 子节点集合public CoursePlan getPlan()
CourseGrouppublic void setPlan(CoursePlan plan)
CourseGrouppublic void addPlanCourses(List<PlanCourse> givenPlanCourses)
addPlanCourses in interface CourseGroupaddPlanCourses in class AbstractCourseGroupgivenPlanCourses - 多个计划课程public void updateCoursePlan(CoursePlan plan)
CourseGroupupdateCoursePlan in interface CourseGroupupdateCoursePlan in class AbstractCourseGrouppublic Object clone() throws CloneNotSupportedException
clone in interface CourseGroupclone in class AbstractCourseGroupCloneNotSupportedExceptionpublic List<PlanCourse> getMajorPlanCourses()
public List<PlanCourse> getPlanCourses()
public CourseGroup getParent()
CourseGrouppublic void setParent(CourseGroup parent)
CourseGroupparent - 上级组public boolean equals(Object object)
equals in class org.beangle.commons.entity.pojo.NumberIdObject<Long>public boolean isSameGroup(Object object)
public String getAlias()
public void setAlias(String alias)
public Direction getDirection()
public void setDirection(Direction direction)
Copyright © 2014–2019 The OpenURP Software. All rights reserved.