Class AbstractPlanCourse
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<Long>
-
- org.beangle.commons.entity.pojo.LongIdObject
-
- org.openurp.edu.program.plan.model.AbstractPlanCourse
-
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Entity<Long>,PlanCourse
- Direct Known Subclasses:
MajorPlanCourse,OriginalPlanCourse,SharePlanCourse,StdPlanCourse
@MappedSuperclass public abstract class AbstractPlanCourse extends org.beangle.commons.entity.pojo.LongIdObject implements PlanCourse, Cloneable
抽象计划内课程- Since:
- 2009
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractPlanCourse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()CoursegetCourse()查询课程.StringgetRemark()备注TermsgetTerms()开课学期,可以是数字,也可以是类似 春、秋的字样。 和org.openurp.edu.base.model.Semester#getGroup()呼应,用于生成开课计划 如果是多个值,必须用逗号分开,比如: ,1, ,1,2, ,春, ,春,秋,booleanisCompulsory()课程是否必修.voidsetCompulsory(boolean compulsory)设置是否必修voidsetCourse(Course course)设置课程voidsetRemark(String remark)voidsetTerms(Terms terms)-
Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setId
-
Methods inherited from interface org.openurp.edu.program.plan.model.PlanCourse
getGroup, setGroup
-
-
-
-
Method Detail
-
isCompulsory
public boolean isCompulsory()
Description copied from interface:PlanCourse课程是否必修.- Specified by:
isCompulsoryin interfacePlanCourse- Returns:
-
setCompulsory
public void setCompulsory(boolean compulsory)
Description copied from interface:PlanCourse设置是否必修- Specified by:
setCompulsoryin interfacePlanCourse
-
clone
public Object clone() throws CloneNotSupportedException
- Specified by:
clonein interfacePlanCourse- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getCourse
public Course getCourse()
Description copied from interface:PlanCourse查询课程.- Specified by:
getCoursein interfacePlanCourse- Returns:
-
setCourse
public void setCourse(Course course)
Description copied from interface:PlanCourse设置课程- Specified by:
setCoursein interfacePlanCourse
-
getRemark
public String getRemark()
Description copied from interface:PlanCourse备注- Specified by:
getRemarkin interfacePlanCourse- Returns:
-
setRemark
public void setRemark(String remark)
- Specified by:
setRemarkin interfacePlanCourse
-
getTerms
public Terms getTerms()
Description copied from interface:PlanCourse开课学期,可以是数字,也可以是类似 春、秋的字样。 和
org.openurp.edu.base.model.Semester#getGroup()呼应,用于生成开课计划 如果是多个值,必须用逗号分开,比如: ,1, ,1,2, ,春, ,春,秋,- Specified by:
getTermsin interfacePlanCourse
-
setTerms
public void setTerms(Terms terms)
- Specified by:
setTermsin interfacePlanCourse
-
-