AbstractCourseGroup

abstract class AbstractCourseGroup extends LongId with CourseGroup with Cloneable with Hierarchical[CourseGroup] with Remark

课程设置中的课程组

Since:

2009

trait Remark
trait Hierarchical[CourseGroup]
trait Cloneable
trait Ordered[CourseGroup]
trait Comparable[CourseGroup]
class LongId
trait LongIdEntity
class NumId[Long]
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def addCourse(planCourse: AbstractPlanCourse): Unit
def addCourses(planCourses: Iterable[AbstractPlanCourse]): Unit

添加计划课程

添加计划课程

def addGroup(group: AbstractCourseGroup): Unit
override def compare(o: CourseGroup): Int
Definition Classes
Hierarchical -> Ordered
def follow(plan: CoursePlan): Unit
def index(): Int
override def name: String
Definition Classes
def planCourses(terms: Terms): Seq[PlanCourse]
def removeCourse(pc: PlanCourse): Unit

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 compareTo(that: CourseGroup): Int
Inherited from:
Ordered
def depth: Int
Inherited from:
Hierarchical
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 lastindex: Int
Inherited from:
Hierarchical
@Transient
def persisted: Boolean

Return true if persisted

Return true if persisted

Inherited from:
Entity

Concrete fields

var autoAddup: Boolean

自动累加学分

自动累加学分

var courseCount: Short

要求门数

要求门数

var courseType: CourseType

课程类别

课程类别

var credits: Float

要求学分

要求学分

var givenName: Option[String]

自定义别名

自定义别名

计划

计划

var planCourses: Buffer[PlanCourse]

计划课程列表

计划课程列表

var subCount: Short

要求完成组数

要求完成组数

var termCredits: String

学期学分分布

学期学分分布

var terms: Terms

开课学期

开课学期

Inherited fields

var children: Buffer[CourseGroup]
Inherited from:
Hierarchical
var id: Long
Inherited from:
NumId
var indexno: String

index no

index no

Inherited from:
Hierarchical
var parent: Option[CourseGroup]

父级菜单

父级菜单

Inherited from:
Hierarchical
var remark: Option[String]
Inherited from:
Remark