entitytled.RelationshipRepComponent

Many

Related Doc: package RelationshipRepComponent

sealed trait Many[E <: (RelationshipRepComponent.this)#Entity[E, I], I, T] extends (RelationshipRepComponent.this)#RelationshipRep[E, I, T, Seq]

Represents the value of a 'to many' relationship for a specific owner instance.

Linear Supertypes
(RelationshipRepComponent.this)#RelationshipRep[E, I, T, Seq], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Many
  2. RelationshipRep
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getValue: Seq[T]

    Returns the represented value if it was already fetched into memory, error otherwise.

    Returns the represented value if it was already fetched into memory, error otherwise.

    Definition Classes
    RelationshipRep
    Exceptions thrown

    NoSuchElementException When called on relationship value representations for values that have not yet been fetched into memory.

  2. abstract val isFetched: Boolean

    Describes whether or not the represented value was already fetched into memory.

    Describes whether or not the represented value was already fetched into memory.

    Definition Classes
    RelationshipRep
  3. abstract val ownerId: Option[I]

    The owner entity's ID for persisted entities.

    The owner entity's ID for persisted entities.

    Some(ownerId) for persisted owner entities, or None for unpersisted owner entities.

    Definition Classes
    RelationshipRep
  4. abstract val relationship: (RelationshipRepComponent.this)#Relationship[_ <: (RelationshipRepComponent.this)#EntityTable[E, I], _ <: slick.driver.JdbcProfile.API.Table[T], E, I, T, Seq]

    The represented relationship.

    The represented relationship.

    Definition Classes
    RelationshipRep

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def fetchValue(implicit db: slick.driver.JdbcProfile.API.Database, ec: ExecutionContext, maxDuration: Duration = 10 seconds): Seq[T]

    Will fetch the represented value from persistant storage.

    Will fetch the represented value from persistant storage.

    db

    The database definition to be used for executing the request.

    ec

    The execution context for executing the database the request.

    maxDuration

    The maximum time execution may take before failing.

    Definition Classes
    ManyRelationshipRep
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def getOrFetchValue(implicit db: slick.driver.JdbcProfile.API.Database, ec: ExecutionContext, maxDuration: Duration = 10 seconds): Seq[T]

    Will return the represented value from memory for fetched values or fetch it otherwise.

    Will return the represented value from memory for fetched values or fetch it otherwise.

    db

    The database definition to be used for executing the request.

    ec

    The execution context for executing the database the request.

    maxDuration

    The maximum time execution may take before failing.

    Definition Classes
    RelationshipRep
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (RelationshipRepComponent.this)#RelationshipRep[E, I, T, Seq]

Inherited from AnyRef

Inherited from Any

Ungrouped