class SingleFileSchemaEmitter extends DefaultSchemaEmitter
Generates the whole schema into a single file.
- Alphabetic
- By Inheritance
- SingleFileSchemaEmitter
- DefaultSchemaEmitter
- SchemaEmitter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SingleFileSchemaEmitter(config: GeneratorConfiguration, schema: Schema, unitName: 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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
compilationUnits: Seq[CompilationUnit]
The generated compilation units which will be written to different files.
The generated compilation units which will be written to different files.
- Definition Classes
- SingleFileSchemaEmitter → SchemaEmitter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
header(unitName: String): String
The emitted header generated from the package declaration, imports and possibly additional code.
The emitted header generated from the package declaration, imports and possibly additional code.
- Attributes
- protected
- Definition Classes
- SchemaEmitter
-
def
importCode: String
The emitted import section below each unit's package declaration.
The emitted import section below each unit's package declaration.
- Attributes
- protected
- Definition Classes
- SchemaEmitter
-
def
imports: Set[Import]
A set of imports.
A set of imports.
- Definition Classes
- DefaultSchemaEmitter → SchemaEmitter
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
packageName(unitName: String): String
The package name referenced in the unit's package declaration.
The package name referenced in the unit's package declaration.
- Definition Classes
- DefaultSchemaEmitter → SchemaEmitter
-
val
schema: Schema
The schema to be transformed.
The schema to be transformed.
- Definition Classes
- DefaultSchemaEmitter → SchemaEmitter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tableCode(table: Table): String
Emits code for the given table.
Emits code for the given table.
- Attributes
- protected
- Definition Classes
- DefaultSchemaEmitter
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toUnit(unitName: String, tables: Seq[Table]): CompilationUnit
Turns a unit name and a sequence of tables into a compilation unit.
Turns a unit name and a sequence of tables into a compilation unit.
- Attributes
- protected
- Definition Classes
- DefaultSchemaEmitter
-
def
toUnit(unitName: String, bodyCode: String): CompilationUnit
Turns a unit name and code body (without the header) into a full compilation unit.
Turns a unit name and code body (without the header) into a full compilation unit.
- Attributes
- protected
- Definition Classes
- DefaultSchemaEmitter
-
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( ... )