- java.lang.Object
-
- org.jooq.meta.jaxb.Generate
-
- All Implemented Interfaces:
Serializable,XMLAppendable
public class Generate extends Object implements Serializable, XMLAppendable
Options strictly related to generated code.- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Generate()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidappendTo(XMLBuilder builder)booleanequals(Object that)StringgetFullyQualifiedTypes()A regular expression matching all the types in generated code that should be fully qualified.GeneratedAnnotationTypegetGeneratedAnnotationType()Generate theGeneratedannotation to indicate jOOQ version used for source code.GeneratedSerialVersionUIDgetGeneratedSerialVersionUID()The serial version UID to be generated in all files.StringgetIndentation()The indentation characters to be used in generated code.StringgetJpaVersion()Version of JPA specification is to be used to generate version-specific annotations.IntegergetMaxMembersPerInitialiser()The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.StringgetNewline()The newline characters to be used in generated code.StringgetNonnullAnnotationType()Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305javax.annotation.Nonnulltype.StringgetNullableAnnotationType()Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305javax.annotation.Nullabletype.IntegergetPrintMarginForBlockComment()The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping.VisibilityModifiergetVisibilityModifier()The visibility modifier to be used with generated code.inthashCode()BooleanisComments()Turn off generation of all SQL comments as Javadoc on all objects.BooleanisCommentsOnAttributes()Turn off generation of all SQL comments as Javadoc on all attributes.BooleanisCommentsOnCatalogs()Turn off generation of all SQL comments as Javadoc on all catalogs.BooleanisCommentsOnColumns()Turn off generation of all SQL comments as Javadoc on all columns.BooleanisCommentsOnEmbeddables()Turn off generation of all SQL comments as Javadoc on all embeddables.BooleanisCommentsOnKeys()Turn off generation of all SQL comments as Javadoc on all keys.BooleanisCommentsOnLinks()Turn off generation of all SQL comments as Javadoc on all links.BooleanisCommentsOnPackages()Turn off generation of all SQL comments as Javadoc on all packages.BooleanisCommentsOnParameters()Turn off generation of all SQL comments as Javadoc on all parameters.BooleanisCommentsOnQueues()Turn off generation of all SQL comments as Javadoc on all queues.BooleanisCommentsOnRoutines()Turn off generation of all SQL comments as Javadoc on all routines.BooleanisCommentsOnSchemas()Turn off generation of all SQL comments as Javadoc on all schemas.BooleanisCommentsOnSequences()Turn off generation of all SQL comments as Javadoc on all sequences.BooleanisCommentsOnTables()Turn off generation of all SQL comments as Javadoc on all tables.BooleanisCommentsOnUDTs()Turn off generation of all SQL comments as Javadoc on all UDTs.BooleanisConstructorPropertiesAnnotation()Generate theConstructorPropertiesannotation on generated POJOs and/or records.BooleanisConstructorPropertiesAnnotationOnPojos()Generate theConstructorPropertiesannotation on generated POJOs (defaults totrueifconstructorPropertiesAnnotationis active).BooleanisConstructorPropertiesAnnotationOnRecords()Generate theConstructorPropertiesannotation on generated records (defaults totrueifconstructorPropertiesAnnotationis active).BooleanisDaos()Generate DAOs.BooleanisDeprecated()Generate deprecated code for backwards compatibilityBooleanisDeprecationOnUnknownTypes()Generate deprecation annotations on references to unknown data types.BooleanisEmbeddables()Generate embeddable classes.BooleanisEmptyCatalogs()Whether empty catalogs (e.g. empty because ofconfigurations) should still be generated. BooleanisEmptySchemas()Whether empty schemas (e.g. empty because ofconfigurations) should still be generated. BooleanisEnumsAsScalaSealedTraits()Deprecated.Activate the legacy Scala sealed trait enum emulationBooleanisFluentSetters()Generate fluent setters in records, POJOs, interfaces.BooleanisGeneratedAnnotation()Generate theGeneratedannotation to indicate jOOQ version used for source code.BooleanisGeneratedAnnotationDate()Whether theGeneratedannotation should include thedateattribute.BooleanisGlobalCatalogReferences()Turn off generation of global catalog references.BooleanisGlobalDomainReferences()Turn off generation of global domain references.BooleanisGlobalIndexReferences()Turn off generation of global index references.BooleanisGlobalKeyReferences()Turn off generation of global key references.BooleanisGlobalLinkReferences()Turn off generation of global database link references.BooleanisGlobalObjectReferences()Turn off generation of all global object references.BooleanisGlobalQueueReferences()Turn off generation of global queue references.BooleanisGlobalRoutineReferences()Turn off generation of global routine references.BooleanisGlobalSchemaReferences()Turn off generation of global schema references.BooleanisGlobalSequenceReferences()Turn off generation of global sequence references.BooleanisGlobalTableReferences()Turn off generation of global table references.BooleanisGlobalUDTReferences()Turn off generation of global UDT references.BooleanisImmutableInterfaces()Generate immutable interfaces.BooleanisImmutablePojos()Generate immutable POJOs.BooleanisImplicitJoinPathsToOne()Generate implicit join path constructors on generated tables for outgoing foreign key relationships (to-one relationships)BooleanisIndexes()Generate index information.BooleanisInstanceFields()Deprecated.BooleanisInterfaces()Generated interfaces to be implemented by records and/or POJOs.BooleanisJavaBeansGettersAndSetters()Modify DefaultGeneratorStrategy behaviour to generate getters and setters in JavaBeans style in records, POJOs, interfaces.BooleanisJavadoc()Turn off generation of Javadoc on all objects.BooleanisJavaTimeTypes()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.BooleanisJpaAnnotations()Annotate POJOs and Records with JPA annotations.BooleanisKeys()Generate Key classes.BooleanisKotlinSetterJvmNameAnnotationsOnIsPrefix()Workaround for Kotlin generatingsetX()setters instead ofsetIsX()in byte code for mutable properties calledisX.BooleanisLinks()Generate database Link classes.BooleanisNonnullAnnotation()Whether non-nullable items should be annotated with the annotation type specified innonnullAnnotationType.BooleanisNullableAnnotation()Whether nullable items should be annotated with the annotation type specified innullableAnnotationType.BooleanisPojos()Generate POJOs.BooleanisPojosAsJavaRecordClasses()Generate POJOs as records, when using the JavaGenerator.BooleanisPojosAsKotlinDataClasses()Generate POJOs as data classes, when using the KotlinGenerator.BooleanisPojosAsScalaCaseClasses()Generate POJOs as case classes, when using the ScalaGenerator.BooleanisPojosEqualsAndHashCode()Generate basic equals() and hashCode() methods in POJOs.BooleanisPojosToString()Generate basic toString() methods in POJOs.BooleanisQueues()Generate Queue classes.BooleanisRecords()Generate TableRecord classes.BooleanisRecordsImplementingRecordN()Generate TableRecord classes that implement Record[N] super typesBooleanisRelations()Primary key / foreign key relations should be generated and used.BooleanisRoutines()Generate Routine classes.BooleanisSequenceFlags()Sequence flags should be generated and used.BooleanisSequences()Generate Sequence classes.BooleanisSerializableInterfaces()Generate serializable interfaces.BooleanisSerializablePojos()Generate serializable POJOs.BooleanisSources()Turn off generation of all source code on all object types.BooleanisSourcesOnViews()Turn off generation of all source code on all views.BooleanisSpringAnnotations()Annotate DAOs with useful spring annotations such as @Repository or @Autowired.BooleanisTables()Generate Table classes.BooleanisUdts()Generate UDT classes.BooleanisValidationAnnotations()Annotate POJOs and Records with JSR-303 validation annotationsBooleanisVarargSetters()Generate varargs setters for array types for convenience.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.voidsetConstructorPropertiesAnnotation(Boolean value)Sets the value of the constructorPropertiesAnnotation property.voidsetConstructorPropertiesAnnotationOnPojos(Boolean value)Sets the value of the constructorPropertiesAnnotationOnPojos property.voidsetConstructorPropertiesAnnotationOnRecords(Boolean value)Sets the value of the constructorPropertiesAnnotationOnRecords property.voidsetDaos(Boolean value)Sets the value of the daos property.voidsetDeprecated(Boolean value)Sets the value of the deprecated property.voidsetDeprecationOnUnknownTypes(Boolean value)Sets 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.voidsetEnumsAsScalaSealedTraits(Boolean value)Deprecated.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.voidsetGeneratedAnnotationDate(Boolean value)Sets the value of the generatedAnnotationDate property.voidsetGeneratedAnnotationType(GeneratedAnnotationType value)Generate theGeneratedannotation to indicate jOOQ version used for source code.voidsetGeneratedSerialVersionUID(GeneratedSerialVersionUID value)The serial version UID to be generated in all files.voidsetGlobalCatalogReferences(Boolean value)Sets 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.voidsetGlobalRoutineReferences(Boolean value)Sets the value of the globalRoutineReferences property.voidsetGlobalSchemaReferences(Boolean value)Sets the value of the globalSchemaReferences property.voidsetGlobalSequenceReferences(Boolean value)Sets 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.voidsetImplicitJoinPathsToOne(Boolean value)Sets the value of the implicitJoinPathsToOne 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.voidsetJavaBeansGettersAndSetters(Boolean value)Sets 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.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.voidsetKeys(Boolean value)Sets the value of the keys property.voidsetKotlinSetterJvmNameAnnotationsOnIsPrefix(Boolean value)Sets the value of the kotlinSetterJvmNameAnnotationsOnIsPrefix property.voidsetLinks(Boolean value)Sets the value of the links property.voidsetMaxMembersPerInitialiser(Integer value)The 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-305javax.annotation.Nonnulltype.voidsetNullableAnnotation(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-305javax.annotation.Nullabletype.voidsetPojos(Boolean value)Sets the value of the pojos property.voidsetPojosAsJavaRecordClasses(Boolean value)Sets the value of the pojosAsJavaRecordClasses property.voidsetPojosAsKotlinDataClasses(Boolean value)Sets the value of the pojosAsKotlinDataClasses property.voidsetPojosAsScalaCaseClasses(Boolean value)Sets 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.voidsetPrintMarginForBlockComment(Integer value)The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping.voidsetQueues(Boolean value)Sets the value of the queues property.voidsetRecords(Boolean value)Sets the value of the records property.voidsetRecordsImplementingRecordN(Boolean value)Sets 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.voidsetSpringAnnotations(Boolean value)Sets the value of the springAnnotations property.voidsetTables(Boolean value)Sets the value of the tables property.voidsetUdts(Boolean value)Sets 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.voidsetVisibilityModifier(VisibilityModifier value)The visibility modifier to be used with generated code.StringtoString()GeneratewithComments(Boolean value)GeneratewithCommentsOnAttributes(Boolean value)GeneratewithCommentsOnCatalogs(Boolean value)GeneratewithCommentsOnColumns(Boolean value)GeneratewithCommentsOnEmbeddables(Boolean value)GeneratewithCommentsOnKeys(Boolean value)GeneratewithCommentsOnLinks(Boolean value)GeneratewithCommentsOnPackages(Boolean value)GeneratewithCommentsOnParameters(Boolean value)GeneratewithCommentsOnQueues(Boolean value)GeneratewithCommentsOnRoutines(Boolean value)GeneratewithCommentsOnSchemas(Boolean value)GeneratewithCommentsOnSequences(Boolean value)GeneratewithCommentsOnTables(Boolean value)GeneratewithCommentsOnUDTs(Boolean value)GeneratewithConstructorPropertiesAnnotation(Boolean value)GeneratewithConstructorPropertiesAnnotationOnPojos(Boolean value)GeneratewithConstructorPropertiesAnnotationOnRecords(Boolean value)GeneratewithDaos(Boolean value)GeneratewithDeprecated(Boolean value)GeneratewithDeprecationOnUnknownTypes(Boolean value)GeneratewithEmbeddables(Boolean value)GeneratewithEmptyCatalogs(Boolean value)GeneratewithEmptySchemas(Boolean value)GeneratewithEnumsAsScalaSealedTraits(Boolean value)GeneratewithFluentSetters(Boolean value)GeneratewithFullyQualifiedTypes(String value)A regular expression matching all the types in generated code that should be fully qualified.GeneratewithGeneratedAnnotation(Boolean value)GeneratewithGeneratedAnnotationDate(Boolean value)GeneratewithGeneratedAnnotationType(GeneratedAnnotationType value)Generate theGeneratedannotation to indicate jOOQ version used for source code.GeneratewithGeneratedSerialVersionUID(GeneratedSerialVersionUID value)The serial version UID to be generated in all files.GeneratewithGlobalCatalogReferences(Boolean value)GeneratewithGlobalDomainReferences(Boolean value)GeneratewithGlobalIndexReferences(Boolean value)GeneratewithGlobalKeyReferences(Boolean value)GeneratewithGlobalLinkReferences(Boolean value)GeneratewithGlobalObjectReferences(Boolean value)GeneratewithGlobalQueueReferences(Boolean value)GeneratewithGlobalRoutineReferences(Boolean value)GeneratewithGlobalSchemaReferences(Boolean value)GeneratewithGlobalSequenceReferences(Boolean value)GeneratewithGlobalTableReferences(Boolean value)GeneratewithGlobalUDTReferences(Boolean value)GeneratewithImmutableInterfaces(Boolean value)GeneratewithImmutablePojos(Boolean value)GeneratewithImplicitJoinPathsToOne(Boolean value)GeneratewithIndentation(String value)The indentation characters to be used in generated code.GeneratewithIndexes(Boolean value)GeneratewithInstanceFields(Boolean value)GeneratewithInterfaces(Boolean value)GeneratewithJavaBeansGettersAndSetters(Boolean value)GeneratewithJavadoc(Boolean value)GeneratewithJavaTimeTypes(Boolean value)GeneratewithJpaAnnotations(Boolean value)GeneratewithJpaVersion(String value)Version of JPA specification is to be used to generate version-specific annotations.GeneratewithKeys(Boolean value)GeneratewithKotlinSetterJvmNameAnnotationsOnIsPrefix(Boolean value)GeneratewithLinks(Boolean value)GeneratewithMaxMembersPerInitialiser(Integer value)The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.GeneratewithNewline(String value)The newline characters to be used in generated code.GeneratewithNonnullAnnotation(Boolean value)GeneratewithNonnullAnnotationType(String value)Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305javax.annotation.Nonnulltype.GeneratewithNullableAnnotation(Boolean value)GeneratewithNullableAnnotationType(String value)Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305javax.annotation.Nullabletype.GeneratewithPojos(Boolean value)GeneratewithPojosAsJavaRecordClasses(Boolean value)GeneratewithPojosAsKotlinDataClasses(Boolean value)GeneratewithPojosAsScalaCaseClasses(Boolean value)GeneratewithPojosEqualsAndHashCode(Boolean value)GeneratewithPojosToString(Boolean value)GeneratewithPrintMarginForBlockComment(Integer value)The print margin to apply to generated Javadoc and other block comments, for automatic line wrapping.GeneratewithQueues(Boolean value)GeneratewithRecords(Boolean value)GeneratewithRecordsImplementingRecordN(Boolean value)GeneratewithRelations(Boolean value)GeneratewithRoutines(Boolean value)GeneratewithSequenceFlags(Boolean value)GeneratewithSequences(Boolean value)GeneratewithSerializableInterfaces(Boolean value)GeneratewithSerializablePojos(Boolean value)GeneratewithSources(Boolean value)GeneratewithSourcesOnViews(Boolean value)GeneratewithSpringAnnotations(Boolean value)GeneratewithTables(Boolean value)GeneratewithUdts(Boolean value)GeneratewithValidationAnnotations(Boolean value)GeneratewithVarargSetters(Boolean value)GeneratewithVisibilityModifier(VisibilityModifier value)The visibility modifier to be used with generated code.
-
-
-
Field Detail
-
indexes
protected Boolean indexes
-
relations
protected Boolean relations
-
sequenceFlags
protected Boolean sequenceFlags
-
implicitJoinPathsToOne
protected Boolean implicitJoinPathsToOne
-
deprecated
protected Boolean deprecated
-
deprecationOnUnknownTypes
protected Boolean deprecationOnUnknownTypes
-
instanceFields
protected Boolean instanceFields
-
visibilityModifier
protected VisibilityModifier visibilityModifier
-
generatedAnnotation
protected Boolean generatedAnnotation
-
generatedAnnotationType
protected GeneratedAnnotationType generatedAnnotationType
-
generatedAnnotationDate
protected Boolean generatedAnnotationDate
-
nonnullAnnotation
protected Boolean nonnullAnnotation
-
nonnullAnnotationType
protected String nonnullAnnotationType
-
nullableAnnotation
protected Boolean nullableAnnotation
-
nullableAnnotationType
protected String nullableAnnotationType
-
constructorPropertiesAnnotation
protected Boolean constructorPropertiesAnnotation
-
constructorPropertiesAnnotationOnPojos
protected Boolean constructorPropertiesAnnotationOnPojos
-
constructorPropertiesAnnotationOnRecords
protected Boolean constructorPropertiesAnnotationOnRecords
-
routines
protected Boolean routines
-
sequences
protected Boolean sequences
-
udts
protected Boolean udts
-
queues
protected Boolean queues
-
links
protected Boolean links
-
keys
protected Boolean keys
-
tables
protected Boolean tables
-
embeddables
protected Boolean embeddables
-
records
protected Boolean records
-
recordsImplementingRecordN
protected Boolean recordsImplementingRecordN
-
enumsAsScalaSealedTraits
protected Boolean enumsAsScalaSealedTraits
-
pojos
protected Boolean pojos
-
pojosEqualsAndHashCode
protected Boolean pojosEqualsAndHashCode
-
pojosToString
protected Boolean pojosToString
-
pojosAsJavaRecordClasses
protected Boolean pojosAsJavaRecordClasses
-
pojosAsScalaCaseClasses
protected Boolean pojosAsScalaCaseClasses
-
pojosAsKotlinDataClasses
protected Boolean pojosAsKotlinDataClasses
-
immutablePojos
protected Boolean immutablePojos
-
serializablePojos
protected Boolean serializablePojos
-
interfaces
protected Boolean interfaces
-
immutableInterfaces
protected Boolean immutableInterfaces
-
serializableInterfaces
protected Boolean serializableInterfaces
-
daos
protected Boolean daos
-
jpaAnnotations
protected Boolean jpaAnnotations
-
jpaVersion
protected String jpaVersion
-
validationAnnotations
protected Boolean validationAnnotations
-
springAnnotations
protected Boolean springAnnotations
-
kotlinSetterJvmNameAnnotationsOnIsPrefix
protected Boolean kotlinSetterJvmNameAnnotationsOnIsPrefix
-
globalObjectReferences
protected Boolean globalObjectReferences
-
globalCatalogReferences
protected Boolean globalCatalogReferences
-
globalSchemaReferences
protected Boolean globalSchemaReferences
-
globalDomainReferences
protected Boolean globalDomainReferences
-
globalTableReferences
protected Boolean globalTableReferences
-
globalSequenceReferences
protected Boolean globalSequenceReferences
-
globalUDTReferences
protected Boolean globalUDTReferences
-
globalRoutineReferences
protected Boolean globalRoutineReferences
-
globalQueueReferences
protected Boolean globalQueueReferences
-
globalLinkReferences
protected Boolean globalLinkReferences
-
globalKeyReferences
protected Boolean globalKeyReferences
-
globalIndexReferences
protected Boolean globalIndexReferences
-
javadoc
protected Boolean javadoc
-
comments
protected Boolean comments
-
commentsOnCatalogs
protected Boolean commentsOnCatalogs
-
commentsOnSchemas
protected Boolean commentsOnSchemas
-
commentsOnTables
protected Boolean commentsOnTables
-
commentsOnColumns
protected Boolean commentsOnColumns
-
commentsOnEmbeddables
protected Boolean commentsOnEmbeddables
-
commentsOnUDTs
protected Boolean commentsOnUDTs
-
commentsOnAttributes
protected Boolean commentsOnAttributes
-
commentsOnPackages
protected Boolean commentsOnPackages
-
commentsOnRoutines
protected Boolean commentsOnRoutines
-
commentsOnParameters
protected Boolean commentsOnParameters
-
commentsOnSequences
protected Boolean commentsOnSequences
-
commentsOnLinks
protected Boolean commentsOnLinks
-
commentsOnQueues
protected Boolean commentsOnQueues
-
commentsOnKeys
protected Boolean commentsOnKeys
-
sources
protected Boolean sources
-
sourcesOnViews
protected Boolean sourcesOnViews
-
fluentSetters
protected Boolean fluentSetters
-
javaBeansGettersAndSetters
protected Boolean javaBeansGettersAndSetters
-
varargSetters
protected Boolean varargSetters
-
generatedSerialVersionUID
protected GeneratedSerialVersionUID generatedSerialVersionUID
-
maxMembersPerInitialiser
protected Integer maxMembersPerInitialiser
-
fullyQualifiedTypes
protected String fullyQualifiedTypes
-
emptyCatalogs
protected Boolean emptyCatalogs
-
emptySchemas
protected Boolean emptySchemas
-
javaTimeTypes
protected Boolean javaTimeTypes
-
newline
protected String newline
-
indentation
protected String indentation
-
printMarginForBlockComment
protected Integer printMarginForBlockComment
-
-
Method Detail
-
isIndexes
public Boolean isIndexes()
Generate index information.- Returns:
- possible object is
Boolean
-
setIndexes
public void setIndexes(Boolean value)
Sets the value of the indexes property.- Parameters:
value- allowed object isBoolean
-
isRelations
public Boolean 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
public void setRelations(Boolean value)
Sets the value of the relations property.- Parameters:
value- allowed object isBoolean
-
isSequenceFlags
public Boolean isSequenceFlags()
Sequence flags should be generated and used.- Returns:
- possible object is
Boolean
-
setSequenceFlags
public void setSequenceFlags(Boolean value)
Sets the value of the sequenceFlags property.- Parameters:
value- allowed object isBoolean
-
isImplicitJoinPathsToOne
public Boolean isImplicitJoinPathsToOne()
Generate implicit join path constructors on generated tables for outgoing foreign key relationships (to-one relationships)- Returns:
- possible object is
Boolean
-
setImplicitJoinPathsToOne
public void setImplicitJoinPathsToOne(Boolean value)
Sets the value of the implicitJoinPathsToOne property.- Parameters:
value- allowed object isBoolean
-
isDeprecated
public Boolean isDeprecated()
Generate deprecated code for backwards compatibility- Returns:
- possible object is
Boolean
-
setDeprecated
public void setDeprecated(Boolean value)
Sets the value of the deprecated property.- Parameters:
value- allowed object isBoolean
-
isDeprecationOnUnknownTypes
public Boolean isDeprecationOnUnknownTypes()
Generate deprecation annotations on references to unknown data types. This helps identifying 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
public void setDeprecationOnUnknownTypes(Boolean value)
Sets the value of the deprecationOnUnknownTypes property.- Parameters:
value- allowed object isBoolean
-
isInstanceFields
@Deprecated public Boolean isInstanceFields()
Deprecated.- Returns:
- possible object is
Boolean
-
setInstanceFields
@Deprecated public void setInstanceFields(Boolean value)
Deprecated.Sets the value of the instanceFields property.- Parameters:
value- allowed object isBoolean
-
getVisibilityModifier
public VisibilityModifier getVisibilityModifier()
The visibility modifier to be used with generated code.
-
setVisibilityModifier
public void setVisibilityModifier(VisibilityModifier value)
The visibility modifier to be used with generated code.
-
isGeneratedAnnotation
public Boolean isGeneratedAnnotation()
Generate theGeneratedannotation to indicate jOOQ version used for source code.- Returns:
- possible object is
Boolean
-
setGeneratedAnnotation
public void setGeneratedAnnotation(Boolean value)
Sets the value of the generatedAnnotation property.- Parameters:
value- allowed object isBoolean
-
getGeneratedAnnotationType
public GeneratedAnnotationType getGeneratedAnnotationType()
Generate theGeneratedannotation to indicate jOOQ version used for source code.
-
setGeneratedAnnotationType
public void setGeneratedAnnotationType(GeneratedAnnotationType value)
Generate theGeneratedannotation to indicate jOOQ version used for source code.
-
isGeneratedAnnotationDate
public Boolean isGeneratedAnnotationDate()
Whether theGeneratedannotation should include thedateattribute.- Returns:
- possible object is
Boolean
-
setGeneratedAnnotationDate
public void setGeneratedAnnotationDate(Boolean value)
Sets the value of the generatedAnnotationDate property.- Parameters:
value- allowed object isBoolean
-
isNonnullAnnotation
public Boolean 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
public void setNonnullAnnotation(Boolean value)
Sets the value of the nonnullAnnotation property.- Parameters:
value- allowed object isBoolean
-
getNonnullAnnotationType
public String getNonnullAnnotationType()
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305javax.annotation.Nonnulltype.
-
setNonnullAnnotationType
public void setNonnullAnnotationType(String value)
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305javax.annotation.Nonnulltype.
-
isNullableAnnotation
public Boolean 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
public void setNullableAnnotation(Boolean value)
Sets the value of the nullableAnnotation property.- Parameters:
value- allowed object isBoolean
-
getNullableAnnotationType
public String getNullableAnnotationType()
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305javax.annotation.Nullabletype.
-
setNullableAnnotationType
public void setNullableAnnotationType(String value)
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305javax.annotation.Nullabletype.
-
isConstructorPropertiesAnnotation
public Boolean isConstructorPropertiesAnnotation()
Generate theConstructorPropertiesannotation on generated POJOs and/or records.- Returns:
- possible object is
Boolean
-
setConstructorPropertiesAnnotation
public void setConstructorPropertiesAnnotation(Boolean value)
Sets the value of the constructorPropertiesAnnotation property.- Parameters:
value- allowed object isBoolean
-
isConstructorPropertiesAnnotationOnPojos
public Boolean isConstructorPropertiesAnnotationOnPojos()
Generate theConstructorPropertiesannotation on generated POJOs (defaults totrueifconstructorPropertiesAnnotationis active).- Returns:
- possible object is
Boolean
-
setConstructorPropertiesAnnotationOnPojos
public void setConstructorPropertiesAnnotationOnPojos(Boolean value)
Sets the value of the constructorPropertiesAnnotationOnPojos property.- Parameters:
value- allowed object isBoolean
-
isConstructorPropertiesAnnotationOnRecords
public Boolean isConstructorPropertiesAnnotationOnRecords()
Generate theConstructorPropertiesannotation on generated records (defaults totrueifconstructorPropertiesAnnotationis active).- Returns:
- possible object is
Boolean
-
setConstructorPropertiesAnnotationOnRecords
public void setConstructorPropertiesAnnotationOnRecords(Boolean value)
Sets the value of the constructorPropertiesAnnotationOnRecords property.- Parameters:
value- allowed object isBoolean
-
isRoutines
public Boolean isRoutines()
Generate Routine classes.- Returns:
- possible object is
Boolean
-
setRoutines
public void setRoutines(Boolean value)
Sets the value of the routines property.- Parameters:
value- allowed object isBoolean
-
isSequences
public Boolean isSequences()
Generate Sequence classes.- Returns:
- possible object is
Boolean
-
setSequences
public void setSequences(Boolean value)
Sets the value of the sequences property.- Parameters:
value- allowed object isBoolean
-
setUdts
public void setUdts(Boolean value)
Sets the value of the udts property.- Parameters:
value- allowed object isBoolean
-
setQueues
public void setQueues(Boolean value)
Sets the value of the queues property.- Parameters:
value- allowed object isBoolean
-
isLinks
public Boolean isLinks()
Generate database Link classes.- Returns:
- possible object is
Boolean
-
setLinks
public void setLinks(Boolean value)
Sets the value of the links property.- Parameters:
value- allowed object isBoolean
-
setKeys
public void setKeys(Boolean value)
Sets the value of the keys property.- Parameters:
value- allowed object isBoolean
-
setTables
public void setTables(Boolean value)
Sets the value of the tables property.- Parameters:
value- allowed object isBoolean
-
isEmbeddables
public Boolean isEmbeddables()
Generate embeddable classes.- Returns:
- possible object is
Boolean
-
setEmbeddables
public void setEmbeddables(Boolean value)
Sets the value of the embeddables property.- Parameters:
value- allowed object isBoolean
-
isRecords
public Boolean isRecords()
Generate TableRecord classes.- Returns:
- possible object is
Boolean
-
setRecords
public void setRecords(Boolean value)
Sets the value of the records property.- Parameters:
value- allowed object isBoolean
-
isRecordsImplementingRecordN
public Boolean isRecordsImplementingRecordN()
Generate TableRecord classes that implement Record[N] super types- Returns:
- possible object is
Boolean
-
setRecordsImplementingRecordN
public void setRecordsImplementingRecordN(Boolean value)
Sets the value of the recordsImplementingRecordN property.- Parameters:
value- allowed object isBoolean
-
isEnumsAsScalaSealedTraits
@Deprecated public Boolean isEnumsAsScalaSealedTraits()
Deprecated.Activate the legacy Scala sealed trait enum emulation- Returns:
- possible object is
Boolean
-
setEnumsAsScalaSealedTraits
@Deprecated public void setEnumsAsScalaSealedTraits(Boolean value)
Deprecated.Sets the value of the enumsAsScalaSealedTraits property.- Parameters:
value- allowed object isBoolean
-
setPojos
public void setPojos(Boolean value)
Sets the value of the pojos property.- Parameters:
value- allowed object isBoolean
-
isPojosEqualsAndHashCode
public Boolean isPojosEqualsAndHashCode()
Generate basic equals() and hashCode() methods in POJOs.- Returns:
- possible object is
Boolean
-
setPojosEqualsAndHashCode
public void setPojosEqualsAndHashCode(Boolean value)
Sets the value of the pojosEqualsAndHashCode property.- Parameters:
value- allowed object isBoolean
-
isPojosToString
public Boolean isPojosToString()
Generate basic toString() methods in POJOs.- Returns:
- possible object is
Boolean
-
setPojosToString
public void setPojosToString(Boolean value)
Sets the value of the pojosToString property.- Parameters:
value- allowed object isBoolean
-
isPojosAsJavaRecordClasses
public Boolean isPojosAsJavaRecordClasses()
Generate POJOs as records, when using the JavaGenerator.- Returns:
- possible object is
Boolean
-
setPojosAsJavaRecordClasses
public void setPojosAsJavaRecordClasses(Boolean value)
Sets the value of the pojosAsJavaRecordClasses property.- Parameters:
value- allowed object isBoolean
-
isPojosAsScalaCaseClasses
public Boolean isPojosAsScalaCaseClasses()
Generate POJOs as case classes, when using the ScalaGenerator.- Returns:
- possible object is
Boolean
-
setPojosAsScalaCaseClasses
public void setPojosAsScalaCaseClasses(Boolean value)
Sets the value of the pojosAsScalaCaseClasses property.- Parameters:
value- allowed object isBoolean
-
isPojosAsKotlinDataClasses
public Boolean isPojosAsKotlinDataClasses()
Generate POJOs as data classes, when using the KotlinGenerator.- Returns:
- possible object is
Boolean
-
setPojosAsKotlinDataClasses
public void setPojosAsKotlinDataClasses(Boolean value)
Sets the value of the pojosAsKotlinDataClasses property.- Parameters:
value- allowed object isBoolean
-
isImmutablePojos
public Boolean isImmutablePojos()
Generate immutable POJOs.- Returns:
- possible object is
Boolean
-
setImmutablePojos
public void setImmutablePojos(Boolean value)
Sets the value of the immutablePojos property.- Parameters:
value- allowed object isBoolean
-
isSerializablePojos
public Boolean isSerializablePojos()
Generate serializable POJOs.- Returns:
- possible object is
Boolean
-
setSerializablePojos
public void setSerializablePojos(Boolean value)
Sets the value of the serializablePojos property.- Parameters:
value- allowed object isBoolean
-
isInterfaces
public Boolean isInterfaces()
Generated interfaces to be implemented by records and/or POJOs.- Returns:
- possible object is
Boolean
-
setInterfaces
public void setInterfaces(Boolean value)
Sets the value of the interfaces property.- Parameters:
value- allowed object isBoolean
-
isImmutableInterfaces
public Boolean isImmutableInterfaces()
Generate immutable interfaces.- Returns:
- possible object is
Boolean
-
setImmutableInterfaces
public void setImmutableInterfaces(Boolean value)
Sets the value of the immutableInterfaces property.- Parameters:
value- allowed object isBoolean
-
isSerializableInterfaces
public Boolean isSerializableInterfaces()
Generate serializable interfaces.- Returns:
- possible object is
Boolean
-
setSerializableInterfaces
public void setSerializableInterfaces(Boolean value)
Sets the value of the serializableInterfaces property.- Parameters:
value- allowed object isBoolean
-
setDaos
public void setDaos(Boolean value)
Sets the value of the daos property.- Parameters:
value- allowed object isBoolean
-
isJpaAnnotations
public Boolean isJpaAnnotations()
Annotate POJOs and Records with JPA annotations.- Returns:
- possible object is
Boolean
-
setJpaAnnotations
public void setJpaAnnotations(Boolean value)
Sets the value of the jpaAnnotations property.- Parameters:
value- allowed object isBoolean
-
getJpaVersion
public String 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
public void setJpaVersion(String value)
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
public Boolean isValidationAnnotations()
Annotate POJOs and Records with JSR-303 validation annotations- Returns:
- possible object is
Boolean
-
setValidationAnnotations
public void setValidationAnnotations(Boolean value)
Sets the value of the validationAnnotations property.- Parameters:
value- allowed object isBoolean
-
isSpringAnnotations
public Boolean isSpringAnnotations()
Annotate DAOs with useful spring annotations such as @Repository or @Autowired.- Returns:
- possible object is
Boolean
-
setSpringAnnotations
public void setSpringAnnotations(Boolean value)
Sets the value of the springAnnotations property.- Parameters:
value- allowed object isBoolean
-
isKotlinSetterJvmNameAnnotationsOnIsPrefix
public Boolean isKotlinSetterJvmNameAnnotationsOnIsPrefix()
Workaround for Kotlin generatingsetX()setters instead ofsetIsX()in byte code for mutable properties calledisX.- Returns:
- possible object is
Boolean
-
setKotlinSetterJvmNameAnnotationsOnIsPrefix
public void setKotlinSetterJvmNameAnnotationsOnIsPrefix(Boolean value)
Sets the value of the kotlinSetterJvmNameAnnotationsOnIsPrefix property.- Parameters:
value- allowed object isBoolean
-
isGlobalObjectReferences
public Boolean isGlobalObjectReferences()
Turn off generation of all global object references.- Returns:
- possible object is
Boolean
-
setGlobalObjectReferences
public void setGlobalObjectReferences(Boolean value)
Sets the value of the globalObjectReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalCatalogReferences
public Boolean isGlobalCatalogReferences()
Turn off generation of global catalog references.- Returns:
- possible object is
Boolean
-
setGlobalCatalogReferences
public void setGlobalCatalogReferences(Boolean value)
Sets the value of the globalCatalogReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalSchemaReferences
public Boolean isGlobalSchemaReferences()
Turn off generation of global schema references.- Returns:
- possible object is
Boolean
-
setGlobalSchemaReferences
public void setGlobalSchemaReferences(Boolean value)
Sets the value of the globalSchemaReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalDomainReferences
public Boolean isGlobalDomainReferences()
Turn off generation of global domain references.- Returns:
- possible object is
Boolean
-
setGlobalDomainReferences
public void setGlobalDomainReferences(Boolean value)
Sets the value of the globalDomainReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalTableReferences
public Boolean isGlobalTableReferences()
Turn off generation of global table references.- Returns:
- possible object is
Boolean
-
setGlobalTableReferences
public void setGlobalTableReferences(Boolean value)
Sets the value of the globalTableReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalSequenceReferences
public Boolean isGlobalSequenceReferences()
Turn off generation of global sequence references.- Returns:
- possible object is
Boolean
-
setGlobalSequenceReferences
public void setGlobalSequenceReferences(Boolean value)
Sets the value of the globalSequenceReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalUDTReferences
public Boolean isGlobalUDTReferences()
Turn off generation of global UDT references.- Returns:
- possible object is
Boolean
-
setGlobalUDTReferences
public void setGlobalUDTReferences(Boolean value)
Sets the value of the globalUDTReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalRoutineReferences
public Boolean isGlobalRoutineReferences()
Turn off generation of global routine references.- Returns:
- possible object is
Boolean
-
setGlobalRoutineReferences
public void setGlobalRoutineReferences(Boolean value)
Sets the value of the globalRoutineReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalQueueReferences
public Boolean isGlobalQueueReferences()
Turn off generation of global queue references.- Returns:
- possible object is
Boolean
-
setGlobalQueueReferences
public void setGlobalQueueReferences(Boolean value)
Sets the value of the globalQueueReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalLinkReferences
public Boolean isGlobalLinkReferences()
Turn off generation of global database link references.- Returns:
- possible object is
Boolean
-
setGlobalLinkReferences
public void setGlobalLinkReferences(Boolean value)
Sets the value of the globalLinkReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalKeyReferences
public Boolean isGlobalKeyReferences()
Turn off generation of global key references.- Returns:
- possible object is
Boolean
-
setGlobalKeyReferences
public void setGlobalKeyReferences(Boolean value)
Sets the value of the globalKeyReferences property.- Parameters:
value- allowed object isBoolean
-
isGlobalIndexReferences
public Boolean isGlobalIndexReferences()
Turn off generation of global index references.- Returns:
- possible object is
Boolean
-
setGlobalIndexReferences
public void setGlobalIndexReferences(Boolean value)
Sets the value of the globalIndexReferences property.- Parameters:
value- allowed object isBoolean
-
isJavadoc
public Boolean isJavadoc()
Turn off generation of Javadoc on all objects.- Returns:
- possible object is
Boolean
-
setJavadoc
public void setJavadoc(Boolean value)
Sets the value of the javadoc property.- Parameters:
value- allowed object isBoolean
-
isComments
public Boolean isComments()
Turn off generation of all SQL comments as Javadoc on all objects.- Returns:
- possible object is
Boolean
-
setComments
public void setComments(Boolean value)
Sets the value of the comments property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnCatalogs
public Boolean isCommentsOnCatalogs()
Turn off generation of all SQL comments as Javadoc on all catalogs.- Returns:
- possible object is
Boolean
-
setCommentsOnCatalogs
public void setCommentsOnCatalogs(Boolean value)
Sets the value of the commentsOnCatalogs property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnSchemas
public Boolean isCommentsOnSchemas()
Turn off generation of all SQL comments as Javadoc on all schemas.- Returns:
- possible object is
Boolean
-
setCommentsOnSchemas
public void setCommentsOnSchemas(Boolean value)
Sets the value of the commentsOnSchemas property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnTables
public Boolean isCommentsOnTables()
Turn off generation of all SQL comments as Javadoc on all tables.- Returns:
- possible object is
Boolean
-
setCommentsOnTables
public void setCommentsOnTables(Boolean value)
Sets the value of the commentsOnTables property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnColumns
public Boolean isCommentsOnColumns()
Turn off generation of all SQL comments as Javadoc on all columns.- Returns:
- possible object is
Boolean
-
setCommentsOnColumns
public void setCommentsOnColumns(Boolean value)
Sets the value of the commentsOnColumns property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnEmbeddables
public Boolean isCommentsOnEmbeddables()
Turn off generation of all SQL comments as Javadoc on all embeddables.- Returns:
- possible object is
Boolean
-
setCommentsOnEmbeddables
public void setCommentsOnEmbeddables(Boolean value)
Sets the value of the commentsOnEmbeddables property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnUDTs
public Boolean isCommentsOnUDTs()
Turn off generation of all SQL comments as Javadoc on all UDTs.- Returns:
- possible object is
Boolean
-
setCommentsOnUDTs
public void setCommentsOnUDTs(Boolean value)
Sets the value of the commentsOnUDTs property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnAttributes
public Boolean isCommentsOnAttributes()
Turn off generation of all SQL comments as Javadoc on all attributes.- Returns:
- possible object is
Boolean
-
setCommentsOnAttributes
public void setCommentsOnAttributes(Boolean value)
Sets the value of the commentsOnAttributes property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnPackages
public Boolean isCommentsOnPackages()
Turn off generation of all SQL comments as Javadoc on all packages.- Returns:
- possible object is
Boolean
-
setCommentsOnPackages
public void setCommentsOnPackages(Boolean value)
Sets the value of the commentsOnPackages property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnRoutines
public Boolean isCommentsOnRoutines()
Turn off generation of all SQL comments as Javadoc on all routines.- Returns:
- possible object is
Boolean
-
setCommentsOnRoutines
public void setCommentsOnRoutines(Boolean value)
Sets the value of the commentsOnRoutines property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnParameters
public Boolean isCommentsOnParameters()
Turn off generation of all SQL comments as Javadoc on all parameters.- Returns:
- possible object is
Boolean
-
setCommentsOnParameters
public void setCommentsOnParameters(Boolean value)
Sets the value of the commentsOnParameters property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnSequences
public Boolean isCommentsOnSequences()
Turn off generation of all SQL comments as Javadoc on all sequences.- Returns:
- possible object is
Boolean
-
setCommentsOnSequences
public void setCommentsOnSequences(Boolean value)
Sets the value of the commentsOnSequences property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnLinks
public Boolean isCommentsOnLinks()
Turn off generation of all SQL comments as Javadoc on all links.- Returns:
- possible object is
Boolean
-
setCommentsOnLinks
public void setCommentsOnLinks(Boolean value)
Sets the value of the commentsOnLinks property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnQueues
public Boolean isCommentsOnQueues()
Turn off generation of all SQL comments as Javadoc on all queues.- Returns:
- possible object is
Boolean
-
setCommentsOnQueues
public void setCommentsOnQueues(Boolean value)
Sets the value of the commentsOnQueues property.- Parameters:
value- allowed object isBoolean
-
isCommentsOnKeys
public Boolean isCommentsOnKeys()
Turn off generation of all SQL comments as Javadoc on all keys.- Returns:
- possible object is
Boolean
-
setCommentsOnKeys
public void setCommentsOnKeys(Boolean value)
Sets the value of the commentsOnKeys property.- Parameters:
value- allowed object isBoolean
-
isSources
public Boolean isSources()
Turn off generation of all source code on all object types.- Returns:
- possible object is
Boolean
-
setSources
public void setSources(Boolean value)
Sets the value of the sources property.- Parameters:
value- allowed object isBoolean
-
isSourcesOnViews
public Boolean isSourcesOnViews()
Turn off generation of all source code on all views.- Returns:
- possible object is
Boolean
-
setSourcesOnViews
public void setSourcesOnViews(Boolean value)
Sets the value of the sourcesOnViews property.- Parameters:
value- allowed object isBoolean
-
isFluentSetters
public Boolean isFluentSetters()
Generate fluent setters in records, POJOs, interfaces.- Returns:
- possible object is
Boolean
-
setFluentSetters
public void setFluentSetters(Boolean value)
Sets the value of the fluentSetters property.- Parameters:
value- allowed object isBoolean
-
isJavaBeansGettersAndSetters
public Boolean 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
public void setJavaBeansGettersAndSetters(Boolean value)
Sets the value of the javaBeansGettersAndSetters property.- Parameters:
value- allowed object isBoolean
-
isVarargSetters
public Boolean 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
public void setVarargSetters(Boolean value)
Sets the value of the varargSetters property.- Parameters:
value- allowed object isBoolean
-
getGeneratedSerialVersionUID
public GeneratedSerialVersionUID getGeneratedSerialVersionUID()
The serial version UID to be generated in all files.
-
setGeneratedSerialVersionUID
public void setGeneratedSerialVersionUID(GeneratedSerialVersionUID value)
The serial version UID to be generated in all files.
-
getMaxMembersPerInitialiser
public Integer getMaxMembersPerInitialiser()
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.
-
setMaxMembersPerInitialiser
public void setMaxMembersPerInitialiser(Integer value)
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.
-
getFullyQualifiedTypes
public String 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
public void setFullyQualifiedTypes(String value)
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
public Boolean isEmptyCatalogs()
Whether empty catalogs (e.g. empty because ofconfigurations) should still be generated. - Returns:
- possible object is
Boolean
-
setEmptyCatalogs
public void setEmptyCatalogs(Boolean value)
Sets the value of the emptyCatalogs property.- Parameters:
value- allowed object isBoolean
-
isEmptySchemas
public Boolean isEmptySchemas()
Whether empty schemas (e.g. empty because ofconfigurations) should still be generated. - Returns:
- possible object is
Boolean
-
setEmptySchemas
public void setEmptySchemas(Boolean value)
Sets the value of the emptySchemas property.- Parameters:
value- allowed object isBoolean
-
isJavaTimeTypes
public Boolean 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
public void setJavaTimeTypes(Boolean value)
Sets the value of the javaTimeTypes property.- Parameters:
value- allowed object isBoolean
-
getNewline
public String getNewline()
The newline characters to be used in generated code. Whitespace characters can be used, e.g. \n, \r\n
-
setNewline
public void setNewline(String value)
The newline characters to be used in generated code. Whitespace characters can be used, e.g. \n, \r\n
-
getIndentation
public String 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
public void setIndentation(String value)
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
public Integer 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
public void setPrintMarginForBlockComment(Integer value)
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.
-
withVisibilityModifier
public Generate withVisibilityModifier(VisibilityModifier value)
The visibility modifier to be used with generated code.
-
withGeneratedAnnotationType
public Generate withGeneratedAnnotationType(GeneratedAnnotationType value)
Generate theGeneratedannotation to indicate jOOQ version used for source code.
-
withNonnullAnnotationType
public Generate withNonnullAnnotationType(String value)
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305javax.annotation.Nonnulltype.
-
withNullableAnnotationType
public Generate withNullableAnnotationType(String value)
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305javax.annotation.Nullabletype.
-
withConstructorPropertiesAnnotation
public Generate withConstructorPropertiesAnnotation(Boolean value)
-
withConstructorPropertiesAnnotationOnPojos
public Generate withConstructorPropertiesAnnotationOnPojos(Boolean value)
-
withConstructorPropertiesAnnotationOnRecords
public Generate withConstructorPropertiesAnnotationOnRecords(Boolean value)
-
withJpaVersion
public Generate withJpaVersion(String value)
Version of JPA specification is to be used to generate version-specific annotations. If it is omitted, the latest version is used by default.
-
withKotlinSetterJvmNameAnnotationsOnIsPrefix
public Generate withKotlinSetterJvmNameAnnotationsOnIsPrefix(Boolean value)
-
withGeneratedSerialVersionUID
public Generate withGeneratedSerialVersionUID(GeneratedSerialVersionUID value)
The serial version UID to be generated in all files.
-
withMaxMembersPerInitialiser
public Generate withMaxMembersPerInitialiser(Integer value)
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.
-
withFullyQualifiedTypes
public Generate withFullyQualifiedTypes(String value)
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\..*
-
withNewline
public Generate withNewline(String value)
The newline characters to be used in generated code. Whitespace characters can be used, e.g. \n, \r\n
-
withIndentation
public Generate withIndentation(String value)
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
public Generate withPrintMarginForBlockComment(Integer value)
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.
-
appendTo
public final void appendTo(XMLBuilder builder)
- Specified by:
appendToin interfaceXMLAppendable
-
-