ModifiedEntity

slick.additions.entity.ModifiedEntity
case class ModifiedEntity[K, +A](key: K, value: A) extends KeyedEntity[K, A]

Attributes

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

Members list

Value members

Concrete methods

final override def isSaved: Boolean

Attributes

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

Attributes

Definition Classes
override def widen[B >: A]: 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
override def keyOption: Option[K]

Attributes

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

Attributes

Definition Classes
Inherited from:
KeyedEntity
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
override def toEntityKey: EntityKey[K, A]

Attributes

Definition Classes
Inherited from:
KeyedEntity
def toSaved: SavedEntity[K, A]

Attributes

Inherited from:
KeyedEntity
override def updated[B](value: B): ModifiedEntity[K, B]

Attributes

Definition Classes
Inherited from:
KeyedEntity
def valueOption: Option[A]

Attributes

Inherited from:
Lookup