Class Generate

    • 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
      • generatedAnnotation

        protected Boolean generatedAnnotation
      • 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
      • embeddables

        protected Boolean embeddables
      • records

        protected Boolean records
      • recordsImplementingRecordN

        protected Boolean recordsImplementingRecordN
      • enumsAsScalaSealedTraits

        protected Boolean enumsAsScalaSealedTraits
      • 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
      • 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
      • 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
    • Constructor Detail

      • Generate

        public Generate()
    • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • setInstanceFields

        @Deprecated
        public void setInstanceFields​(Boolean value)
        Deprecated.
        Sets the value of the instanceFields property.
        Parameters:
        value - allowed object is Boolean
      • 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 the Generated annotation 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 is Boolean
      • getGeneratedAnnotationType

        public GeneratedAnnotationType getGeneratedAnnotationType()
        Generate the Generated annotation to indicate jOOQ version used for source code.
      • setGeneratedAnnotationType

        public void setGeneratedAnnotationType​(GeneratedAnnotationType value)
        Generate the Generated annotation to indicate jOOQ version used for source code.
      • isGeneratedAnnotationDate

        public Boolean isGeneratedAnnotationDate()
        Whether the Generated annotation should include the date attribute.
        Returns:
        possible object is Boolean
      • setGeneratedAnnotationDate

        public void setGeneratedAnnotationDate​(Boolean value)
        Sets the value of the generatedAnnotationDate property.
        Parameters:
        value - allowed object is Boolean
      • isNonnullAnnotation

        public Boolean isNonnullAnnotation()
        Whether non-nullable items should be annotated with the annotation type specified in nonnullAnnotationType. 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 is Boolean
      • getNonnullAnnotationType

        public String getNonnullAnnotationType()
        Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305 javax.annotation.Nonnull type.
      • setNonnullAnnotationType

        public void setNonnullAnnotationType​(String value)
        Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305 javax.annotation.Nonnull type.
      • isNullableAnnotation

        public Boolean isNullableAnnotation()
        Whether nullable items should be annotated with the annotation type specified in nullableAnnotationType. Unlike nonnullAnnotation, 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 is Boolean
      • getNullableAnnotationType

        public String getNullableAnnotationType()
        Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305 javax.annotation.Nullable type.
      • setNullableAnnotationType

        public void setNullableAnnotationType​(String value)
        Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305 javax.annotation.Nullable type.
      • isConstructorPropertiesAnnotation

        public Boolean isConstructorPropertiesAnnotation()
        Generate the ConstructorProperties annotation 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 is Boolean
      • setConstructorPropertiesAnnotationOnPojos

        public void setConstructorPropertiesAnnotationOnPojos​(Boolean value)
        Sets the value of the constructorPropertiesAnnotationOnPojos property.
        Parameters:
        value - allowed object is Boolean
      • setConstructorPropertiesAnnotationOnRecords

        public void setConstructorPropertiesAnnotationOnRecords​(Boolean value)
        Sets the value of the constructorPropertiesAnnotationOnRecords property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • isUdts

        public Boolean isUdts()
        Generate UDT classes.
        Returns:
        possible object is Boolean
      • setUdts

        public void setUdts​(Boolean value)
        Sets the value of the udts property.
        Parameters:
        value - allowed object is Boolean
      • isQueues

        public Boolean isQueues()
        Generate Queue classes.
        Returns:
        possible object is Boolean
      • setQueues

        public void setQueues​(Boolean value)
        Sets the value of the queues property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • isKeys

        public Boolean isKeys()
        Generate Key classes.
        Returns:
        possible object is Boolean
      • setKeys

        public void setKeys​(Boolean value)
        Sets the value of the keys property.
        Parameters:
        value - allowed object is Boolean
      • isTables

        public Boolean isTables()
        Generate Table classes.
        Returns:
        possible object is Boolean
      • setTables

        public void setTables​(Boolean value)
        Sets the value of the tables property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • isPojos

        public Boolean isPojos()
        Generate POJOs.
        Returns:
        possible object is Boolean
      • setPojos

        public void setPojos​(Boolean value)
        Sets the value of the pojos property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • isDaos

        public Boolean isDaos()
        Generate DAOs.
        Returns:
        possible object is Boolean
      • setDaos

        public void setDaos​(Boolean value)
        Sets the value of the daos property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • isKotlinSetterJvmNameAnnotationsOnIsPrefix

        public Boolean isKotlinSetterJvmNameAnnotationsOnIsPrefix()
        Workaround for Kotlin generating setX() setters instead of setIsX() in byte code for mutable properties called isX.
        Returns:
        possible object is Boolean
      • setKotlinSetterJvmNameAnnotationsOnIsPrefix

        public void setKotlinSetterJvmNameAnnotationsOnIsPrefix​(Boolean value)
        Sets the value of the kotlinSetterJvmNameAnnotationsOnIsPrefix property.
        Parameters:
        value - allowed object is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 of configurations) 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 is Boolean
      • isEmptySchemas

        public Boolean isEmptySchemas()
        Whether empty schemas (e.g. empty because of configurations) 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 is Boolean
      • 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 is Boolean
      • 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 is 0.
      • 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 is 0.
      • withImplicitJoinPathsToOne

        public Generate withImplicitJoinPathsToOne​(Boolean value)
      • withDeprecationOnUnknownTypes

        public Generate withDeprecationOnUnknownTypes​(Boolean value)
      • withInstanceFields

        public Generate withInstanceFields​(Boolean value)
      • withVisibilityModifier

        public Generate withVisibilityModifier​(VisibilityModifier value)
        The visibility modifier to be used with generated code.
      • withGeneratedAnnotation

        public Generate withGeneratedAnnotation​(Boolean value)
      • withGeneratedAnnotationDate

        public Generate withGeneratedAnnotationDate​(Boolean value)
      • withNonnullAnnotation

        public Generate withNonnullAnnotation​(Boolean value)
      • withNonnullAnnotationType

        public Generate withNonnullAnnotationType​(String value)
        Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305 javax.annotation.Nonnull type.
      • withNullableAnnotation

        public Generate withNullableAnnotation​(Boolean value)
      • withNullableAnnotationType

        public Generate withNullableAnnotationType​(String value)
        Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305 javax.annotation.Nullable type.
      • withConstructorPropertiesAnnotation

        public Generate withConstructorPropertiesAnnotation​(Boolean value)
      • withConstructorPropertiesAnnotationOnPojos

        public Generate withConstructorPropertiesAnnotationOnPojos​(Boolean value)
      • withConstructorPropertiesAnnotationOnRecords

        public Generate withConstructorPropertiesAnnotationOnRecords​(Boolean value)
      • withRecordsImplementingRecordN

        public Generate withRecordsImplementingRecordN​(Boolean value)
      • withEnumsAsScalaSealedTraits

        public Generate withEnumsAsScalaSealedTraits​(Boolean value)
      • withPojosEqualsAndHashCode

        public Generate withPojosEqualsAndHashCode​(Boolean value)
      • withPojosAsJavaRecordClasses

        public Generate withPojosAsJavaRecordClasses​(Boolean value)
      • withPojosAsScalaCaseClasses

        public Generate withPojosAsScalaCaseClasses​(Boolean value)
      • withPojosAsKotlinDataClasses

        public Generate withPojosAsKotlinDataClasses​(Boolean value)
      • withImmutablePojos

        public Generate withImmutablePojos​(Boolean value)
      • withSerializablePojos

        public Generate withSerializablePojos​(Boolean value)
      • withImmutableInterfaces

        public Generate withImmutableInterfaces​(Boolean value)
      • withSerializableInterfaces

        public Generate withSerializableInterfaces​(Boolean value)
      • withJpaAnnotations

        public Generate withJpaAnnotations​(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.
      • withValidationAnnotations

        public Generate withValidationAnnotations​(Boolean value)
      • withSpringAnnotations

        public Generate withSpringAnnotations​(Boolean value)
      • withKotlinSetterJvmNameAnnotationsOnIsPrefix

        public Generate withKotlinSetterJvmNameAnnotationsOnIsPrefix​(Boolean value)
      • withGlobalObjectReferences

        public Generate withGlobalObjectReferences​(Boolean value)
      • withGlobalCatalogReferences

        public Generate withGlobalCatalogReferences​(Boolean value)
      • withGlobalSchemaReferences

        public Generate withGlobalSchemaReferences​(Boolean value)
      • withGlobalDomainReferences

        public Generate withGlobalDomainReferences​(Boolean value)
      • withGlobalTableReferences

        public Generate withGlobalTableReferences​(Boolean value)
      • withGlobalSequenceReferences

        public Generate withGlobalSequenceReferences​(Boolean value)
      • withGlobalUDTReferences

        public Generate withGlobalUDTReferences​(Boolean value)
      • withGlobalRoutineReferences

        public Generate withGlobalRoutineReferences​(Boolean value)
      • withGlobalQueueReferences

        public Generate withGlobalQueueReferences​(Boolean value)
      • withGlobalLinkReferences

        public Generate withGlobalLinkReferences​(Boolean value)
      • withGlobalKeyReferences

        public Generate withGlobalKeyReferences​(Boolean value)
      • withGlobalIndexReferences

        public Generate withGlobalIndexReferences​(Boolean value)
      • withCommentsOnCatalogs

        public Generate withCommentsOnCatalogs​(Boolean value)
      • withCommentsOnSchemas

        public Generate withCommentsOnSchemas​(Boolean value)
      • withCommentsOnTables

        public Generate withCommentsOnTables​(Boolean value)
      • withCommentsOnColumns

        public Generate withCommentsOnColumns​(Boolean value)
      • withCommentsOnEmbeddables

        public Generate withCommentsOnEmbeddables​(Boolean value)
      • withCommentsOnUDTs

        public Generate withCommentsOnUDTs​(Boolean value)
      • withCommentsOnAttributes

        public Generate withCommentsOnAttributes​(Boolean value)
      • withCommentsOnPackages

        public Generate withCommentsOnPackages​(Boolean value)
      • withCommentsOnRoutines

        public Generate withCommentsOnRoutines​(Boolean value)
      • withCommentsOnParameters

        public Generate withCommentsOnParameters​(Boolean value)
      • withCommentsOnSequences

        public Generate withCommentsOnSequences​(Boolean value)
      • withCommentsOnLinks

        public Generate withCommentsOnLinks​(Boolean value)
      • withCommentsOnQueues

        public Generate withCommentsOnQueues​(Boolean value)
      • withCommentsOnKeys

        public Generate withCommentsOnKeys​(Boolean value)
      • withSourcesOnViews

        public Generate withSourcesOnViews​(Boolean value)
      • withJavaBeansGettersAndSetters

        public Generate withJavaBeansGettersAndSetters​(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 is 0.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object