skinny.orm.feature.associations

JoinDefinition

case class JoinDefinition[Entity](joinType: JoinType, thisMapper: AssociationsFeature[Entity], leftMapper: AssociationsFeature[Any], leftAlias: Alias[Any], rightMapper: AssociationsFeature[Any], rightAlias: Alias[Any], on: scalikejdbc.SQLInterpolation.SQLSyntax, fk: Option[(Any) ⇒ Option[Long]] = scala.None, enabledEvenIfAssociated: Boolean = false, enabledByDefault: Boolean = false) extends Product with Serializable

Join definition.

Entity

entity

joinType

join type (innerJoin/LeftOuterJoin)

thisMapper

this mapper

leftMapper

left mapper

leftAlias

left table alias

rightMapper

right mapper

rightAlias

right table alias

on

join condition

fk

foreign key to join

enabledEvenIfAssociated

enable even if the right one is associated

enabledByDefault

enable by default

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JoinDefinition
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JoinDefinition(joinType: JoinType, thisMapper: AssociationsFeature[Entity], leftMapper: AssociationsFeature[Any], leftAlias: Alias[Any], rightMapper: AssociationsFeature[Any], rightAlias: Alias[Any], on: scalikejdbc.SQLInterpolation.SQLSyntax, fk: Option[(Any) ⇒ Option[Long]] = scala.None, enabledEvenIfAssociated: Boolean = false, enabledByDefault: Boolean = false)

    joinType

    join type (innerJoin/LeftOuterJoin)

    thisMapper

    this mapper

    leftMapper

    left mapper

    leftAlias

    left table alias

    rightMapper

    right mapper

    rightAlias

    right table alias

    on

    join condition

    fk

    foreign key to join

    enabledEvenIfAssociated

    enable even if the right one is associated

    enabledByDefault

    enable by default

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def byDefault(enabledEvenIfAssociated: Boolean = true): JoinDefinition[Entity]

    Enables by default.

    Enables by default.

    enabledEvenIfAssociated

    even if associated

    returns

    join definition

  8. def byDefaultEvenIfAssociated(): JoinDefinition[Entity]

    Enables by default even if the right one is associated to others.

    Enables by default even if the right one is associated to others.

    returns

    join definition

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. var enabledByDefault: Boolean

    enable by default

  11. var enabledEvenIfAssociated: Boolean

    enable even if the right one is associated

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. val fk: Option[(Any) ⇒ Option[Long]]

    foreign key to join

  15. final def getClass(): Class[_]

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

    Definition Classes
    Any
  17. val joinType: JoinType

    join type (innerJoin/LeftOuterJoin)

  18. val leftAlias: Alias[Any]

    left table alias

  19. val leftMapper: AssociationsFeature[Any]

    left mapper

  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. val on: scalikejdbc.SQLInterpolation.SQLSyntax

    join condition

  24. val rightAlias: Alias[Any]

    right table alias

  25. val rightMapper: AssociationsFeature[Any]

    right mapper

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. val thisMapper: AssociationsFeature[Entity]

    this mapper

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped