Class AbstractCourseSubstitution
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<T>
-
- org.openurp.base.model.NumberIdTimeObject<Long>
-
- org.openurp.edu.program.subst.model.AbstractCourseSubstitution
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>,CourseSubstitution
- Direct Known Subclasses:
MajorCourseSubstitution,StdCourseSubstitution
@MappedSuperclass public abstract class AbstractCourseSubstitution extends NumberIdTimeObject<Long> implements CourseSubstitution
抽象替代课程实现- 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 voidaddOrigin(Course course)voidaddOrigins(Collection<Course> courses)voidaddSubstitute(Course course)voidaddSubstitutes(Collection<Course> courses)-
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.subst.model.CourseSubstitution
getOrigins, getSubstitutes, setOrigins, setSubstitutes
-
-
-
-
Method Detail
-
addOrigin
public void addOrigin(Course course)
-
addOrigins
public void addOrigins(Collection<Course> courses)
-
addSubstitute
public void addSubstitute(Course course)
-
addSubstitutes
public void addSubstitutes(Collection<Course> courses)
-
-