class CodeGenerator extends Generator with LoanPattern
Ordering
- Alphabetic
- By Inheritance
Inherited
- CodeGenerator
- LoanPattern
- Generator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CodeGenerator(table: Table, specifiedClassName: Option[String] = None)(implicit config: GeneratorConfig = GeneratorConfig())
Type Members
- type Closable = AnyRef { def close(): Unit }
- Definition Classes
- LoanPattern
- case class ColumnInScala(underlying: Column) extends Product with Serializable
- case class IndentGenerator(i: Int) extends Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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) }
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def convertColumnToColumnInScala(column: Column): ColumnInScala
- implicit def convertIntToIndentGenerator(i: Int): IndentGenerator
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def futureUsing[R <: Closable, A](resource: R)(f: (R) => Future[A])(implicit ec: ExecutionContext): Future[A]
- Definition Classes
- LoanPattern
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mkdirRecursively(file: File): Unit
Create directory to put the source code file if it does not exist yet.
- def modelAll(): String
- Definition Classes
- CodeGenerator → Generator
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def objectPart: String
object Member { // ... as follows }
- def specAll(): Option[String]
- Definition Classes
- CodeGenerator → Generator
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def using[R <: Closable, A](resource: R)(f: (R) => A): A
- Definition Classes
- LoanPattern
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeModel(): Unit
Write the source code to outputFile.
Write the source code to outputFile. It overwrites a file if it already exists.
- Definition Classes
- CodeGenerator → Generator
- def writeModelIfNonexistentAndUnskippable(): Boolean
Write the source code if outputFile does not exists.
Write the source code if outputFile does not exists.
- Definition Classes
- CodeGenerator → Generator
- def writeSpec(code: Option[String]): Unit
- Definition Classes
- CodeGenerator → Generator
- def writeSpecIfNotExist(code: Option[String]): Unit
- Definition Classes
- CodeGenerator → Generator
- object TypeName