entitytled

RelationshipComponent

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.

  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).

  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.

  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.

  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.

  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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. object DirectJoinCondition

  7. object IndirectJoinCondition

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped