Batch

org.openurp.prac.innovation.model.Batch
class Batch extends IntId with Named with DateRange

批次

Attributes

Graph
Supertypes
trait DateRange
trait Named
class IntId
trait IntIdEntity
class NumId[Int]
trait Entity[Int]
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def getStage(stageType: StageType): Option[Stage]

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
def within(date: LocalDate): Boolean

Attributes

Inherited from:
DateRange

Concrete fields

var archived: Boolean

是否归档

是否归档

Attributes

var school: School
var stages: Buffer[Stage]

阶段

阶段

Attributes

Inherited fields

var beginOn: LocalDate

起始日期

起始日期

Attributes

Inherited from:
DateRange
var endOn: LocalDate

结束日期

结束日期

Attributes

Inherited from:
DateRange
var id: Int

Return Identifier

Return Identifier

Attributes

Inherited from:
NumId
var name: String

Attributes

Inherited from:
Named