case class DefaultGeneratorConfiguration(db: DatabaseConfiguration, sourceSchema: String, targetFolder: Path, basePackage: String) extends GeneratorConfiguration with Product with Serializable
- Alphabetic
- By Inheritance
- DefaultGeneratorConfiguration
- Serializable
- Serializable
- Product
- Equals
- GeneratorConfiguration
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DefaultGeneratorConfiguration(db: DatabaseConfiguration, sourceSchema: String, targetFolder: Path, basePackage: String)
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
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
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.
-
val
db: DatabaseConfiguration
The DatabaseConfiguration used to access your local database.
The DatabaseConfiguration used to access your local database.
- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
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 selectModelEmitter.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
def
selectCompanionEmitter(table: Table): CompanionEmitter
Selects the companion emitter based on the given table (and possibly the schema).
Selects the companion emitter based on the given table (and possibly the schema).
- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
def
selectModelEmitter(table: Table): ModelEmitter
Selects the model emitter based on the given table (and possibly the schema).
Selects the model emitter based on the given table (and possibly the schema).
- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
def
selectPropertyEmitter(column: Column): PropertyEmitter
Selects the property emitter based on the given column (and possibly the table and even schema).
Selects the property emitter based on the given column (and possibly the table and even schema).
- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
def
selectSchemaEmitter(schema: Schema): SchemaEmitter
Selects the schema emitter based on the given schema.
Selects the schema emitter based on the given schema.
- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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 nameschema.Schema, and the target folder istarget/scala-2.12/src_managed. Generator will write the compilation unit to the filetarget/scala-2.12/src_managed/com/example/schema/Schema.scala.- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
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
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
lazy val
typeResolver: TypeResolver
The type resolver translates JDBC types to Scala types.
The type resolver translates JDBC types to Scala types.
- Definition Classes
- DefaultGeneratorConfiguration → GeneratorConfiguration
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )