CategoryStat

org.openurp.edu.program.service.CategoryStat
class CategoryStat(val name: String, val rank: Option[CourseRank])

统计某个维度的总学分、总学时、分类课时、学期学分

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(o: CategoryStat)
def this(name: String, rank: CourseRank, compulsory: Boolean, practical: Boolean, inner: Boolean, maxTerm: Int)

Concrete methods

def addCourse(credit: Float, typeHour: Map[TeachingNature, Int], term: Terms): Unit

添加一个课程

添加一个课程

Attributes

def addGroup(credit: Float, typeHour: Map[TeachingNature, Int], termCredits: String): Unit
def getHour(t: TeachingNature): Int
def getHour(natureId: String): Int
def merge(o: CategoryStat): Unit
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

Concrete fields

var compulsory: Boolean
var credits: Double
var hours: Int
var inner: Boolean
val name: String
var practical: Boolean
val rank: Option[CourseRank]
var termCredits: Array[Float]
val typeHours: Map[TeachingNature, Int]