SyllabusText

org.openurp.edu.course.model.SyllabusText
class SyllabusText extends LongId, Named, Hierarchical[SyllabusText]

Attributes

Graph
Supertypes
trait Hierarchical[SyllabusText]
trait Ordered[SyllabusText]
trait Comparable[SyllabusText]
trait Named
class LongId
trait LongIdEntity
class NumId[Long]
trait Entity[Long]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(syllabus: Syllabus, indexno: String, name: String, contents: String)

Inherited methods

def <(that: SyllabusText): Boolean

Attributes

Inherited from:
Ordered
def <=(that: SyllabusText): Boolean

Attributes

Inherited from:
Ordered
def >(that: SyllabusText): Boolean

Attributes

Inherited from:
Ordered
def >=(that: SyllabusText): Boolean

Attributes

Inherited from:
Ordered
def compare(that: SyllabusText): Int

Attributes

Inherited from:
Hierarchical
def compareTo(that: SyllabusText): 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
def persisted: Boolean

Return true if persisted

Return true if persisted

Attributes

Inherited from:
Entity

Concrete fields

var contents: String

内容

内容

Attributes

Inherited fields

var children: Buffer[SyllabusText]

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 name: String

Attributes

Inherited from:
Named
var parent: Option[SyllabusText]

父级菜单

父级菜单

Attributes

Inherited from:
Hierarchical