Const

trait Const[T <: Txn[T], +A] extends Expr[T, A]

A constant expression simply acts as a proxy for a constant value of type A. Its event is a dummy (constants never change), and the value method does not need to use the transaction. String representation, hash-code and equality are defined in terms of the constant peer value.

Companion
object
trait Expr[T, A]
trait Obj[T]
trait Mutable[T]
trait Identified[T]
trait Elem[T]
trait Publisher[T, Change[A]]
trait Disposable[T]
trait Writable
trait ExprLike[T, A]
trait Form[T]
class Object
trait Matchable
class Any
trait ExprConstImpl[T, A]
trait ConstImpl[T]

Value members

Inherited methods

final
def attr(implicit tx: T): AttrMap[T]
Inherited from
Obj
def changed: EventLike[T, Change[A]]
Inherited from
Publisher
def dispose()(implicit tx: T): Unit
Inherited from
Disposable
override
def equals(that: Any): Boolean
Definition Classes
Identified -> Any
Inherited from
Identified
override
def hashCode: Int
Definition Classes
Identified -> Any
Inherited from
Identified
def id: Ident[T]
Inherited from
Identified
override
def toString: String
Definition Classes
Obj -> Any
Inherited from
Obj
override
def tpe: Type
Definition Classes
Obj -> Elem
Inherited from
Obj
def value(implicit tx: T): A
Inherited from
ExprLike
def write(out: DataOutput): Unit
Inherited from
Writable