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

    Fields
    Modifier and Type Field Description
    protected boolean compulsory
    是否必修
    protected Course course
    课程
    protected String remark
    备注
    protected Terms terms
    开课学期

    Fields inherited from class org.beangle.commons.entity.pojo.NumberIdObject

    id
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractPlanCourse()  
  • Method Summary

    Modifier and Type Method Description
    Object clone()  
    Course getCourse()
    查询课程.
    String getRemark()
    备注
    Terms getTerms()
    开课学期,可以是数字,也可以是类似 春、秋的字样。 和 Semester#getGroup() 呼应,用于生成开课计划 如果是多个值,必须用逗号分开,比如: ,1, ,1,2, ,春, ,春,秋,
    boolean isCompulsory()
    课程是否必修.
    void setCompulsory​(boolean compulsory)
    设置是否必修
    void setCourse​(Course course)
    设置课程
    void setRemark​(String remark)  
    void setTerms​(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.model.PlanCourse

    getGroup, setGroup
  • Field Details

    • course

      @NotNull protected Course course
      课程
    • terms

      @NotNull protected Terms terms
      开课学期
    • compulsory

      protected boolean compulsory
      是否必修
    • remark

      @Size(max=500) protected String remark
      备注
  • Constructor Details

    • AbstractPlanCourse

      public AbstractPlanCourse()
  • Method Details