Packages

trait AbstractTableClassDef extends AbstractTypeDef

Table class generator definition

Source
AbstractGenerator.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. AbstractTableClassDef
  2. AbstractTypeDef
  3. AbstractDef
  4. AnyRef
  5. 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

Basic customization overrides

  1. abstract def code: Code

    Scala code

    Scala code

    Definition Classes
    AbstractTableClassDefAbstractDef
  2. def doc: String

    Scala doc comment

    Scala doc comment

    Definition Classes
    AbstractTableClassDefAbstractDef
  3. 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
    AbstractDef
  4. def parents: Seq[Code]

    Inherited traits.

    Inherited traits.

    Definition Classes
    AbstractTypeDef
  5. 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
    AbstractTableClassDefAbstractDef

Ungrouped

  1. abstract def option: Code

    The ? projection to produce an Option row.

    The ? projection to produce an Option row. Useful for outer joins.

  2. abstract def optionFactory: Code

    Function that constructs an Option of an entity object from the unmapped Option values

  3. abstract def star: Code

    The * projection that accumulates all columns and map them if mappingEnabled is true

  4. def body: Seq[Seq[Code]]

    Code for enabled definitions in this table class grouped into logical groups.

  5. def definitions: Seq[Seq[AbstractDef]]

    All definitions in this table class including disabled ones grouped into logical groups.

  6. def docWithCode: Code

    Scala doc comment with code

    Scala doc comment with code

    Definition Classes
    AbstractDef
  7. def elementType: TypeName

    The type of the elements this table yields.

  8. final def getEnabled: Option[AbstractDef]

    Returns Some(this) if enabled else None

    Returns Some(this) if enabled else None

    Definition Classes
    AbstractDef
  9. final def name: TypeName

    Name (escaped if colliding with Scala keyword).

    Name (escaped if colliding with Scala keyword).

    Definition Classes
    AbstractTypeDef
  10. def optionEnabled: Boolean

    Indicates whether a ? projection should be generated.