entitytled

RelationshipComponent

Related Doc: package entitytled

trait RelationshipComponent extends AnyRef

Component grouping declarations regarding relationships.

Needs to be mixed in along with a DriverComponent and an EntityComponent.

Self Type
RelationshipComponent with DriverComponent with EntityComponent
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RelationshipComponent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class DirectRelationship[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T, +C[_]] extends (RelationshipComponent.this)#Relationship[From, To, E, I, T, C]

    Base class for direct relationships (without a join-table).

  2. trait Includable[Owner <: slick.driver.JdbcProfile.API.Table[O], O] extends AnyRef

    Trait to allow including (eager-loading) related values on a query result.

    Trait to allow including (eager-loading) related values on a query result.

    Owner

    The type of the table that owns the related values.

    O

    The type of the row that owns the related values.

  3. abstract class IndirectRelationship[From <: (RelationshipComponent.this)#EntityTable[E, I], Through <: slick.driver.JdbcProfile.API.Table[_], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T, +C[_]] extends (RelationshipComponent.this)#Relationship[From, To, E, I, T, C]

    Base class for indirect relationships (with a join-table).

    Base class for indirect relationships (with a join-table).

    Through

    The join-table's type.

  4. trait Relationship[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T, +C[_]] extends (RelationshipComponent.this)#Includable[From, E]

    Represents a relationship between an owner entity and an owned relation.

    Represents a relationship between an owner entity and an owned relation.

    From

    The owner entity's table type.

    To

    The target relation's table type.

    E

    The owner entity's type.

    I

    The owner entity's ID type.

    T

    The target relation's type.

    C

    The type of the functor containing target relation values that are retrieved from the database.

  5. class ToMany[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#DirectRelationship[From, To, E, I, T, Seq] with (RelationshipComponent.this)#ToManyRelationship[From, To, E, I, T]

    Represents a direct (without a join-table) 'to many' relationship.

  6. trait ToManyRelationship[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends AnyRef

    Provides a partial implementation of Relationship for 'to many' relationships.

    Provides a partial implementation of Relationship for 'to many' relationships.

    From

    The owner entity's table type.

    To

    The target relation's table type.

    E

    The owner entity's type.

    I

    The owner entity's ID type.

    T

    The target relation's type.

  7. class ToManyThrough[From <: (RelationshipComponent.this)#EntityTable[E, I], Through <: slick.driver.JdbcProfile.API.Table[_], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#IndirectRelationship[From, Through, To, E, I, T, Seq] with (RelationshipComponent.this)#ToManyRelationship[From, To, E, I, T]

    Represents an indirect (with a join-table) 'to many' relationship.

  8. class ToManyWithIncludes[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#WrappingRelationship[From, To, E, I, T, Seq]

    Wraps a 'to many' relationship and one or more includes which will be eager-loaded onto any actions generated for this relationship.

  9. class ToOne[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#DirectRelationship[From, To, E, I, T, Option] with (RelationshipComponent.this)#ToOneRelationship[From, To, E, I, T]

    Represents a direct (without a join-table) 'to one' relationship.

  10. trait ToOneRelationship[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends AnyRef

    Provides a partial implementation of Relationship for 'to one' relationships.

    Provides a partial implementation of Relationship for 'to one' relationships.

    From

    The owner entity's table type.

    To

    The target relation's table type.

    E

    The owner entity's type.

    I

    The owner entity's ID type.

    T

    The target relation's type.

  11. class ToOneThrough[From <: (RelationshipComponent.this)#EntityTable[E, I], Through <: slick.driver.JdbcProfile.API.Table[_], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#IndirectRelationship[From, Through, To, E, I, T, Option] with (RelationshipComponent.this)#ToOneRelationship[From, To, E, I, T]

    Represents an indirect (with a join-table) 'to one' relationship.

  12. class ToOneWithIncludes[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T] extends (RelationshipComponent.this)#WrappingRelationship[From, To, E, I, T, Option]

    Wraps a 'to one' relationship and one or more includes which will be eager-loaded onto any actions generated for this relationship.

  13. class WrappingRelationship[From <: (RelationshipComponent.this)#EntityTable[E, I], To <: slick.driver.JdbcProfile.API.Table[T], E <: (RelationshipComponent.this)#Entity[E, I], I, T, +C[_]] extends (RelationshipComponent.this)#Relationship[From, To, E, I, T, C]

    Base class for wrapping relationships.

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. object DirectJoinCondition

  5. object IndirectJoinCondition

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  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 AnyRef

Inherited from Any

Ungrouped