- All Implemented Interfaces:
Serializable,XMLAppendable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected GeneratedAnnotationTypeprotected GeneratedSerialVersionUIDprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Integerprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Integerprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected GeneratedTextBlocksprotected Booleanprotected Booleanprotected Booleanprotected VisibilityModifierprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendTo(XMLBuilder builder) booleanA regular expression matching all the types in generated code that should be fully qualified.Generate theGeneratedannotation to indicate jOOQ version used for source code.The serial version UID to be generated in all files.The indentation characters to be used in generated code.Version of JPA specification is to be used to generate version-specific annotations.The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.The newline characters to be used in generated code.Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.NonnullSpecify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.NullableThe print margin to apply to generated Javadoc and other block comments, for automatic line wrapping.Whether to generate String in text block format.The visibility modifier to be used with generated code.inthashCode()Turn off generation of all SQL comments as Javadoc on all objects.Turn off generation of all SQL comments as Javadoc on all attributes.Turn off generation of all SQL comments as Javadoc on all catalogs.Turn off generation of all SQL comments as Javadoc on all columns.Turn off generation of all SQL comments as Javadoc on all embeddables.Turn off generation of all SQL comments as Javadoc on all keys.Turn off generation of all SQL comments as Javadoc on all links.Turn off generation of all SQL comments as Javadoc on all packages.Turn off generation of all SQL comments as Javadoc on all parameters.Turn off generation of all SQL comments as Javadoc on all queues.Turn off generation of all SQL comments as Javadoc on all routines.Turn off generation of all SQL comments as Javadoc on all schemas.Turn off generation of all SQL comments as Javadoc on all sequences.Turn off generation of all SQL comments as Javadoc on all tables.Turn off generation of all SQL comments as Javadoc on all UDTs.Generate theConstructorPropertiesannotation on generated POJOs and/or records.Generate theConstructorPropertiesannotation on generated POJOs (defaults totrueifconstructorPropertiesAnnotationis active).Generate theConstructorPropertiesannotation on generated records (defaults totrueifconstructorPropertiesAnnotationis active).isDaos()Generate DAOs.Generate deprecated code for backwards compatibilityGenerate deprecation annotations on references to unknown data types.Generate embeddable classes.Whether empty catalogs (e.g.Whether empty schemas (e.g.Deprecated.Activate the legacy Scala sealed trait enum emulationGenerate fluent setters in records, POJOs, interfaces.Generate theGeneratedannotation to indicate jOOQ version used for source code.Whether theGeneratedannotation should include thedateattribute.Whether theGeneratedannotation should include the jOOQ version.Turn off generation of global catalog references.Turn off generation of global domain references.Turn off generation of global index references.Turn off generation of global key references.Turn off generation of global database link references.Turn off generation of all global object references.Turn off generation of global queue references.Turn off generation of global routine references.Turn off generation of global schema references.Turn off generation of global sequence references.Turn off generation of global table references.Turn off generation of global UDT references.Generate immutable interfaces.Generate immutable POJOs.Whether implicit join path constructors should be offered as properties in Kotlin.Generate implicit join path constructors on generated tables for outgoing foreign key relationships (to-one relationships)Whether names of unambiguousForeignKeyDefinitionshould be based on the referencedTableDefinition.Generate index information.Deprecated.Generated interfaces to be implemented by records and/or POJOs.A flag indicating whether the INTERVAL type support should be enabled.Modify DefaultGeneratorStrategy behaviour to generate getters and setters in JavaBeans style in records, POJOs, interfaces.Turn off generation of Javadoc on all objects.A flag indicating whether Java 8's java.time types should be used by the source code generator, rather than JDBC's java.sql types.Generate references to the most up to date minor release inConstantsto produce compilation errors if an outdated runtime library is being used.Annotate POJOs and Records with JPA annotations.A flag indicating whether the JSON type support should be enabled.isKeys()Generate Key classes.Generate non-nullable types on interface attributes, where column is not null.Generate non-nullable types on POJO attributes, where column is not null.Generate non-nullable types on Record attributes, where column is not null.Workaround for Kotlin generatingsetX()setters instead ofsetIsX()in byte code for mutable properties calledisX.isLinks()Generate database Link classes.Whether non-nullable items should be annotated with the annotation type specified innonnullAnnotationType.Whether nullable items should be annotated with the annotation type specified innullableAnnotationType.isPojos()Generate POJOs.Generate POJOs as records, when using the JavaGenerator.Generate POJOs as data classes, when using the KotlinGenerator.Generate POJOs as case classes, when using the ScalaGenerator.Generate basic equals() and hashCode() methods in POJOs.Generate basic toString() methods in POJOs.isQueues()Generate Queue classes.Generate TableRecord classes.Generate TableRecord classes that implement Record[N] super typesPrimary key / foreign key relations should be generated and used.Generate Routine classes.Sequence flags should be generated and used.Generate Sequence classes.Generate serializable interfaces.Generate serializable POJOs.Turn off generation of all source code on all object types.Turn off generation of all source code on all views.A flag indicating whether the spatial type support should be enabled.Annotate DAOs with useful spring annotations such as @Repository or @Autowired.Generate an AbstractSpringDAOImpl as a base class for other DAO classes, containing @Transactional annotations, etc.isTables()Generate Table classes.isUdts()Generate UDT classes.Annotate POJOs and Records with JSR-303 validation annotationsGenerate varargs setters for array types for convenience.A flag indicating whether the XML type support should be enabled.voidsetComments(Boolean value) Sets the value of the comments property.voidsetCommentsOnAttributes(Boolean value) Sets the value of the commentsOnAttributes property.voidsetCommentsOnCatalogs(Boolean value) Sets the value of the commentsOnCatalogs property.voidsetCommentsOnColumns(Boolean value) Sets the value of the commentsOnColumns property.voidsetCommentsOnEmbeddables(Boolean value) Sets the value of the commentsOnEmbeddables property.voidsetCommentsOnKeys(Boolean value) Sets the value of the commentsOnKeys property.voidsetCommentsOnLinks(Boolean value) Sets the value of the commentsOnLinks property.voidsetCommentsOnPackages(Boolean value) Sets the value of the commentsOnPackages property.voidsetCommentsOnParameters(Boolean value) Sets the value of the commentsOnParameters property.voidsetCommentsOnQueues(Boolean value) Sets the value of the commentsOnQueues property.voidsetCommentsOnRoutines(Boolean value) Sets the value of the commentsOnRoutines property.voidsetCommentsOnSchemas(Boolean value) Sets the value of the commentsOnSchemas property.voidsetCommentsOnSequences(Boolean value) Sets the value of the commentsOnSequences property.voidsetCommentsOnTables(Boolean value) Sets the value of the commentsOnTables property.voidsetCommentsOnUDTs(Boolean value) Sets the value of the commentsOnUDTs property.voidSets the value of the constructorPropertiesAnnotation property.voidSets the value of the constructorPropertiesAnnotationOnPojos property.voidSets the value of the constructorPropertiesAnnotationOnRecords property.voidSets the value of the daos property.voidsetDeprecated(Boolean value) Sets the value of the deprecated property.voidSets the value of the deprecationOnUnknownTypes property.voidsetEmbeddables(Boolean value) Sets the value of the embeddables property.voidsetEmptyCatalogs(Boolean value) Sets the value of the emptyCatalogs property.voidsetEmptySchemas(Boolean value) Sets the value of the emptySchemas property.voidDeprecated.voidsetFluentSetters(Boolean value) Sets the value of the fluentSetters property.voidsetFullyQualifiedTypes(String value) A regular expression matching all the types in generated code that should be fully qualified.voidsetGeneratedAnnotation(Boolean value) Sets the value of the generatedAnnotation property.voidSets the value of the generatedAnnotationDate property.voidSets the value of the generatedAnnotationJooqVersion property.voidGenerate theGeneratedannotation to indicate jOOQ version used for source code.voidThe serial version UID to be generated in all files.voidSets the value of the globalCatalogReferences property.voidsetGlobalDomainReferences(Boolean value) Sets the value of the globalDomainReferences property.voidsetGlobalIndexReferences(Boolean value) Sets the value of the globalIndexReferences property.voidsetGlobalKeyReferences(Boolean value) Sets the value of the globalKeyReferences property.voidsetGlobalLinkReferences(Boolean value) Sets the value of the globalLinkReferences property.voidsetGlobalObjectReferences(Boolean value) Sets the value of the globalObjectReferences property.voidsetGlobalQueueReferences(Boolean value) Sets the value of the globalQueueReferences property.voidSets the value of the globalRoutineReferences property.voidsetGlobalSchemaReferences(Boolean value) Sets the value of the globalSchemaReferences property.voidSets the value of the globalSequenceReferences property.voidsetGlobalTableReferences(Boolean value) Sets the value of the globalTableReferences property.voidsetGlobalUDTReferences(Boolean value) Sets the value of the globalUDTReferences property.voidsetImmutableInterfaces(Boolean value) Sets the value of the immutableInterfaces property.voidsetImmutablePojos(Boolean value) Sets the value of the immutablePojos property.voidSets the value of the implicitJoinPathsAsKotlinProperties property.voidsetImplicitJoinPathsToOne(Boolean value) Sets the value of the implicitJoinPathsToOne property.voidSets the value of the implicitJoinPathsUseTableNameForUnambiguousFKs property.voidsetIndentation(String value) The indentation characters to be used in generated code.voidsetIndexes(Boolean value) Sets the value of the indexes property.voidsetInstanceFields(Boolean value) Deprecated.voidsetInterfaces(Boolean value) Sets the value of the interfaces property.voidsetIntervalTypes(Boolean value) Sets the value of the intervalTypes property.voidSets the value of the javaBeansGettersAndSetters property.voidsetJavadoc(Boolean value) Sets the value of the javadoc property.voidsetJavaTimeTypes(Boolean value) Sets the value of the javaTimeTypes property.voidsetJooqVersionReference(Boolean value) Sets the value of the jooqVersionReference property.voidsetJpaAnnotations(Boolean value) Sets the value of the jpaAnnotations property.voidsetJpaVersion(String value) Version of JPA specification is to be used to generate version-specific annotations.voidsetJsonTypes(Boolean value) Sets the value of the jsonTypes property.voidSets the value of the keys property.voidSets the value of the kotlinNotNullInterfaceAttributes property.voidSets the value of the kotlinNotNullPojoAttributes property.voidSets the value of the kotlinNotNullRecordAttributes property.voidSets the value of the kotlinSetterJvmNameAnnotationsOnIsPrefix property.voidSets the value of the links property.voidThe maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.voidsetNewline(String value) The newline characters to be used in generated code.voidsetNonnullAnnotation(Boolean value) Sets the value of the nonnullAnnotation property.voidsetNonnullAnnotationType(String value) Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.NonnullvoidsetNullableAnnotation(Boolean value) Sets the value of the nullableAnnotation property.voidsetNullableAnnotationType(String value) Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.NullablevoidSets the value of the pojos property.voidSets the value of the pojosAsJavaRecordClasses property.voidSets the value of the pojosAsKotlinDataClasses property.voidSets the value of the pojosAsScalaCaseClasses property.voidsetPojosEqualsAndHashCode(Boolean value) Sets the value of the pojosEqualsAndHashCode property.voidsetPojosToString(Boolean value) Sets the value of the pojosToString property.voidThe print margin to apply to generated Javadoc and other block comments, for automatic line wrapping.voidSets the value of the queues property.voidsetRecords(Boolean value) Sets the value of the records property.voidSets the value of the recordsImplementingRecordN property.voidsetRelations(Boolean value) Sets the value of the relations property.voidsetRoutines(Boolean value) Sets the value of the routines property.voidsetSequenceFlags(Boolean value) Sets the value of the sequenceFlags property.voidsetSequences(Boolean value) Sets the value of the sequences property.voidsetSerializableInterfaces(Boolean value) Sets the value of the serializableInterfaces property.voidsetSerializablePojos(Boolean value) Sets the value of the serializablePojos property.voidsetSources(Boolean value) Sets the value of the sources property.voidsetSourcesOnViews(Boolean value) Sets the value of the sourcesOnViews property.voidsetSpatialTypes(Boolean value) Sets the value of the spatialTypes property.voidsetSpringAnnotations(Boolean value) Sets the value of the springAnnotations property.voidsetSpringDao(Boolean value) Sets the value of the springDao property.voidSets the value of the tables property.voidsetTextBlocks(GeneratedTextBlocks value) Whether to generate String in text block format.voidSets the value of the udts property.voidsetValidationAnnotations(Boolean value) Sets the value of the validationAnnotations property.voidsetVarargSetters(Boolean value) Sets the value of the varargSetters property.voidThe visibility modifier to be used with generated code.voidsetXmlTypes(Boolean value) Sets the value of the xmlTypes property.toString()withComments(Boolean value) withCommentsOnAttributes(Boolean value) withCommentsOnCatalogs(Boolean value) withCommentsOnColumns(Boolean value) withCommentsOnEmbeddables(Boolean value) withCommentsOnKeys(Boolean value) withCommentsOnLinks(Boolean value) withCommentsOnPackages(Boolean value) withCommentsOnParameters(Boolean value) withCommentsOnQueues(Boolean value) withCommentsOnRoutines(Boolean value) withCommentsOnSchemas(Boolean value) withCommentsOnSequences(Boolean value) withCommentsOnTables(Boolean value) withCommentsOnUDTs(Boolean value) withDeprecated(Boolean value) withEmbeddables(Boolean value) withEmptyCatalogs(Boolean value) withEmptySchemas(Boolean value) withFluentSetters(Boolean value) withFullyQualifiedTypes(String value) A regular expression matching all the types in generated code that should be fully qualified.withGeneratedAnnotation(Boolean value) Generate theGeneratedannotation to indicate jOOQ version used for source code.The serial version UID to be generated in all files.withGlobalIndexReferences(Boolean value) withGlobalKeyReferences(Boolean value) withGlobalLinkReferences(Boolean value) withGlobalQueueReferences(Boolean value) withGlobalTableReferences(Boolean value) withGlobalUDTReferences(Boolean value) withImmutableInterfaces(Boolean value) withImmutablePojos(Boolean value) withIndentation(String value) The indentation characters to be used in generated code.withIndexes(Boolean value) withInstanceFields(Boolean value) withInterfaces(Boolean value) withIntervalTypes(Boolean value) withJavadoc(Boolean value) withJavaTimeTypes(Boolean value) withJooqVersionReference(Boolean value) withJpaAnnotations(Boolean value) withJpaVersion(String value) Version of JPA specification is to be used to generate version-specific annotations.withJsonTypes(Boolean value) The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.withNewline(String value) The newline characters to be used in generated code.withNonnullAnnotation(Boolean value) withNonnullAnnotationType(String value) Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.NonnullwithNullableAnnotation(Boolean value) withNullableAnnotationType(String value) Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.NullablewithPojosToString(Boolean value) The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping.withQueues(Boolean value) withRecords(Boolean value) withRelations(Boolean value) withRoutines(Boolean value) withSequenceFlags(Boolean value) withSequences(Boolean value) withSerializablePojos(Boolean value) withSources(Boolean value) withSourcesOnViews(Boolean value) withSpatialTypes(Boolean value) withSpringAnnotations(Boolean value) withSpringDao(Boolean value) withTables(Boolean value) Whether to generate String in text block format.withValidationAnnotations(Boolean value) withVarargSetters(Boolean value) The visibility modifier to be used with generated code.withXmlTypes(Boolean value)
-
Field Details
-
indexes
-
relations
-
sequenceFlags
-
implicitJoinPathsToOne
-
implicitJoinPathsUseTableNameForUnambiguousFKs
-
implicitJoinPathsAsKotlinProperties
-
deprecated
-
deprecationOnUnknownTypes
-
instanceFields
-
visibilityModifier
-
generatedAnnotation
-
generatedAnnotationType
-
generatedAnnotationDate
-
generatedAnnotationJooqVersion
-
nonnullAnnotation
-
nonnullAnnotationType
-
nullableAnnotation
-
nullableAnnotationType
-
constructorPropertiesAnnotation
-
constructorPropertiesAnnotationOnPojos
-
constructorPropertiesAnnotationOnRecords
-
routines
-
sequences
-
udts
-
queues
-
links
-
keys
-
tables
-
embeddables
-
records
-
recordsImplementingRecordN
-
enumsAsScalaSealedTraits
-
pojos
-
pojosEqualsAndHashCode
-
pojosToString
-
pojosAsJavaRecordClasses
-
pojosAsScalaCaseClasses
-
pojosAsKotlinDataClasses
-
immutablePojos
-
serializablePojos
-
interfaces
-
immutableInterfaces
-
serializableInterfaces
-
daos
-
jooqVersionReference
-
jpaAnnotations
-
jpaVersion
-
validationAnnotations
-
springAnnotations
-
springDao
-
kotlinSetterJvmNameAnnotationsOnIsPrefix
-
kotlinNotNullPojoAttributes
-
kotlinNotNullRecordAttributes
-
kotlinNotNullInterfaceAttributes
-
globalObjectReferences
-
globalCatalogReferences
-
globalSchemaReferences
-
globalDomainReferences
-
globalTableReferences
-
globalSequenceReferences
-
globalUDTReferences
-
globalRoutineReferences
-
globalQueueReferences
-
globalLinkReferences
-
globalKeyReferences
-
globalIndexReferences
-
javadoc
-
comments
-
commentsOnCatalogs
-
commentsOnSchemas
-
commentsOnTables
-
commentsOnColumns
-
commentsOnEmbeddables
-
commentsOnUDTs
-
commentsOnAttributes
-
commentsOnPackages
-
commentsOnRoutines
-
commentsOnParameters
-
commentsOnSequences
-
commentsOnLinks
-
commentsOnQueues
-
commentsOnKeys
-
sources
-
sourcesOnViews
-
fluentSetters
-
javaBeansGettersAndSetters
-
varargSetters
-
generatedSerialVersionUID
-
maxMembersPerInitialiser
-
fullyQualifiedTypes
-
emptyCatalogs
-
emptySchemas
-
javaTimeTypes
-
spatialTypes
-
xmlTypes
-
jsonTypes
-
intervalTypes
-
newline
-
indentation
-
printMarginForBlockComment
-
textBlocks
-
-
Constructor Details
-
Generate
public Generate()
-
-
Method Details
-
isIndexes
Generate index information.- Returns:
- possible object is
Boolean
-
setIndexes
Sets the value of the indexes property.- Parameters:
value- allowed object isBoolean
-
isRelations
Primary key / foreign key relations should be generated and used. This is a prerequisite for various advanced features- Returns:
- possible object is
Boolean
-
setRelations
Sets the value of the relations property.- Parameters:
value- allowed object isBoolean
-
isSequenceFlags
Sequence flags should be generated and used.- Returns:
- possible object is
Boolean
-
setSequenceFlags
Sets the value of the sequenceFlags property.- Parameters:
value- allowed object isBoolean
-
isImplicitJoinPathsToOne
Generate implicit join path constructors on generated tables for outgoing foreign key relationships (to-one relationships)- Returns:
- possible object is
Boolean
-
setImplicitJoinPathsToOne
Sets the value of the implicitJoinPathsToOne property.- Parameters:
value- allowed object isBoolean
-
isImplicitJoinPathsUseTableNameForUnambiguousFKs
Whether names of unambiguousForeignKeyDefinitionshould be based on the referencedTableDefinition.When a child table has only one
ForeignKeyDefinitiontowards a parent table, then that path is "unambiguous." In that case, someimplementations may choose to use the parent table'sinvalid @link
GeneratorStrategyTableDefinitionfor implementations of, instead of theinvalid @link
org.jooq.codegen.GeneratorStrategy#getJavaMethodName(Definition)ForeignKeyDefinition, e.g. for implicit join paths.This flag allows for turning off this default behaviour.
- Returns:
- possible object is
Boolean
-
setImplicitJoinPathsUseTableNameForUnambiguousFKs
Sets the value of the implicitJoinPathsUseTableNameForUnambiguousFKs property.- Parameters:
value- allowed object isBoolean
-
isImplicitJoinPathsAsKotlinProperties
Whether implicit join path constructors should be offered as properties in Kotlin.- Returns:
- possible object is
Boolean
-
setImplicitJoinPathsAsKotlinProperties
Sets the value of the implicitJoinPathsAsKotlinProperties property.- Parameters:
value- allowed object isBoolean
-
isDeprecated
Generate deprecated code for backwards compatibility- Returns:
- possible object is
Boolean
-
setDeprecated
Sets the value of the deprecated property.- Parameters:
value- allowed object isBoolean
-
isDeprecationOnUnknownTypes
Generate deprecation annotations on references to unknown data types. This helps to identify columns, attributes, and parameters, which may not be usable through jOOQ API, without adding custom data type bindings to them.- Returns:
- possible object is
Boolean
-
setDeprecationOnUnknownTypes
Sets the value of the deprecationOnUnknownTypes property.- Parameters:
value- allowed object isBoolean
-
isInstanceFields
Deprecated.- Returns:
- possible object is
Boolean
-
setInstanceFields
Deprecated.Sets the value of the instanceFields property.- Parameters:
value- allowed object isBoolean
-
getVisibilityModifier
The visibility modifier to be used with generated code. -
setVisibilityModifier
The visibility modifier to be used with generated code. -
isGeneratedAnnotation
Generate theGeneratedannotation to indicate jOOQ version used for source code.- Returns:
- possible object is
Boolean
-
setGeneratedAnnotation
Sets the value of the generatedAnnotation property.- Parameters:
value- allowed object isBoolean
-
getGeneratedAnnotationType
Generate theGeneratedannotation to indicate jOOQ version used for source code. -
setGeneratedAnnotationType
Generate theGeneratedannotation to indicate jOOQ version used for source code. -
isGeneratedAnnotationDate
Whether theGeneratedannotation should include thedateattribute.- Returns:
- possible object is
Boolean
-
setGeneratedAnnotationDate
Sets the value of the generatedAnnotationDate property.- Parameters:
value- allowed object isBoolean
-
isGeneratedAnnotationJooqVersion
Whether theGeneratedannotation should include the jOOQ version.- Returns:
- possible object is
Boolean
-
setGeneratedAnnotationJooqVersion
Sets the value of the generatedAnnotationJooqVersion property.- Parameters:
value- allowed object isBoolean
-
isNonnullAnnotation
Whether non-nullable items should be annotated with the annotation type specified innonnullAnnotationType. In SQL and by consequence in jOOQ, non-nullability cannot be guaranteed statically. There may still be some cases (e.g. after unions, outer joins, etc.) where a normally non-null value turns out to be null!- Returns:
- possible object is
Boolean
-
setNonnullAnnotation
Sets the value of the nonnullAnnotation property.- Parameters:
value- allowed object isBoolean
-
getNonnullAnnotationType
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.Nonnull -
setNonnullAnnotationType
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.Nonnull -
isNullableAnnotation
Whether nullable items should be annotated with the annotation type specified innullableAnnotationType. UnlikenonnullAnnotation, nullability can be guaranteed as in SQL, and by consequence in jOOQ, every column expression can be made nullable using some SQL operation.- Returns:
- possible object is
Boolean
-
setNullableAnnotation
Sets the value of the nullableAnnotation property.- Parameters:
value- allowed object isBoolean
-
getNullableAnnotationType
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.Nullable -
setNullableAnnotationType
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.Nullable -
isConstructorPropertiesAnnotation
Generate theConstructorPropertiesannotation on generated POJOs and/or records.- Returns:
- possible object is
Boolean
-
setConstructorPropertiesAnnotation
Sets the value of the constructorPropertiesAnnotation property.- Parameters:
value- allowed object isBoolean
-
isConstructorPropertiesAnnotationOnPojos
Generate theConstructorPropertiesannotation on generated POJOs (defaults totrueifconstructorPropertiesAnnotationis active).- Returns:
- possible object is
Boolean
-
setConstructorPropertiesAnnotationOnPojos
Sets the value of the constructorPropertiesAnnotationOnPojos property.- Parameters:
value- allowed object isBoolean
-
isConstructorPropertiesAnnotationOnRecords
Generate theConstructorPropertiesannotation on generated records (defaults totrueifconstructorPropertiesAnnotationis active).- Returns:
- possible object is
Boolean
-
setConstructorPropertiesAnnotationOnRecords
Sets the value of the constructorPropertiesAnnotationOnRecords property.- Parameters:
value- allowed object isBoolean
-
isRoutines
Generate Routine classes.- Returns:
- possible object is
Boolean
-
setRoutines
Sets the value of the routines property.- Parameters:
value- allowed object isBoolean
-
isSequences
Generate Sequence classes.- Returns:
- possible object is
Boolean
-
setSequences
Sets the value of the sequences property.- Parameters:
value- allowed object isBoolean
-
isUdts
Generate UDT classes.- Returns:
- possible object is
Boolean
-
setUdts
Sets the value of the udts property.- Parameters:
value- allowed object isBoolean
-
isQueues
Generate Queue classes.- Returns:
- possible object is
Boolean
-
setQueues
Sets the value of the queues property.- Parameters:
value- allowed object isBoolean
-
isLinks
Generate database Link classes.- Returns:
- possible object is
Boolean
-
setLinks
Sets the value of the links property.- Parameters:
value- allowed object isBoolean
-
isKeys
Generate Key classes.- Returns:
- possible object is
Boolean
-
setKeys
Sets the value of the keys property.- Parameters:
value- allowed object isBoolean
-
isTables
Generate Table classes.- Returns:
- possible object is
Boolean
-
setTables
Sets the value of the tables property.- Parameters:
value- allowed object isBoolean
-
isEmbeddables
Generate embeddable classes.- Returns:
- possible object is
Boolean
-
setEmbeddables
Sets the value of the embeddables property.- Parameters:
value- allowed object isBoolean
-
isRecords
Generate TableRecord classes.- Returns:
- possible object is
Boolean
-
setRecords
Sets the value of the records property.- Parameters:
value- allowed object isBoolean
-
isRecordsImplementingRecordN
Generate TableRecord classes that implement Record[N] super types- Returns:
- possible object is
Boolean
-
setRecordsImplementingRecordN
Sets the value of the recordsImplementingRecordN property.- Parameters:
value- allowed object isBoolean
-
isEnumsAsScalaSealedTraits
Deprecated.Activate the legacy Scala sealed trait enum emulation- Returns:
- possible object is
Boolean
-
setEnumsAsScalaSealedTraits
Deprecated.Sets the value of the enumsAsScalaSealedTraits property.- Parameters:
value- allowed object isBoolean
-
isPojos
Generate POJOs.- Returns:
- possible object is
Boolean
-
setPojos
Sets the value of the pojos property.- Parameters:
value- allowed object isBoolean
-
isPojosEqualsAndHashCode
Generate basic equals() and hashCode() methods in POJOs.- Returns:
- possible object is
Boolean
-
setPojosEqualsAndHashCode
Sets the value of the pojosEqualsAndHashCode property.- Parameters:
value- allowed object isBoolean
-
isPojosToString
Generate basic toString() methods in POJOs.- Returns:
- possible object is
Boolean
-
setPojosToString
Sets the value of the pojosToString property.- Parameters:
value- allowed object isBoolean
-
isPojosAsJavaRecordClasses
Generate POJOs as records, when using the JavaGenerator.- Returns:
- possible object is
Boolean
-
setPojosAsJavaRecordClasses
Sets the value of the pojosAsJavaRecordClasses property.- Parameters:
value- allowed object isBoolean
-
isPojosAsScalaCaseClasses
Generate POJOs as case classes, when using the ScalaGenerator.- Returns:
- possible object is
Boolean
-
setPojosAsScalaCaseClasses
Sets the value of the pojosAsScalaCaseClasses property.- Parameters:
value- allowed object isBoolean
-
isPojosAsKotlinDataClasses
Generate POJOs as data classes, when using the KotlinGenerator.- Returns:
- possible object is
Boolean
-
setPojosAsKotlinDataClasses
Sets the value of the pojosAsKotlinDataClasses property.- Parameters:
value- allowed object isBoolean
-
isImmutablePojos
Generate immutable POJOs.- Returns:
- possible object is
Boolean
-
setImmutablePojos
Sets the value of the immutablePojos property.- Parameters:
value- allowed object isBoolean
-
isSerializablePojos
Generate serializable POJOs.- Returns:
- possible object is
Boolean
-
setSerializablePojos
Sets the value of the serializablePojos property.- Parameters:
value- allowed object isBoolean
-
isInterfaces
Generated interfaces to be implemented by records and/or POJOs.- Returns:
- possible object is
Boolean
-
setInterfaces
Sets the value of the interfaces property.- Parameters:
value- allowed object isBoolean
-
isImmutableInterfaces
Generate immutable interfaces.- Returns:
- possible object is
Boolean
-
setImmutableInterfaces
Sets the value of the immutableInterfaces property.- Parameters:
value- allowed object isBoolean
-
isSerializableInterfaces
Generate serializable interfaces.- Returns:
- possible object is
Boolean
-
setSerializableInterfaces
Sets the value of the serializableInterfaces property.- Parameters:
value- allowed object isBoolean
-
isDaos
Generate DAOs.- Returns:
- possible object is
Boolean
-
setDaos
Sets the value of the daos property.- Parameters:
value- allowed object isBoolean
-
isJooqVersionReference
Generate references to the most up to date minor release inConstantsto produce compilation errors if an outdated runtime library is being used.- Returns:
- possible object is
Boolean
-
setJooqVersionReference
Sets the value of the jooqVersionReference property.- Parameters:
value- allowed object isBoolean
-
isJpaAnnotations
Annotate POJOs and Records with JPA annotations.- Returns:
- possible object is
Boolean
-
setJpaAnnotations
Sets the value of the jpaAnnotations property.- Parameters:
value- allowed object isBoolean
-
getJpaVersion
Version of JPA specification is to be used to generate version-specific annotations. If it is omitted, the latest version is used by default. -
setJpaVersion
Version of JPA specification is to be used to generate version-specific annotations. If it is omitted, the latest version is used by default. -
isValidationAnnotations
Annotate POJOs and Records with JSR-303 validation annotations- Returns:
- possible object is
Boolean
-
setValidationAnnotations
Sets the value of the validationAnnotations property.- Parameters:
value- allowed object isBoolean
-
isSpringAnnotations
Annotate DAOs with useful spring annotations such as @Repository or @Autowired.- Returns:
- possible object is
Boolean
-
setSpringAnnotations
Sets the value of the springAnnotations property.- Parameters:
value- allowed object isBoolean
-
isSpringDao
Generate an AbstractSpringDAOImpl as a base class for other DAO classes, containing @Transactional annotations, etc.- Returns:
- possible object is
Boolean
-
setSpringDao
Sets the value of the springDao property.- Parameters:
value- allowed object isBoolean
-
isKotlinSetterJvmNameAnnotationsOnIsPrefix
Workaround for Kotlin generatingsetX()setters instead ofsetIsX()in byte code for mutable properties calledisX.- Returns:
- possible object is
Boolean
-
setKotlinSetterJvmNameAnnotationsOnIsPrefix
Sets the value of the kotlinSetterJvmNameAnnotationsOnIsPrefix property.- Parameters:
value- allowed object isBoolean
-
isKotlinNotNullPojoAttributes
Generate non-nullable types on POJO attributes, where column is not null.- Returns:
- possible object is
Boolean
-
setKotlinNotNullPojoAttributes
Sets the value of the kotlinNotNullPojoAttributes property.- Parameters:
value- allowed object isBoolean
-
isKotlinNotNullRecordAttributes
Generate non-nullable types on Record attributes, where column is not null.- Returns:
- possible object is
Boolean
-
setKotlinNotNullRecordAttributes
Sets the value of the kotlinNotNullRecordAttributes property.- Parameters:
value- allowed object isBoolean
-
isKotlinNotNullInterfaceAttributes
Generate non-nullable types on interface attributes, where column is not null.- Returns:
- possible object is
Boolean
-
setKotlinNotNullInterfaceAttributes
Sets the value of the kotlinNotNullInterfaceAttributes property.- Parameters:
value- allowed object isBoolean
-
isGlobalObjectReferences
Turn off generation of all global object references.- Returns:
- possible object is
Boolean
-
setGlobalObjectReferences
Sets the value of the globalObjectReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalCatalogReferences
Turn off generation of global catalog references.- Returns:
- possible object is
Boolean
-
setGlobalCatalogReferences
Sets the value of the globalCatalogReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalSchemaReferences
Turn off generation of global schema references.- Returns:
- possible object is
Boolean
-
setGlobalSchemaReferences
Sets the value of the globalSchemaReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalDomainReferences
Turn off generation of global domain references.- Returns:
- possible object is
Boolean
-
setGlobalDomainReferences
Sets the value of the globalDomainReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalTableReferences
Turn off generation of global table references.- Returns:
- possible object is
Boolean
-
setGlobalTableReferences
Sets the value of the globalTableReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalSequenceReferences
Turn off generation of global sequence references.- Returns:
- possible object is
Boolean
-
setGlobalSequenceReferences
Sets the value of the globalSequenceReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalUDTReferences
Turn off generation of global UDT references.- Returns:
- possible object is
Boolean
-
setGlobalUDTReferences
Sets the value of the globalUDTReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalRoutineReferences
Turn off generation of global routine references.- Returns:
- possible object is
Boolean
-
setGlobalRoutineReferences
Sets the value of the globalRoutineReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalQueueReferences
Turn off generation of global queue references.- Returns:
- possible object is
Boolean
-
setGlobalQueueReferences
Sets the value of the globalQueueReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalLinkReferences
Turn off generation of global database link references.- Returns:
- possible object is
Boolean
-
setGlobalLinkReferences
Sets the value of the globalLinkReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalKeyReferences
Turn off generation of global key references.- Returns:
- possible object is
Boolean
-
setGlobalKeyReferences
Sets the value of the globalKeyReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalIndexReferences
Turn off generation of global index references.- Returns:
- possible object is
Boolean
-
setGlobalIndexReferences
Sets the value of the globalIndexReferences property.- Parameters:
value- allowed object isBoolean
-
isJavadoc
Turn off generation of Javadoc on all objects.- Returns:
- possible object is
Boolean
-
setJavadoc
Sets the value of the javadoc property.- Parameters:
value- allowed object isBoolean
-
isComments
Turn off generation of all SQL comments as Javadoc on all objects.- Returns:
- possible object is
Boolean
-
setComments
Sets the value of the comments property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnCatalogs
Turn off generation of all SQL comments as Javadoc on all catalogs.- Returns:
- possible object is
Boolean
-
setCommentsOnCatalogs
Sets the value of the commentsOnCatalogs property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnSchemas
Turn off generation of all SQL comments as Javadoc on all schemas.- Returns:
- possible object is
Boolean
-
setCommentsOnSchemas
Sets the value of the commentsOnSchemas property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnTables
Turn off generation of all SQL comments as Javadoc on all tables.- Returns:
- possible object is
Boolean
-
setCommentsOnTables
Sets the value of the commentsOnTables property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnColumns
Turn off generation of all SQL comments as Javadoc on all columns.- Returns:
- possible object is
Boolean
-
setCommentsOnColumns
Sets the value of the commentsOnColumns property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnEmbeddables
Turn off generation of all SQL comments as Javadoc on all embeddables.- Returns:
- possible object is
Boolean
-
setCommentsOnEmbeddables
Sets the value of the commentsOnEmbeddables property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnUDTs
Turn off generation of all SQL comments as Javadoc on all UDTs.- Returns:
- possible object is
Boolean
-
setCommentsOnUDTs
Sets the value of the commentsOnUDTs property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnAttributes
Turn off generation of all SQL comments as Javadoc on all attributes.- Returns:
- possible object is
Boolean
-
setCommentsOnAttributes
Sets the value of the commentsOnAttributes property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnPackages
Turn off generation of all SQL comments as Javadoc on all packages.- Returns:
- possible object is
Boolean
-
setCommentsOnPackages
Sets the value of the commentsOnPackages property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnRoutines
Turn off generation of all SQL comments as Javadoc on all routines.- Returns:
- possible object is
Boolean
-
setCommentsOnRoutines
Sets the value of the commentsOnRoutines property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnParameters
Turn off generation of all SQL comments as Javadoc on all parameters.- Returns:
- possible object is
Boolean
-
setCommentsOnParameters
Sets the value of the commentsOnParameters property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnSequences
Turn off generation of all SQL comments as Javadoc on all sequences.- Returns:
- possible object is
Boolean
-
setCommentsOnSequences
Sets the value of the commentsOnSequences property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnLinks
Turn off generation of all SQL comments as Javadoc on all links.- Returns:
- possible object is
Boolean
-
setCommentsOnLinks
Sets the value of the commentsOnLinks property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnQueues
Turn off generation of all SQL comments as Javadoc on all queues.- Returns:
- possible object is
Boolean
-
setCommentsOnQueues
Sets the value of the commentsOnQueues property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnKeys
Turn off generation of all SQL comments as Javadoc on all keys.- Returns:
- possible object is
Boolean
-
setCommentsOnKeys
Sets the value of the commentsOnKeys property.- Parameters:
value- allowed object isBoolean
-
isSources
Turn off generation of all source code on all object types.- Returns:
- possible object is
Boolean
-
setSources
Sets the value of the sources property.- Parameters:
value- allowed object isBoolean
-
isSourcesOnViews
Turn off generation of all source code on all views.- Returns:
- possible object is
Boolean
-
setSourcesOnViews
Sets the value of the sourcesOnViews property.- Parameters:
value- allowed object isBoolean
-
isFluentSetters
Generate fluent setters in records, POJOs, interfaces.- Returns:
- possible object is
Boolean
-
setFluentSetters
Sets the value of the fluentSetters property.- Parameters:
value- allowed object isBoolean
-
isJavaBeansGettersAndSetters
Modify DefaultGeneratorStrategy behaviour to generate getters and setters in JavaBeans style in records, POJOs, interfaces.If this flag is set to false, then:
- Column name : X_INDEX
- Attribute name: xIndex
- Getter name : getXIndex()
- Setter name : setXIndex()
If this flag is set to true, then:
- Getter name : getxIndex()
- Setter name : setxIndex()
Custom GeneratorStrategy implementations are unaffected
- Returns:
- possible object is
Boolean
-
setJavaBeansGettersAndSetters
Sets the value of the javaBeansGettersAndSetters property.- Parameters:
value- allowed object isBoolean
-
isVarargSetters
Generate varargs setters for array types for convenience.This may lead to compilation warnings in current Java versions.
- Returns:
- possible object is
Boolean
-
setVarargSetters
Sets the value of the varargSetters property.- Parameters:
value- allowed object isBoolean
-
getGeneratedSerialVersionUID
The serial version UID to be generated in all files. -
setGeneratedSerialVersionUID
The serial version UID to be generated in all files. -
getMaxMembersPerInitialiser
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code. -
setMaxMembersPerInitialiser
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code. -
getFullyQualifiedTypes
A regular expression matching all the types in generated code that should be fully qualified.This can be useful if you have a database object that generates a String class, and you want to avoid naming clashes with the java.lang package by specifying
java\.lang\..* -
setFullyQualifiedTypes
A regular expression matching all the types in generated code that should be fully qualified.This can be useful if you have a database object that generates a String class, and you want to avoid naming clashes with the java.lang package by specifying
java\.lang\..* -
isEmptyCatalogs
Whether empty catalogs (e.g. empty because ofconfigurations) should still be generated. - Returns:
- possible object is
Boolean
-
setEmptyCatalogs
Sets the value of the emptyCatalogs property.- Parameters:
value- allowed object isBoolean
-
isEmptySchemas
Whether empty schemas (e.g. empty because ofconfigurations) should still be generated. - Returns:
- possible object is
Boolean
-
setEmptySchemas
Sets the value of the emptySchemas property.- Parameters:
value- allowed object isBoolean
-
isJavaTimeTypes
A flag indicating whether Java 8's java.time types should be used by the source code generator, rather than JDBC's java.sql types.This flag is ignored in the commercial Java 6 distribution of jOOQ 3.9+
- Returns:
- possible object is
Boolean
-
setJavaTimeTypes
Sets the value of the javaTimeTypes property.- Parameters:
value- allowed object isBoolean
-
isSpatialTypes
A flag indicating whether the spatial type support should be enabled.- Returns:
- possible object is
Boolean
-
setSpatialTypes
Sets the value of the spatialTypes property.- Parameters:
value- allowed object isBoolean
-
isXmlTypes
A flag indicating whether the XML type support should be enabled.- Returns:
- possible object is
Boolean
-
setXmlTypes
Sets the value of the xmlTypes property.- Parameters:
value- allowed object isBoolean
-
isJsonTypes
A flag indicating whether the JSON type support should be enabled.- Returns:
- possible object is
Boolean
-
setJsonTypes
Sets the value of the jsonTypes property.- Parameters:
value- allowed object isBoolean
-
isIntervalTypes
A flag indicating whether the INTERVAL type support should be enabled.- Returns:
- possible object is
Boolean
-
setIntervalTypes
Sets the value of the intervalTypes property.- Parameters:
value- allowed object isBoolean
-
getNewline
The newline characters to be used in generated code. Whitespace characters can be used, e.g. \n, \r\n -
setNewline
The newline characters to be used in generated code. Whitespace characters can be used, e.g. \n, \r\n -
getIndentation
The indentation characters to be used in generated code. If unspecified, an idiomatic default indentation of the language will be used (4 spaces in Java, 2 spaces in Scala). Whitespace characters can be used, e.g. \t -
setIndentation
The indentation characters to be used in generated code. If unspecified, an idiomatic default indentation of the language will be used (4 spaces in Java, 2 spaces in Scala). Whitespace characters can be used, e.g. \t -
getPrintMarginForBlockComment
The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping. The feature is turned off if the print margin is0. -
setPrintMarginForBlockComment
The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping. The feature is turned off if the print margin is0. -
getTextBlocks
Whether to generate String in text block format. -
setTextBlocks
Whether to generate String in text block format. -
withIndexes
-
withRelations
-
withSequenceFlags
-
withImplicitJoinPathsToOne
-
withImplicitJoinPathsUseTableNameForUnambiguousFKs
-
withImplicitJoinPathsAsKotlinProperties
-
withDeprecated
-
withDeprecationOnUnknownTypes
-
withInstanceFields
-
withVisibilityModifier
The visibility modifier to be used with generated code. -
withGeneratedAnnotation
-
withGeneratedAnnotationType
Generate theGeneratedannotation to indicate jOOQ version used for source code. -
withGeneratedAnnotationDate
-
withGeneratedAnnotationJooqVersion
-
withNonnullAnnotation
-
withNonnullAnnotationType
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.Nonnull -
withNullableAnnotation
-
withNullableAnnotationType
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305type.invalid @link
javax.annotation.Nullable -
withConstructorPropertiesAnnotation
-
withConstructorPropertiesAnnotationOnPojos
-
withConstructorPropertiesAnnotationOnRecords
-
withRoutines
-
withSequences
-
withUdts
-
withQueues
-
withLinks
-
withKeys
-
withTables
-
withEmbeddables
-
withRecords
-
withRecordsImplementingRecordN
-
withEnumsAsScalaSealedTraits
-
withPojos
-
withPojosEqualsAndHashCode
-
withPojosToString
-
withPojosAsJavaRecordClasses
-
withPojosAsScalaCaseClasses
-
withPojosAsKotlinDataClasses
-
withImmutablePojos
-
withSerializablePojos
-
withInterfaces
-
withImmutableInterfaces
-
withSerializableInterfaces
-
withDaos
-
withJooqVersionReference
-
withJpaAnnotations
-
withJpaVersion
Version of JPA specification is to be used to generate version-specific annotations. If it is omitted, the latest version is used by default. -
withValidationAnnotations
-
withSpringAnnotations
-
withSpringDao
-
withKotlinSetterJvmNameAnnotationsOnIsPrefix
-
withKotlinNotNullPojoAttributes
-
withKotlinNotNullRecordAttributes
-
withKotlinNotNullInterfaceAttributes
-
withGlobalObjectReferences
-
withGlobalCatalogReferences
-
withGlobalSchemaReferences
-
withGlobalDomainReferences
-
withGlobalTableReferences
-
withGlobalSequenceReferences
-
withGlobalUDTReferences
-
withGlobalRoutineReferences
-
withGlobalQueueReferences
-
withGlobalLinkReferences
-
withGlobalKeyReferences
-
withGlobalIndexReferences
-
withJavadoc
-
withComments
-
withCommentsOnCatalogs
-
withCommentsOnSchemas
-
withCommentsOnTables
-
withCommentsOnColumns
-
withCommentsOnEmbeddables
-
withCommentsOnUDTs
-
withCommentsOnAttributes
-
withCommentsOnPackages
-
withCommentsOnRoutines
-
withCommentsOnParameters
-
withCommentsOnSequences
-
withCommentsOnLinks
-
withCommentsOnQueues
-
withCommentsOnKeys
-
withSources
-
withSourcesOnViews
-
withFluentSetters
-
withJavaBeansGettersAndSetters
-
withVarargSetters
-
withGeneratedSerialVersionUID
The serial version UID to be generated in all files. -
withMaxMembersPerInitialiser
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code. -
withFullyQualifiedTypes
A regular expression matching all the types in generated code that should be fully qualified.This can be useful if you have a database object that generates a String class, and you want to avoid naming clashes with the java.lang package by specifying
java\.lang\..* -
withEmptyCatalogs
-
withEmptySchemas
-
withJavaTimeTypes
-
withSpatialTypes
-
withXmlTypes
-
withJsonTypes
-
withIntervalTypes
-
withNewline
The newline characters to be used in generated code. Whitespace characters can be used, e.g. \n, \r\n -
withIndentation
The indentation characters to be used in generated code. If unspecified, an idiomatic default indentation of the language will be used (4 spaces in Java, 2 spaces in Scala). Whitespace characters can be used, e.g. \t -
withPrintMarginForBlockComment
The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping. The feature is turned off if the print margin is0. -
withTextBlocks
Whether to generate String in text block format. -
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-