trait CourseGroup extends LongIdEntity with Ordered[CourseGroup]
课程设置中的课程组.
- 1)对应计划
- 2)课程类型
- 3)要求学分
- 4)是否必修课
- 5)父组
- 6)子组集合
- 7)组内所有的课程
- 8)备注
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CourseGroup
- Ordered
- Comparable
- LongIdEntity
- Entity
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def children: Seq[CourseGroup]
获得子节点集合.
- abstract def compare(that: CourseGroup): Int
- Definition Classes
- Ordered
- abstract def compulsory: Boolean
判断是否必修组
如果组内没有课程和子组,那么就是选修
如果组内有课程没子组,那么所有课程都是必修才是必修,否则就是选修
如果组内无课程有子组,那么组关系必须是AND才是必修,否则就是选修
如果组内有课程有子组,那么所有课程都是必修且关系AND才是必修,否则就是选修 - abstract def courseCount: Short
获得组内要求门数
- abstract def courseType: CourseType
获得课程类别.
- abstract def credits: Float
要求组内要求总学分
- abstract def id: Long
- Definition Classes
- Entity
- abstract def indexno: String
- abstract def name: String
组名
- abstract def parent: Option[CourseGroup]
获得上级组
- abstract def plan: CoursePlan
获得课程方案
- abstract def planCourses: Seq[PlanCourse]
- abstract def remark: Option[String]
获得备注.
- abstract def subCount: Short
要求完成的课程组数量 (-1表示全部完成)
- abstract def termCredits: String
获得每学期学分
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def <(that: CourseGroup): Boolean
- Definition Classes
- Ordered
- def <=(that: CourseGroup): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: CourseGroup): Boolean
- Definition Classes
- Ordered
- def >=(that: CourseGroup): Boolean
- Definition Classes
- Ordered
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def compareTo(that: CourseGroup): Int
- Definition Classes
- Ordered → Comparable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Entity → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Entity → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def persisted: Boolean
- Definition Classes
- Entity
- Annotations
- @Transient()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])