AbstractCoursePlan

org.openurp.edu.program.model.AbstractCoursePlan
trait AbstractCoursePlan extends LongId, CoursePlan, Updated

抽象课程方案

Attributes

Since

2009

Graph
Supertypes
trait Updated
trait CoursePlan
trait Cloneable
class LongId
trait LongIdEntity
class NumId[Long]
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class MajorPlan

Members list

Value members

Concrete methods

def addGroup(group: CourseGroup): Unit
override def addGroup(newGroup: CourseGroup, parent: Option[CourseGroup]): Unit

Attributes

Definition Classes
override def getGroup(courseType: CourseType): Seq[CourseGroup]

查询指定类型的组

查询指定类型的组

Attributes

Definition Classes
override def getGroup(name: String): Option[CourseGroup]

根据组名查找课程组

根据组名查找课程组

Attributes

Definition Classes
override def getGroup(course: Course): Option[CourseGroup]

根据课程查找课程组

根据课程查找课程组

Attributes

Definition Classes
def getHours(natures: Seq[TeachingNature]): Map[TeachingNature, Int]
override def level: EducationLevel

Attributes

Definition Classes
override def terms: Short

这个计划的学期数

这个计划的学期数

Attributes

Definition Classes
override def topGroups: Seq[CourseGroup]

获得顶级课程组

获得顶级课程组

Attributes

Definition Classes

Inherited methods

def depth: Int

Attributes

Inherited from:
CoursePlan
def endTerm: Int

Attributes

Inherited from:
CoursePlan
override def equals(other: Any): Boolean

比较id,如果任一方id是null,则不相等 由于业务对象被CGlib或者javassist增强的原因,这里只提供一般的基于id的比较,不提供基于Class的比较。
如果在存在继承结构, 请重置equals方法。

比较id,如果任一方id是null,则不相等 由于业务对象被CGlib或者javassist增强的原因,这里只提供一般的基于id的比较,不提供基于Class的比较。
如果在存在继承结构, 请重置equals方法。

Attributes

Definition Classes
Entity -> Any
Inherited from:
Entity
override def hashCode: Int

Attributes

See also

java.lang.Object#hashCode()

Definition Classes
Entity -> Any
Inherited from:
Entity
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity

Attributes

Inherited from:
CoursePlan
def startTerm: Int

Attributes

Inherited from:
CoursePlan

Concrete fields

var creditHours: Int

课时

课时

Attributes

var credits: Float

要求学分

要求学分

Attributes

var groups: Buffer[CourseGroup]

课程组

课程组

Attributes

var hourRatios: String

课时比例

课时比例

Attributes

培养方案

培养方案

Attributes

Inherited fields

var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var updatedAt: Instant

Updated At

Updated At

Attributes

Inherited from:
Updated