CourseGroup

org.openurp.edu.program.model.CourseGroup
trait CourseGroup extends LongIdEntity, Ordered[CourseGroup]

课程设置中的课程组.

  • 1)对应计划

  • 2)课程类型

  • 3)要求学分

  • 4)是否必修课

  • 5)父组

  • 6)子组集合

  • 7)组内所有的课程

  • 8)备注

Attributes

Graph
Supertypes
trait Ordered[CourseGroup]
trait Comparable[CourseGroup]
trait LongIdEntity
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Abstract methods

def allowUnplanned: Boolean

是否开放范围,允许计划外课程进行类型匹配

是否开放范围,允许计划外课程进行类型匹配

Attributes

def autoAddup: Boolean

自动累加学分

自动累加学分

Attributes

def children: Seq[CourseGroup]

获得子节点集合

获得子节点集合

Attributes

def courseType: CourseType

获得课程类别

获得课程类别

Attributes

def creditHours: Int

要求学时

要求学时

Attributes

def credits: Float

要求组内要求总学分

要求组内要求总学分

Attributes

def depth: Int
def getHours(natures: Seq[TeachingNature]): Map[TeachingNature, Int]
def hourRatios: String

课时比例

课时比例

Attributes

def indexno: String

序号

序号

Attributes

def isLeaf: Boolean
def name: String

组名

组名

Attributes

def optional: Boolean

是否是选修课

是否是选修课

Attributes

def parent: Option[CourseGroup]

获得上级组

获得上级组

Attributes

获得课程方案

获得课程方案

Attributes

组内课程

组内课程

Attributes

def rank: Option[CourseRank]

课程属性

课程属性

Attributes

def remark: Option[String]

获得备注

获得备注

Attributes

def stage: Option[CalendarStage]

开课阶段

开课阶段

Attributes

def subCount: Short

要求完成的课程组数量 (-1表示全部完成)

要求完成的课程组数量 (-1表示全部完成)

Attributes

def termCredits: String

获得每学期学分

获得每学期学分

Attributes

def terms: Terms

开课学期

开课学期

Attributes

Concrete methods

组内排序课程

组内排序课程

Attributes

Inherited methods

def <(that: CourseGroup): Boolean

Attributes

Inherited from:
Ordered
def <=(that: CourseGroup): Boolean

Attributes

Inherited from:
Ordered
def >(that: CourseGroup): Boolean

Attributes

Inherited from:
Ordered
def >=(that: CourseGroup): Boolean

Attributes

Inherited from:
Ordered
def compare(that: CourseGroup): Int

Attributes

Inherited from:
Ordered
def compareTo(that: CourseGroup): Int

Attributes

Inherited from:
Ordered
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 id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
Entity
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity