AbstractCourseGroup

org.openurp.edu.program.model.AbstractCourseGroup
abstract class AbstractCourseGroup extends LongId, CourseGroup, Cloneable, Hierarchical[CourseGroup], Remark

课程设置中的课程组

Attributes

Since

2009

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

Members list

Value members

Concrete methods

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

添加计划课程

添加计划课程

Attributes

def addGroup(group: AbstractCourseGroup): Unit
def allowUnplanned: Boolean

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

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

Attributes

def autoAddup: Boolean

自动累加学分

自动累加学分

Attributes

override def compare(o: CourseGroup): Int

Attributes

Definition Classes
Hierarchical -> Ordered
def follow(plan: CoursePlan): Unit
override def getHours(natures: Seq[TeachingNature]): Map[TeachingNature, Int]

Attributes

Definition Classes
def getTermCourses(terms: Terms): Seq[PlanCourse]
def index(): Int
override def isLeaf: Boolean

Attributes

Definition Classes
def isTermCreditsEmpty: Boolean
override def name: String

组名

组名

Attributes

Definition Classes
def optional: Boolean

是否是选修课

是否是选修课

Attributes

def parents(): Seq[CourseGroup]
def path(): Seq[CourseGroup]
def removeCourse(pc: PlanCourse): Unit
def shortName: String
def termCreditSeq: Seq[Double]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

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 compareTo(that: CourseGroup): Int

Attributes

Inherited from:
Ordered
def depth: Int

Attributes

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方法。

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 lastindex: Int

Attributes

Inherited from:
Hierarchical

组内排序课程

组内排序课程

Attributes

Inherited from:
CourseGroup
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity

Concrete fields

var courseType: CourseType

课程类别

课程类别

Attributes

var creditHours: Int

课时

课时

Attributes

var credits: Float

要求学分

要求学分

Attributes

var givenName: Option[String]

自定义别名

自定义别名

Attributes

var hourRatios: String

课时比例

课时比例

Attributes

计划

计划

Attributes

var planCourses: Buffer[PlanCourse]

计划课程列表

计划课程列表

Attributes

var rank: Option[CourseRank]

课程属性

课程属性

Attributes

var required: Boolean

是否必选

是否必选

Attributes

var stage: Option[CalendarStage]

开课阶段

开课阶段

Attributes

var subCount: Short

要求完成组数(默认是全部子组)

要求完成组数(默认是全部子组)

Attributes

var termCredits: String

学期学分分布

学期学分分布

Attributes

var terms: Terms

开课学期

开课学期

Attributes

var weeks: Option[Int]

周数

周数

Attributes

Inherited fields

var children: Buffer[CourseGroup]

Attributes

Inherited from:
Hierarchical
var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var indexno: String

index no

index no

Attributes

Inherited from:
Hierarchical
var parent: Option[CourseGroup]

父级菜单

父级菜单

Attributes

Inherited from:
Hierarchical
var remark: Option[String]

Attributes

Inherited from:
Remark