KeyedEntity

slick.additions.entity.KeyedEntity
See theKeyedEntity companion object
sealed trait KeyedEntity[K, +A] extends Entity[K, A], Lookup[K, A]

Attributes

Companion
object
Graph
Supertypes
trait Lookup[K, A]
trait Entity[K, A]
trait EntityRef[K, A]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ModifiedEntity[K, A]
class SavedEntity[K, A]

Members list

Value members

Abstract methods

override def transform[B](f: A => B): KeyedEntity[K, B]

Attributes

Definition Classes
override def widen[B >: A]: KeyedEntity[K, B]

Attributes

Definition Classes

Concrete methods

override def keyOption: Option[K]

Attributes

Definition Classes
override def modify[B](f: A => B): ModifiedEntity[K, B]

Attributes

Definition Classes
override def toEntityKey: EntityKey[K, A]

Attributes

Definition Classes
def toSaved: SavedEntity[K, A]
override def updated[B](value: B): ModifiedEntity[K, B]

Attributes

Definition Classes

Inherited methods

def =#=[B](that: Lookup[K, B])(implicit ev: A <:< B): Boolean

Attributes

Inherited from:
Lookup
def asLookup: Lookup[K, A]

Attributes

Inherited from:
Lookup

Attributes

Inherited from:
Entity
def foldEnt[X](keyless: (KeylessEntity[K, A]) => X, keyed: (KeyedEntity[K, A]) => X): X

Attributes

Inherited from:
Entity
def foldLookup[X](key: (EntityKey[K, A]) => X, ent: (KeyedEntity[K, A]) => X): X

Attributes

Inherited from:
Lookup
def sameKey[B](that: Lookup[K, B])(implicit ev: A <:< B): Boolean

Attributes

Inherited from:
Lookup
def valueOption: Option[A]

Attributes

Inherited from:
Lookup

Inherited and Abstract methods

def isSaved: Boolean

Attributes

Inherited from:
Entity
def key: K

Attributes

Inherited from:
Lookup
def value: A

Attributes

Inherited from:
Entity