Package org.openurp.edu.program.model
Class AbstractCoursePlan
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<Long>
org.beangle.commons.entity.pojo.LongIdObject
org.openurp.edu.program.model.AbstractCoursePlan
- All Implemented Interfaces:
Serializable,Cloneable,org.beangle.commons.entity.Entity<Long>,CoursePlan
- Direct Known Subclasses:
ExecutivePlan,MajorPlan
@MappedSuperclass
public abstract class AbstractCoursePlan
extends org.beangle.commons.entity.pojo.LongIdObject
implements CoursePlan
抽象课程方案
- Since:
- 2009
- See Also:
-
Field Summary
FieldsFields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroup(CourseGroup group) 获得生效时间intfloat获得总学分getEndOn()获得失效时间intgetGroup(CourseType type) 查询指定类型的组intint获得顶级课程组booleanvoidsetCreditHours(int creditHours) voidsetCredits(float credits) 设置总学分voidsetHourRatios(String hourRatios) voidsetProgram(Program program) voidsetUpdatedAt(Date updatedAt) Methods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openurp.edu.program.model.CoursePlan
getGroups, setGroupsMethods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setId
-
Field Details
-
program
培养方案
-
-
Constructor Details
-
AbstractCoursePlan
public AbstractCoursePlan()
-
-
Method Details
-
getCredits
public float getCredits()Description copied from interface:CoursePlan获得总学分- Specified by:
getCreditsin interfaceCoursePlan- Returns:
- 总学分
-
setCredits
public void setCredits(float credits) Description copied from interface:CoursePlan设置总学分- Specified by:
setCreditsin interfaceCoursePlan- Parameters:
credits- 总学分
-
getEndTerm
public int getEndTerm() -
getStartTerm
public int getStartTerm() -
getTermsCount
public int getTermsCount() -
addGroup
-
getTopCourseGroups
Description copied from interface:CoursePlan获得顶级课程组- Specified by:
getTopCourseGroupsin interfaceCoursePlan- Returns:
-
getGroup
Description copied from interface:CoursePlan查询指定类型的组- Specified by:
getGroupin interfaceCoursePlan- Parameters:
type-- Returns:
-
isNumericTerm
public boolean isNumericTerm() -
getProgram
- Specified by:
getProgramin interfaceCoursePlan
-
setProgram
-
getBeginOn
Description copied from interface:CoursePlan获得生效时间- Specified by:
getBeginOnin interfaceCoursePlan- Returns:
- 生效时间
-
getEndOn
Description copied from interface:CoursePlan获得失效时间- Specified by:
getEndOnin interfaceCoursePlan- Returns:
- 失效时间
-
getUpdatedAt
-
setUpdatedAt
-
getCreditHours
public int getCreditHours() -
setCreditHours
public void setCreditHours(int creditHours) -
getHourRatios
-
setHourRatios
-