Package org.openurp.edu.program.model
Class AbstractCourseSubstitution
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<T>
-
- org.openurp.base.model.NumberIdTimeObject<Long>
-
- org.openurp.edu.program.model.AbstractCourseSubstitution
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>,AlternativeCourse
- Direct Known Subclasses:
MajorAlternativeCourse,StdAlternativeCourse
@MappedSuperclass public abstract class AbstractCourseSubstitution extends NumberIdTimeObject<Long> implements AlternativeCourse
抽象替代课程实现- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openurp.base.model.NumberIdTimeObject
updatedAt
-
-
Constructor Summary
Constructors Constructor Description AbstractCourseSubstitution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNew(Course course)voidaddNews(Collection<Course> courses)voidaddOld(Course course)voidaddOlds(Collection<Course> courses)voidexchange()-
Methods inherited from class org.openurp.base.model.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
-
-
-
-
Method Detail
-
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()
-
-