scalikejdbc.mapper

CodeGenerator

class CodeGenerator extends AnyRef

Active Record like template generator

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CodeGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CodeGenerator(table: Table, specifiedClassName: Option[String] = scala.None)(implicit config: GeneratorConfig = ...)

Type Members

  1. case class ColumnInScala(underlying: Column) extends Product with Serializable

  2. case class IndentGenerator(i: Int) extends Product with Serializable

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 TypeName

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def classPart: String

    Class part.

    Class part.

    case class Member(id: Long, name: String, description: Option[String])) {
    def save(): Member = Member.update(this)
    def destroy(): Unit = Member.delete(this)
    }
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. implicit def convertColumnToColumnInScala(column: Column): ColumnInScala

  11. implicit def convertIntToIndentGenerator(i: Int): IndentGenerator

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

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

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

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

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

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

    Definition Classes
    Any
  18. def mkdirRecursively(file: File): Unit

    Create directory to put the source code file if it does not exist yet.

  19. def modelAll(): String

  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. def objectPart: String

    object Member {
    // ... as follows
    }
  24. def specAll(): Option[String]

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def writeModelIfNotExist(): Unit

    Write the source code to file.

  31. def writeSpecIfNotExist(code: Option[String]): Unit

Inherited from AnyRef

Inherited from Any

Ungrouped