Package org.openurp.edu.program.model
Class AbstractPlanCourse
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.program.model.AbstractPlanCourse
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Entity<Long>,PlanCourse
- Direct Known Subclasses:
ExecutionPlanCourse,MajorPlanCourse,StdPlanCourse
@MappedSuperclass
public abstract class AbstractPlanCourse
extends org.beangle.commons.entity.pojo.LongIdObject
implements PlanCourse, Cloneable
抽象计划内课程
- Since:
- 2009
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean是否必修protected Course课程protected String备注protected Terms开课学期Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()查询课程.备注getTerms()开课学期,可以是数字,也可以是类似 春、秋的字样。 和Semester#getGroup()呼应,用于生成开课计划 如果是多个值,必须用逗号分开,比如: ,1, ,1,2, ,春, ,春,秋,boolean课程是否必修.voidsetCompulsory(boolean compulsory)设置是否必修void设置课程voidvoidMethods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setIdMethods inherited from interface org.openurp.edu.program.model.PlanCourse
getGroup, setGroup
-
Field Details
-
course
课程 -
terms
开课学期 -
compulsory
protected boolean compulsory是否必修 -
remark
备注
-
-
Constructor Details
-
AbstractPlanCourse
public AbstractPlanCourse()
-
-
Method Details
-
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
- Specified by:
clonein interfacePlanCourse- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getCourse
Description copied from interface:PlanCourse查询课程.- Specified by:
getCoursein interfacePlanCourse- Returns:
-
setCourse
Description copied from interface:PlanCourse设置课程- Specified by:
setCoursein interfacePlanCourse
-
getRemark
Description copied from interface:PlanCourse备注- Specified by:
getRemarkin interfacePlanCourse- Returns:
-
setRemark
- Specified by:
setRemarkin interfacePlanCourse
-
getTerms
Description copied from interface:PlanCourse开课学期,可以是数字,也可以是类似 春、秋的字样。 和
Semester#getGroup()呼应,用于生成开课计划 如果是多个值,必须用逗号分开,比如: ,1, ,1,2, ,春, ,春,秋,- Specified by:
getTermsin interfacePlanCourse
-
setTerms
- Specified by:
setTermsin interfacePlanCourse
-