Packages

c

app.wordpace.inkwell

DefaultGeneratorConfiguration

case class DefaultGeneratorConfiguration(db: DatabaseConfiguration, sourceSchema: String, targetFolder: Path, basePackage: String) extends GeneratorConfiguration with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultGeneratorConfiguration
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GeneratorConfiguration
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultGeneratorConfiguration(db: DatabaseConfiguration, sourceSchema: String, targetFolder: Path, basePackage: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val basePackage: String

    The base package of all compilation units, which is basically concatenated with each unit's name.

    The base package of all compilation units, which is basically concatenated with each unit's name.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. lazy val companionEmitter: CompanionEmitter

    The companion emitter generates companion object code for a given Model.

    The companion emitter generates companion object code for a given Model.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  8. def createModel(table: Table): Model

    Creates a model from the given table.

    Creates a model from the given table. The model's CompilationUnit must be linked by SchemaSlicer.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  9. def createProperty(column: Column, model: Model): Property

    Crates a property from the given column as part of the given model.

    Crates a property from the given column as part of the given model.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  10. def customTypes: Map[String, TypeReference]

    A map of custom JDBC to TypeReference mappings, used by the DefaultTypeResolver.

    A map of custom JDBC to TypeReference mappings, used by the DefaultTypeResolver. Note that this map is not (automatically) used if you override typeResolver.

  11. val db: DatabaseConfiguration

    The DatabaseConfiguration used to access your local database.

    The DatabaseConfiguration used to access your local database.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def ignoredTables: Set[String]

    Names of all tables that should be ignored during code generation.

    Names of all tables that should be ignored during code generation.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  15. def imports: Set[Import]

    A set of imported classes and packages which will be accessible by simple name in the generated code.

    A set of imported classes and packages which will be accessible by simple name in the generated code.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  16. def inheritances: Inheritances

    The inheritance map is used by DefaultModelEmitter to provide support for model supertypes.

    The inheritance map is used by DefaultModelEmitter to provide support for model supertypes. You can override this value to provide your own inheritance rules. Note that this map is not (automatically) used if you override modelEmitter.

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. lazy val modelEmitter: ModelEmitter

    The model emitter generates case class code for a given Model.

    The model emitter generates case class code for a given Model.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  19. def namingStrategy: NamingStrategy

    The naming strategy turns SQL names into Scala names for tables and columns (classes and attributes).

    The naming strategy turns SQL names into Scala names for tables and columns (classes and attributes). You can use one of the provided naming strategies or implement your own.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. lazy val propertyEmitter: PropertyEmitter

    The property emitter generates property code for a given Property.

    The property emitter generates property code for a given Property.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  24. def scalafmtConfig: Option[Path]

    A Path to your scalafmt configuration file or None if no code formatting is desired.

    A Path to your scalafmt configuration file or None if no code formatting is desired.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  25. lazy val schemaReader: SchemaReader

    The schema reader fetches the schema from the database and transforms it into a schema model.

    The schema reader fetches the schema from the database and transforms it into a schema model. You generally don't need to override this, but the option is there just in case.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  26. lazy val schemaSlicer: SchemaSlicer

    The schema slicer slices the schema into a set of CompilationUnit.

    The schema slicer slices the schema into a set of CompilationUnit.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  27. val sourceSchema: String

    The name of the schema used as the basis for code generation.

    The name of the schema used as the basis for code generation.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val targetFolder: Path

    The target folder where the root folder of the base package will be placed.

    The target folder where the root folder of the base package will be placed.

    For example, assume the base package is com.example, we have one compilation unit with a name schema.Schema, and the target folder is target/scala-2.12/src_managed. Generator will write the compilation unit to the file target/scala-2.12/src_managed/com/example/schema/Schema.scala.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  30. lazy val typeEmitter: TypeEmitter

    The type emitter can be overridden to change how types, type names and/or column types are emitted.

    The type emitter can be overridden to change how types, type names and/or column types are emitted.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  31. lazy val typeResolver: TypeResolver

    The type resolver translates JDBC types to Scala types.

    The type resolver translates JDBC types to Scala types.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  32. def unitEmitter: CompilationUnitEmitter

    The unit emitter generates the code for a whole CompilationUnit.

    The unit emitter generates the code for a whole CompilationUnit.

    Definition Classes
    DefaultGeneratorConfigurationGeneratorConfiguration
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GeneratorConfiguration

Inherited from AnyRef

Inherited from Any

Ungrouped