public class CourseGroupAdapter extends Object implements CourseGroup
| Constructor and Description |
|---|
CourseGroupAdapter(CoursePlan coursePlan) |
public CourseGroupAdapter(CoursePlan coursePlan)
public List<CourseGroup> getChildren()
getChildren in interface CourseGroup@Deprecated public float getCredits()
getCredits in interface CourseGrouppublic String getName()
getName in interface CourseGrouppublic Object clone() throws CloneNotSupportedException
clone in interface CourseGroupclone in class ObjectCloneNotSupportedExceptionpublic int getCourseNum()
getCourseNum in interface CourseGrouppublic CoursePlan getCoursePlan()
public org.openurp.edu.base.code.model.CourseType getCourseType()
getCourseType in interface CourseGrouppublic void addChildGroup(CourseGroup arg0)
addChildGroup in interface CourseGrouppublic void addPlanCourse(PlanCourse arg0)
addPlanCourse in interface CourseGrouppublic CourseGroup getParent()
getParent in interface CourseGrouppublic List<PlanCourse> getPlanCourses()
getPlanCourses in interface CourseGrouppublic String getRemark()
getRemark in interface CourseGrouppublic boolean isCompulsory()
isCompulsory in interface CourseGrouppublic void setCourseNum(int arg0)
setCourseNum in interface CourseGrouppublic void setCoursePlan(CoursePlan arg0)
public void setCourseType(org.openurp.edu.base.code.model.CourseType arg0)
setCourseType in interface CourseGrouppublic void setCredits(float arg0)
setCredits in interface CourseGrouppublic void setParent(CourseGroup arg0)
setParent in interface CourseGrouppublic void setRemark(String arg0)
setRemark in interface CourseGrouppublic void updateCoursePlan(CoursePlan arg0)
updateCoursePlan in interface CourseGrouppublic void setId(Long arg0)
setId in interface org.beangle.commons.entity.Entity<Long>public Long getLongId()
public boolean isPersisted()
isPersisted in interface org.beangle.commons.entity.Entity<Long>public boolean saved()
public boolean unsaved()
public boolean isTransient()
isTransient in interface org.beangle.commons.entity.Entity<Long>public String key()
public void removePlanCourse(PlanCourse course)
removePlanCourse in interface CourseGrouppublic void statCreditAndHour(int termsCount)
public String getCreditPerTerms()
public void setCreditPerTerms(String arg0)
public List<? extends PlanCourse> getGroupCourses()
public org.openurp.edu.base.code.model.CourseType getParentCourseType()
public List<? extends PlanCourse> getPlanCourses(List<Integer> termList)
public List<? extends PlanCourse> getPlanCourses(String terms)
public boolean isSameGroup(Object object)
public void setGroupCourses(List<? extends PlanCourse> groupCourses)
public CoursePlan getPlan()
getPlan in interface CourseGrouppublic void setPlan(CoursePlan plan)
setPlan in interface CourseGrouppublic void setChildren(List<CourseGroup> children)
setChildren in interface CourseGrouppublic void setPlanCourses(List<PlanCourse> planCourses)
setPlanCourses in interface CourseGrouppublic void addPlanCourses(List<PlanCourse> planCourses)
addPlanCourses in interface CourseGrouppublic String getTermCredits()
getTermCredits in interface CourseGrouppublic void setTermCredits(String termCredits)
setTermCredits in interface CourseGrouppublic int compareTo(CourseGroup o)
compareTo in interface Comparable<CourseGroup>public String getIndexno()
getIndexno in interface CourseGrouppublic void setIndexno(String indexno)
setIndexno in interface CourseGrouppublic int getIndex()
getIndex in interface CourseGrouppublic short getGroupNum()
getGroupNum in interface CourseGrouppublic void setGroupNum(short groupNum)
setGroupNum in interface CourseGroupCopyright © 2014–2018 The OpenURP Software. All rights reserved.