Restriction

org.openurp.edu.clazz.model.Restriction
class Restriction extends LongId with Cloneable

课程限制条件组

Attributes

Graph
Supertypes
trait Cloneable
class LongId
trait LongIdEntity
class NumId[Long]
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

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 persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity

Concrete fields

var children: Buffer[Restriction]

教学任务

教学任务

Attributes

var curCount: Int

当前人数

当前人数

Attributes

var items: Buffer[RestrictionItem]

条件列表

条件列表

Attributes

var maxCount: Int

最大人数

最大人数

Attributes

var parent: Option[Restriction]

父级菜单

父级菜单

Attributes

var prime: Boolean

是否主要开课对象

是否主要开课对象

Attributes

Inherited fields

var id: Long

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId