Class

skinny.orm.feature.associations

JoinDefinition

Related Doc: package associations

Permalink

case class JoinDefinition[Entity](joinType: JoinType, thisMapper: AssociationsFeature[Entity], leftMapper: AssociationsFeature[Any], leftAlias: Alias[Any], rightMapper: AssociationsFeature[Any], rightAlias: Alias[Any], on: scalikejdbc.SQLSyntax, fk: Option[(Any) ⇒ Option[Long]] = 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
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.SQLSyntax, fk: Option[(Any) ⇒ Option[Long]] = None, enabledEvenIfAssociated: Boolean = false, enabledByDefault: Boolean = false)

    Permalink

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

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

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

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

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

    Permalink

    Enables by default.

    Enables by default.

    enabledEvenIfAssociated

    even if associated

    returns

    join definition

  6. def byDefaultEvenIfAssociated(): JoinDefinition[Entity]

    Permalink

    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

  7. def clone(): AnyRef

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

    Permalink

    enable by default

  9. var enabledEvenIfAssociated: Boolean

    Permalink

    enable even if the right one is associated

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

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Permalink

    foreign key to join

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

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

    Permalink
    Definition Classes
    Any
  15. val joinType: JoinType

    Permalink

    join type (innerJoin/LeftOuterJoin)

  16. val leftAlias: Alias[Any]

    Permalink

    left table alias

  17. val leftMapper: AssociationsFeature[Any]

    Permalink

    left mapper

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val on: scalikejdbc.SQLSyntax

    Permalink

    join condition

  22. val rightAlias: Alias[Any]

    Permalink

    right table alias

  23. val rightMapper: AssociationsFeature[Any]

    Permalink

    right mapper

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

    Permalink
    Definition Classes
    AnyRef
  25. val thisMapper: AssociationsFeature[Entity]

    Permalink

    this mapper

  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped