Packages

class ForeignKeyDef extends TableDef.ForeignKeyDef

Source
AbstractSourceCodeGenerator.scala
Linear Supertypes
TableDef.ForeignKeyDef, Serializable, Product, Equals, TableDef.TermDef, TableDef.Def, AnyRef, Any
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. ForeignKeyDef
  2. ForeignKeyDef
  3. Serializable
  4. Product
  5. Equals
  6. TermDef
  7. Def
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ForeignKeyDef(model: model.ForeignKey)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toany2stringadd[ForeignKeyDef] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ForeignKeyDef, B)
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toArrowAssoc[ForeignKeyDef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def actionCode(action: ForeignKeyAction): String
    Definition Classes
    ForeignKeyDefForeignKeyDef
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def code: String

    Scala code

    Scala code

    Definition Classes
    ForeignKeyDefDef
  10. def dbName: String

    Name used in the db or a default name

    Name used in the db or a default name

    Definition Classes
    ForeignKeyDef
  11. def disambiguateTerm(name: String, postfix: String = "X"): String

    Adds one or more X to the end of the given string to avoid collisions with column names.

    Adds one or more X to the end of the given string to avoid collisions with column names.

    Definition Classes
    TermDef
  12. def doc: String

    Scala doc comment

    Scala doc comment

    Definition Classes
    ForeignKeyDefDef
  13. def docWithCode: String

    Scala doc comment with code

    Scala doc comment with code

    Definition Classes
    TermDefDef
  14. def enabled: Boolean

    Indicates whether this will be included in the generated code

    Indicates whether this will be included in the generated code

    Definition Classes
    Def
  15. def ensuring(cond: (ForeignKeyDef) => Boolean, msg: => Any): ForeignKeyDef
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toEnsuring[ForeignKeyDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (ForeignKeyDef) => Boolean): ForeignKeyDef
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toEnsuring[ForeignKeyDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): ForeignKeyDef
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toEnsuring[ForeignKeyDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): ForeignKeyDef
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toEnsuring[ForeignKeyDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def getEnabled: Option[TableDef.Def]

    Returns Some(this) if enabled else None

    Returns Some(this) if enabled else None

    Definition Classes
    Def
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. val model: model.ForeignKey
    Definition Classes
    ForeignKeyDef
  24. final def name: String

    Name (escaped if colliding with Scala keyword).

    Name (escaped if colliding with Scala keyword).

    Definition Classes
    TermDef
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def onDelete: String
    Definition Classes
    ForeignKeyDef
  29. final def onUpdate: String
    Definition Classes
    ForeignKeyDef
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def rawName: String

    Name as desired in Scala Code.

    Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)

    Definition Classes
    ForeignKeyDefDef
  32. final lazy val referencedColumns: Seq[Column]

    Referenced Columns code generators

    Referenced Columns code generators

    Definition Classes
    ForeignKeyDef
  33. final lazy val referencedTable: AbstractSourceCodeGenerator.Table

    Referenced Table code generator

    Referenced Table code generator

    Definition Classes
    ForeignKeyDef
  34. final lazy val referencingColumns: Seq[TableDef.Column]

    Referencing columns code generators

    Referencing columns code generators

    Definition Classes
    ForeignKeyDef
  35. final lazy val referencingTable: AbstractSourceCodeGenerator.TableDef

    Referencing Table code generator

    Referencing Table code generator

    Definition Classes
    ForeignKeyDef
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toStringFormat[ForeignKeyDef] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (ForeignKeyDef, B)
    Implicit
    This member is added by an implicit conversion from ForeignKeyDef toArrowAssoc[ForeignKeyDef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from TableDef.ForeignKeyDef

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TableDef.TermDef

Inherited from TableDef.Def

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromForeignKeyDef to any2stringadd[ForeignKeyDef]

Inherited by implicit conversion StringFormat fromForeignKeyDef to StringFormat[ForeignKeyDef]

Inherited by implicit conversion Ensuring fromForeignKeyDef to Ensuring[ForeignKeyDef]

Inherited by implicit conversion ArrowAssoc fromForeignKeyDef to ArrowAssoc[ForeignKeyDef]

Basic customization overrides

Ungrouped