EntityKey

slick.additions.entity.EntityKey
case class EntityKey[K, +A](key: K) extends Lookup[K, A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Lookup[K, A]
trait EntityRef[K, A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def asKeyOf[B]: EntityKey[K, B]
override def toEntityKey: EntityKey[K, A]

Attributes

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

Attributes

Definition Classes
override def updated[B](value: B): Lookup[K, B]

Attributes

Definition Classes
override def widen[B >: A]: EntityKey[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
def foldLookup[X](key: (EntityKey[K, A]) => X, ent: (KeyedEntity[K, A]) => X): X

Attributes

Inherited from:
Lookup
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

Inherited from:
Lookup
def valueOption: Option[A]

Attributes

Inherited from:
Lookup