CourseGroup

trait CourseGroup extends LongIdEntity with Ordered[CourseGroup]

课程设置中的课程组.

  • 1)对应计划

  • 2)课程类型

  • 3)要求学分

  • 4)是否必修课

  • 5)父组

  • 6)子组集合

  • 7)组内所有的课程

  • 8)备注

trait Ordered[CourseGroup]
trait Comparable[CourseGroup]
trait LongIdEntity
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def autoAddup: Boolean

自动累加学分

自动累加学分

获得子节点集合.

获得子节点集合.

def courseCount: Short

获得组内要求门数

获得组内要求门数

def courseType: CourseType

获得课程类别.

获得课程类别.

def creditHours: Int

要求学时

要求学时

def credits: Float

要求组内要求总学分

要求组内要求总学分

def hourRatios: Option[String]

课时比例

课时比例

def indexno: String

序号

序号

def name: String

组名

组名

def parent: Option[CourseGroup]

获得上级组

获得上级组

获得课程方案

获得课程方案

组内课程

组内课程

def remark: Option[String]

获得备注.

获得备注.

def subCount: Short

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

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

def termCredits: String

获得每学期学分

获得每学期学分

def terms: Terms

开课学期

开课学期

Inherited methods

def <(that: CourseGroup): Boolean
Inherited from:
Ordered
def <=(that: CourseGroup): Boolean
Inherited from:
Ordered
def >(that: CourseGroup): Boolean
Inherited from:
Ordered
def >=(that: CourseGroup): Boolean
Inherited from:
Ordered
def compare(that: CourseGroup): Int
Inherited from:
Ordered
def compareTo(that: CourseGroup): Int
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方法。

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

java.lang.Object#hashCode()

Definition Classes
Entity -> Any
Inherited from:
Entity
def id: ID

Return Identifier

Return Identifier

Inherited from:
Entity
def persisted: Boolean

Return true if persisted

Return true if persisted

Inherited from:
Entity