Class AbstractCourseSubstitution

java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.NumberIdTimeObject<Long>
org.openurp.edu.program.model.AbstractCourseSubstitution
All Implemented Interfaces:
Serializable, org.beangle.commons.entity.Entity<Long>, org.beangle.commons.entity.TimeEntity, AlternativeCourse
Direct Known Subclasses:
MajorAlternativeCourse, StdAlternativeCourse

@MappedSuperclass public abstract class AbstractCourseSubstitution extends org.beangle.commons.entity.pojo.NumberIdTimeObject<Long> implements AlternativeCourse
抽象替代课程实现
See Also:
  • Field Summary

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

    updatedAt

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

    id
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addNew(Course course)
     
    void
     
    void
    addOld(Course course)
     
    void
     
    void
     

    Methods inherited from class org.beangle.commons.entity.pojo.NumberIdTimeObject

    getUpdatedAt, setUpdatedAt

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

    equals, getId, hashCode, isPersisted, isTransient, setId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.openurp.edu.program.model.AlternativeCourse

    getNews, getOlds, setNews, setOlds

    Methods inherited from interface org.beangle.commons.entity.Entity

    getId, isPersisted, isTransient, setId
  • Constructor Details

    • AbstractCourseSubstitution

      public AbstractCourseSubstitution()
  • Method Details

    • addOld

      public void addOld(Course course)
    • addOlds

      public void addOlds(Collection<Course> courses)
    • addNew

      public void addNew(Course course)
    • addNews

      public void addNews(Collection<Course> courses)
    • exchange

      public void exchange()