Class Generate

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:
  • Field Details

    • indexes

      protected Boolean indexes
    • relations

      protected Boolean relations
    • sequenceFlags

      protected Boolean sequenceFlags
    • implicitJoinPathsToOne

      protected Boolean implicitJoinPathsToOne
    • implicitJoinPathsUseTableNameForUnambiguousFKs

      protected Boolean implicitJoinPathsUseTableNameForUnambiguousFKs
    • implicitJoinPathsAsKotlinProperties

      protected Boolean implicitJoinPathsAsKotlinProperties
    • 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
    • generatedAnnotationJooqVersion

      protected Boolean generatedAnnotationJooqVersion
    • 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
    • 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
    • jooqVersionReference

      protected Boolean jooqVersionReference
    • jpaAnnotations

      protected Boolean jpaAnnotations
    • jpaVersion

      protected String jpaVersion
    • validationAnnotations

      protected Boolean validationAnnotations
    • springAnnotations

      protected Boolean springAnnotations
    • springDao

      protected Boolean springDao
    • kotlinSetterJvmNameAnnotationsOnIsPrefix

      protected Boolean kotlinSetterJvmNameAnnotationsOnIsPrefix
    • kotlinNotNullPojoAttributes

      protected Boolean kotlinNotNullPojoAttributes
    • kotlinNotNullRecordAttributes

      protected Boolean kotlinNotNullRecordAttributes
    • kotlinNotNullInterfaceAttributes

      protected Boolean kotlinNotNullInterfaceAttributes
    • 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
    • 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
    • spatialTypes

      protected Boolean spatialTypes
    • xmlTypes

      protected Boolean xmlTypes
    • jsonTypes

      protected Boolean jsonTypes
    • intervalTypes

      protected Boolean intervalTypes
    • newline

      protected String newline
    • indentation

      protected String indentation
    • printMarginForBlockComment

      protected Integer printMarginForBlockComment
    • textBlocks

      protected GeneratedTextBlocks textBlocks
  • Constructor Details

    • Generate

      public Generate()
  • Method Details

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

      public Boolean isImplicitJoinPathsUseTableNameForUnambiguousFKs()
      Whether names of unambiguous ForeignKeyDefinition should be based on the referenced TableDefinition.

      When a child table has only one ForeignKeyDefinition towards a parent table, then that path is "unambiguous." In that case, some

      invalid @link
      GeneratorStrategy
      implementations may choose to use the parent table's TableDefinition for implementations of
      invalid @link
      org.jooq.codegen.GeneratorStrategy#getJavaMethodName(Definition)
      , instead of the ForeignKeyDefinition, e.g. for implicit join paths.

      This flag allows for turning off this default behaviour.

      Returns:
      possible object is Boolean
    • setImplicitJoinPathsUseTableNameForUnambiguousFKs

      public void setImplicitJoinPathsUseTableNameForUnambiguousFKs(Boolean value)
      Sets the value of the implicitJoinPathsUseTableNameForUnambiguousFKs property.
      Parameters:
      value - allowed object is Boolean
    • isImplicitJoinPathsAsKotlinProperties

      public Boolean isImplicitJoinPathsAsKotlinProperties()
      Whether implicit join path constructors should be offered as properties in Kotlin.
      Returns:
      possible object is Boolean
    • setImplicitJoinPathsAsKotlinProperties

      public void setImplicitJoinPathsAsKotlinProperties(Boolean value)
      Sets the value of the implicitJoinPathsAsKotlinProperties 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 to identify columns, attributes, and parameters, which may not be usable through jOOQ API, without adding custom data type bindings to them.
      Returns:
      possible object is Boolean
    • setDeprecationOnUnknownTypes

      public void setDeprecationOnUnknownTypes(Boolean value)
      Sets the value of the deprecationOnUnknownTypes property.
      Parameters:
      value - allowed object is Boolean
    • 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 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
    • isGeneratedAnnotationJooqVersion

      public Boolean isGeneratedAnnotationJooqVersion()
      Whether the Generated annotation should include the jOOQ version.
      Returns:
      possible object is Boolean
    • setGeneratedAnnotationJooqVersion

      public void setGeneratedAnnotationJooqVersion(Boolean value)
      Sets the value of the generatedAnnotationJooqVersion 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
      invalid @link
      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
      invalid @link
      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
      invalid @link
      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
      invalid @link
      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
    • isConstructorPropertiesAnnotationOnPojos

      public Boolean isConstructorPropertiesAnnotationOnPojos()
      Generate the ConstructorProperties annotation on generated POJOs (defaults to true if constructorPropertiesAnnotation is active).
      Returns:
      possible object is Boolean
    • setConstructorPropertiesAnnotationOnPojos

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

      public Boolean isConstructorPropertiesAnnotationOnRecords()
      Generate the ConstructorProperties annotation on generated records (defaults to true if constructorPropertiesAnnotation is active).
      Returns:
      possible 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
    • isJooqVersionReference

      public Boolean isJooqVersionReference()
      Generate references to the most up to date minor release in Constants to produce compilation errors if an outdated runtime library is being used.
      Returns:
      possible object is Boolean
    • setJooqVersionReference

      public void setJooqVersionReference(Boolean value)
      Sets the value of the jooqVersionReference 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
    • isSpringDao

      public Boolean isSpringDao()
      Generate an AbstractSpringDAOImpl as a base class for other DAO classes, containing @Transactional annotations, etc.
      Returns:
      possible object is Boolean
    • setSpringDao

      public void setSpringDao(Boolean value)
      Sets the value of the springDao 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
    • isKotlinNotNullPojoAttributes

      public Boolean isKotlinNotNullPojoAttributes()
      Generate non-nullable types on POJO attributes, where column is not null.
      Returns:
      possible object is Boolean
    • setKotlinNotNullPojoAttributes

      public void setKotlinNotNullPojoAttributes(Boolean value)
      Sets the value of the kotlinNotNullPojoAttributes property.
      Parameters:
      value - allowed object is Boolean
    • isKotlinNotNullRecordAttributes

      public Boolean isKotlinNotNullRecordAttributes()
      Generate non-nullable types on Record attributes, where column is not null.
      Returns:
      possible object is Boolean
    • setKotlinNotNullRecordAttributes

      public void setKotlinNotNullRecordAttributes(Boolean value)
      Sets the value of the kotlinNotNullRecordAttributes property.
      Parameters:
      value - allowed object is Boolean
    • isKotlinNotNullInterfaceAttributes

      public Boolean isKotlinNotNullInterfaceAttributes()
      Generate non-nullable types on interface attributes, where column is not null.
      Returns:
      possible object is Boolean
    • setKotlinNotNullInterfaceAttributes

      public void setKotlinNotNullInterfaceAttributes(Boolean value)
      Sets the value of the kotlinNotNullInterfaceAttributes 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
    • isSpatialTypes

      public Boolean isSpatialTypes()
      A flag indicating whether the spatial type support should be enabled.
      Returns:
      possible object is Boolean
    • setSpatialTypes

      public void setSpatialTypes(Boolean value)
      Sets the value of the spatialTypes property.
      Parameters:
      value - allowed object is Boolean
    • isXmlTypes

      public Boolean isXmlTypes()
      A flag indicating whether the XML type support should be enabled.
      Returns:
      possible object is Boolean
    • setXmlTypes

      public void setXmlTypes(Boolean value)
      Sets the value of the xmlTypes property.
      Parameters:
      value - allowed object is Boolean
    • isJsonTypes

      public Boolean isJsonTypes()
      A flag indicating whether the JSON type support should be enabled.
      Returns:
      possible object is Boolean
    • setJsonTypes

      public void setJsonTypes(Boolean value)
      Sets the value of the jsonTypes property.
      Parameters:
      value - allowed object is Boolean
    • isIntervalTypes

      public Boolean isIntervalTypes()
      A flag indicating whether the INTERVAL type support should be enabled.
      Returns:
      possible object is Boolean
    • setIntervalTypes

      public void setIntervalTypes(Boolean value)
      Sets the value of the intervalTypes 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.
    • getTextBlocks

      public GeneratedTextBlocks getTextBlocks()
      Whether to generate String in text block format.
    • setTextBlocks

      public void setTextBlocks(GeneratedTextBlocks value)
      Whether to generate String in text block format.
    • withIndexes

      public Generate withIndexes(Boolean value)
    • withRelations

      public Generate withRelations(Boolean value)
    • withSequenceFlags

      public Generate withSequenceFlags(Boolean value)
    • withImplicitJoinPathsToOne

      public Generate withImplicitJoinPathsToOne(Boolean value)
    • withImplicitJoinPathsUseTableNameForUnambiguousFKs

      public Generate withImplicitJoinPathsUseTableNameForUnambiguousFKs(Boolean value)
    • withImplicitJoinPathsAsKotlinProperties

      public Generate withImplicitJoinPathsAsKotlinProperties(Boolean value)
    • withDeprecated

      public Generate withDeprecated(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)
    • withGeneratedAnnotationType

      public Generate withGeneratedAnnotationType(GeneratedAnnotationType value)
      Generate the Generated annotation to indicate jOOQ version used for source code.
    • withGeneratedAnnotationDate

      public Generate withGeneratedAnnotationDate(Boolean value)
    • withGeneratedAnnotationJooqVersion

      public Generate withGeneratedAnnotationJooqVersion(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
      invalid @link
      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
      invalid @link
      javax.annotation.Nullable
      type.
    • withConstructorPropertiesAnnotation

      public Generate withConstructorPropertiesAnnotation(Boolean value)
    • withConstructorPropertiesAnnotationOnPojos

      public Generate withConstructorPropertiesAnnotationOnPojos(Boolean value)
    • withConstructorPropertiesAnnotationOnRecords

      public Generate withConstructorPropertiesAnnotationOnRecords(Boolean value)
    • withRoutines

      public Generate withRoutines(Boolean value)
    • withSequences

      public Generate withSequences(Boolean value)
    • withUdts

      public Generate withUdts(Boolean value)
    • withQueues

      public Generate withQueues(Boolean value)
    • withLinks

      public Generate withLinks(Boolean value)
    • withKeys

      public Generate withKeys(Boolean value)
    • withTables

      public Generate withTables(Boolean value)
    • withEmbeddables

      public Generate withEmbeddables(Boolean value)
    • withRecords

      public Generate withRecords(Boolean value)
    • withRecordsImplementingRecordN

      public Generate withRecordsImplementingRecordN(Boolean value)
    • withEnumsAsScalaSealedTraits

      public Generate withEnumsAsScalaSealedTraits(Boolean value)
    • withPojos

      public Generate withPojos(Boolean value)
    • withPojosEqualsAndHashCode

      public Generate withPojosEqualsAndHashCode(Boolean value)
    • withPojosToString

      public Generate withPojosToString(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)
    • withInterfaces

      public Generate withInterfaces(Boolean value)
    • withImmutableInterfaces

      public Generate withImmutableInterfaces(Boolean value)
    • withSerializableInterfaces

      public Generate withSerializableInterfaces(Boolean value)
    • withDaos

      public Generate withDaos(Boolean value)
    • withJooqVersionReference

      public Generate withJooqVersionReference(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)
    • withSpringDao

      public Generate withSpringDao(Boolean value)
    • withKotlinSetterJvmNameAnnotationsOnIsPrefix

      public Generate withKotlinSetterJvmNameAnnotationsOnIsPrefix(Boolean value)
    • withKotlinNotNullPojoAttributes

      public Generate withKotlinNotNullPojoAttributes(Boolean value)
    • withKotlinNotNullRecordAttributes

      public Generate withKotlinNotNullRecordAttributes(Boolean value)
    • withKotlinNotNullInterfaceAttributes

      public Generate withKotlinNotNullInterfaceAttributes(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)
    • withJavadoc

      public Generate withJavadoc(Boolean value)
    • withComments

      public Generate withComments(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)
    • withSources

      public Generate withSources(Boolean value)
    • withSourcesOnViews

      public Generate withSourcesOnViews(Boolean value)
    • withFluentSetters

      public Generate withFluentSetters(Boolean value)
    • withJavaBeansGettersAndSetters

      public Generate withJavaBeansGettersAndSetters(Boolean value)
    • withVarargSetters

      public Generate withVarargSetters(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\..*

    • withEmptyCatalogs

      public Generate withEmptyCatalogs(Boolean value)
    • withEmptySchemas

      public Generate withEmptySchemas(Boolean value)
    • withJavaTimeTypes

      public Generate withJavaTimeTypes(Boolean value)
    • withSpatialTypes

      public Generate withSpatialTypes(Boolean value)
    • withXmlTypes

      public Generate withXmlTypes(Boolean value)
    • withJsonTypes

      public Generate withJsonTypes(Boolean value)
    • withIntervalTypes

      public Generate withIntervalTypes(Boolean value)
    • 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.
    • withTextBlocks

      public Generate withTextBlocks(GeneratedTextBlocks value)
      Whether to generate String in text block format.
    • appendTo

      public final void appendTo(XMLBuilder builder)
      Specified by:
      appendTo in interface XMLAppendable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object