public class Generate extends Object implements Serializable, XMLAppendable
| Constructor and Description |
|---|
Generate() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(XMLBuilder builder) |
boolean |
equals(Object that) |
String |
getFullyQualifiedTypes()
A regular expression matching all the types in generated code that should be fully qualified.
|
GeneratedAnnotationType |
getGeneratedAnnotationType()
|
GeneratedSerialVersionUID |
getGeneratedSerialVersionUID()
The serial version UID to be generated in all files.
|
String |
getIndentation()
The indentation characters to be used in generated code.
|
String |
getJpaVersion()
Version of JPA specification is to be used to generate version-specific annotations.
|
Integer |
getMaxMembersPerInitialiser()
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.
|
String |
getNewline()
The newline characters to be used in generated code.
|
String |
getNonnullAnnotationType()
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305
Nonnull type. |
String |
getNullableAnnotationType()
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305
Nullable type. |
int |
hashCode() |
Boolean |
isComments()
Turn off generation of all SQL comments as Javadoc on all objects.
|
Boolean |
isCommentsOnAttributes()
Turn off generation of all SQL comments as Javadoc on all attributes.
|
Boolean |
isCommentsOnCatalogs()
Turn off generation of all SQL comments as Javadoc on all catalogs.
|
Boolean |
isCommentsOnColumns()
Turn off generation of all SQL comments as Javadoc on all columns.
|
Boolean |
isCommentsOnEmbeddables()
Turn off generation of all SQL comments as Javadoc on all embeddables.
|
Boolean |
isCommentsOnKeys()
Turn off generation of all SQL comments as Javadoc on all keys.
|
Boolean |
isCommentsOnLinks()
Turn off generation of all SQL comments as Javadoc on all links.
|
Boolean |
isCommentsOnPackages()
Turn off generation of all SQL comments as Javadoc on all packages.
|
Boolean |
isCommentsOnParameters()
Turn off generation of all SQL comments as Javadoc on all parameters.
|
Boolean |
isCommentsOnQueues()
Turn off generation of all SQL comments as Javadoc on all queues.
|
Boolean |
isCommentsOnRoutines()
Turn off generation of all SQL comments as Javadoc on all routines.
|
Boolean |
isCommentsOnSchemas()
Turn off generation of all SQL comments as Javadoc on all schemas.
|
Boolean |
isCommentsOnSequences()
Turn off generation of all SQL comments as Javadoc on all sequences.
|
Boolean |
isCommentsOnTables()
Turn off generation of all SQL comments as Javadoc on all tables.
|
Boolean |
isCommentsOnUDTs()
Turn off generation of all SQL comments as Javadoc on all UDTs.
|
Boolean |
isConstructorPropertiesAnnotation()
Generate the
ConstructorProperties annotation on generated POJOs and/or records. |
Boolean |
isConstructorPropertiesAnnotationOnPojos()
Generate the
ConstructorProperties annotation on generated POJOs (defaults to true if constructorPropertiesAnnotation is active). |
Boolean |
isConstructorPropertiesAnnotationOnRecords()
Generate the
ConstructorProperties annotation on generated records (defaults to true if constructorPropertiesAnnotation is active). |
Boolean |
isDaos()
Generate DAOs.
|
Boolean |
isDeprecated()
Generate deprecated code for backwards compatibility
|
Boolean |
isDeprecationOnUnknownTypes()
Generate deprecation annotations on references to unknown data types.
|
Boolean |
isEmbeddables()
Generate embeddable classes.
|
Boolean |
isEmptyCatalogs()
Whether empty catalogs (e.g. empty because of
|
Boolean |
isEmptySchemas()
Whether empty schemas (e.g. empty because of
|
Boolean |
isFluentSetters()
Generate fluent setters in records, POJOs, interfaces.
|
Boolean |
isGeneratedAnnotation()
|
Boolean |
isGeneratedAnnotationDate()
|
Boolean |
isGlobalCatalogReferences()
Turn off generation of global catalog references.
|
Boolean |
isGlobalDomainReferences()
Turn off generation of global domain references.
|
Boolean |
isGlobalIndexReferences()
Turn off generation of global index references.
|
Boolean |
isGlobalKeyReferences()
Turn off generation of global key references.
|
Boolean |
isGlobalLinkReferences()
Turn off generation of global database link references.
|
Boolean |
isGlobalObjectReferences()
Turn off generation of all global object references.
|
Boolean |
isGlobalQueueReferences()
Turn off generation of global queue references.
|
Boolean |
isGlobalRoutineReferences()
Turn off generation of global routine references.
|
Boolean |
isGlobalSchemaReferences()
Turn off generation of global schema references.
|
Boolean |
isGlobalSequenceReferences()
Turn off generation of global sequence references.
|
Boolean |
isGlobalTableReferences()
Turn off generation of global table references.
|
Boolean |
isGlobalUDTReferences()
Turn off generation of global UDT references.
|
Boolean |
isImmutableInterfaces()
Generate immutable interfaces.
|
Boolean |
isImmutablePojos()
Generate immutable POJOs.
|
Boolean |
isImplicitJoinPathsToOne()
Generate implicit join path constructors on generated tables for outgoing foreign key relationships (to-one relationships)
|
Boolean |
isIndexes()
Generate index information.
|
Boolean |
isInstanceFields()
Deprecated.
|
Boolean |
isInterfaces()
Generated interfaces to be implemented by records and/or POJOs.
|
Boolean |
isJavaBeansGettersAndSetters()
Modify DefaultGeneratorStrategy behaviour to generate getters and setters in JavaBeans style in records, POJOs, interfaces.
|
Boolean |
isJavadoc()
Turn off generation of Javadoc on all objects.
|
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.
|
Boolean |
isJpaAnnotations()
Annotate POJOs and Records with JPA annotations.
|
Boolean |
isKeys()
Generate Key classes.
|
Boolean |
isLinks()
Generate database Link classes.
|
Boolean |
isNonnullAnnotation()
Whether non-nullable items should be annotated with the annotation type specified in
nonnullAnnotationType. |
Boolean |
isNullableAnnotation()
Whether nullable items should be annotated with the annotation type specified in
nullableAnnotationType. |
Boolean |
isPojos()
Generate POJOs.
|
Boolean |
isPojosAsJavaRecordClasses()
Generate POJOs as records, when using the JavaGenerator.
|
Boolean |
isPojosAsKotlinDataClasses()
Generate POJOs as data classes, when using the KotlinGenerator.
|
Boolean |
isPojosAsScalaCaseClasses()
Generate POJOs as case classes, when using the ScalaGenerator.
|
Boolean |
isPojosEqualsAndHashCode()
Generate basic equals() and hashCode() methods in POJOs.
|
Boolean |
isPojosToString()
Generate basic toString() methods in POJOs.
|
Boolean |
isQueues()
Generate Queue classes.
|
Boolean |
isRecords()
Generate TableRecord classes.
|
Boolean |
isRecordsImplementingRecordN()
Generate TableRecord classes that implement Record[N] super types
|
Boolean |
isRelations()
Primary key / foreign key relations should be generated and used.
|
Boolean |
isRoutines()
Generate Routine classes.
|
Boolean |
isSequenceFlags()
Sequence flags should be generated and used.
|
Boolean |
isSequences()
Generate Sequence classes.
|
Boolean |
isSerializableInterfaces()
Generate serializable interfaces.
|
Boolean |
isSerializablePojos()
Generate serializable POJOs.
|
Boolean |
isSources()
Turn off generation of all source code on all object types.
|
Boolean |
isSourcesOnViews()
Turn off generation of all source code on all views.
|
Boolean |
isSpringAnnotations()
Annotate DAOs with useful spring annotations such as @Repository or @Autowired.
|
Boolean |
isTables()
Generate Table classes.
|
Boolean |
isUdts()
Generate UDT classes.
|
Boolean |
isValidationAnnotations()
Annotate POJOs and Records with JSR-303 validation annotations
|
Boolean |
isVarargSetters()
Generate varargs setters for array types for convenience.
|
void |
setComments(Boolean value)
Sets the value of the comments property.
|
void |
setCommentsOnAttributes(Boolean value)
Sets the value of the commentsOnAttributes property.
|
void |
setCommentsOnCatalogs(Boolean value)
Sets the value of the commentsOnCatalogs property.
|
void |
setCommentsOnColumns(Boolean value)
Sets the value of the commentsOnColumns property.
|
void |
setCommentsOnEmbeddables(Boolean value)
Sets the value of the commentsOnEmbeddables property.
|
void |
setCommentsOnKeys(Boolean value)
Sets the value of the commentsOnKeys property.
|
void |
setCommentsOnLinks(Boolean value)
Sets the value of the commentsOnLinks property.
|
void |
setCommentsOnPackages(Boolean value)
Sets the value of the commentsOnPackages property.
|
void |
setCommentsOnParameters(Boolean value)
Sets the value of the commentsOnParameters property.
|
void |
setCommentsOnQueues(Boolean value)
Sets the value of the commentsOnQueues property.
|
void |
setCommentsOnRoutines(Boolean value)
Sets the value of the commentsOnRoutines property.
|
void |
setCommentsOnSchemas(Boolean value)
Sets the value of the commentsOnSchemas property.
|
void |
setCommentsOnSequences(Boolean value)
Sets the value of the commentsOnSequences property.
|
void |
setCommentsOnTables(Boolean value)
Sets the value of the commentsOnTables property.
|
void |
setCommentsOnUDTs(Boolean value)
Sets the value of the commentsOnUDTs property.
|
void |
setConstructorPropertiesAnnotation(Boolean value)
Sets the value of the constructorPropertiesAnnotation property.
|
void |
setConstructorPropertiesAnnotationOnPojos(Boolean value)
Sets the value of the constructorPropertiesAnnotationOnPojos property.
|
void |
setConstructorPropertiesAnnotationOnRecords(Boolean value)
Sets the value of the constructorPropertiesAnnotationOnRecords property.
|
void |
setDaos(Boolean value)
Sets the value of the daos property.
|
void |
setDeprecated(Boolean value)
Sets the value of the deprecated property.
|
void |
setDeprecationOnUnknownTypes(Boolean value)
Sets the value of the deprecationOnUnknownTypes property.
|
void |
setEmbeddables(Boolean value)
Sets the value of the embeddables property.
|
void |
setEmptyCatalogs(Boolean value)
Sets the value of the emptyCatalogs property.
|
void |
setEmptySchemas(Boolean value)
Sets the value of the emptySchemas property.
|
void |
setFluentSetters(Boolean value)
Sets the value of the fluentSetters property.
|
void |
setFullyQualifiedTypes(String value)
A regular expression matching all the types in generated code that should be fully qualified.
|
void |
setGeneratedAnnotation(Boolean value)
Sets the value of the generatedAnnotation property.
|
void |
setGeneratedAnnotationDate(Boolean value)
Sets the value of the generatedAnnotationDate property.
|
void |
setGeneratedAnnotationType(GeneratedAnnotationType value)
|
void |
setGeneratedSerialVersionUID(GeneratedSerialVersionUID value)
The serial version UID to be generated in all files.
|
void |
setGlobalCatalogReferences(Boolean value)
Sets the value of the globalCatalogReferences property.
|
void |
setGlobalDomainReferences(Boolean value)
Sets the value of the globalDomainReferences property.
|
void |
setGlobalIndexReferences(Boolean value)
Sets the value of the globalIndexReferences property.
|
void |
setGlobalKeyReferences(Boolean value)
Sets the value of the globalKeyReferences property.
|
void |
setGlobalLinkReferences(Boolean value)
Sets the value of the globalLinkReferences property.
|
void |
setGlobalObjectReferences(Boolean value)
Sets the value of the globalObjectReferences property.
|
void |
setGlobalQueueReferences(Boolean value)
Sets the value of the globalQueueReferences property.
|
void |
setGlobalRoutineReferences(Boolean value)
Sets the value of the globalRoutineReferences property.
|
void |
setGlobalSchemaReferences(Boolean value)
Sets the value of the globalSchemaReferences property.
|
void |
setGlobalSequenceReferences(Boolean value)
Sets the value of the globalSequenceReferences property.
|
void |
setGlobalTableReferences(Boolean value)
Sets the value of the globalTableReferences property.
|
void |
setGlobalUDTReferences(Boolean value)
Sets the value of the globalUDTReferences property.
|
void |
setImmutableInterfaces(Boolean value)
Sets the value of the immutableInterfaces property.
|
void |
setImmutablePojos(Boolean value)
Sets the value of the immutablePojos property.
|
void |
setImplicitJoinPathsToOne(Boolean value)
Sets the value of the implicitJoinPathsToOne property.
|
void |
setIndentation(String value)
The indentation characters to be used in generated code.
|
void |
setIndexes(Boolean value)
Sets the value of the indexes property.
|
void |
setInstanceFields(Boolean value)
Deprecated.
|
void |
setInterfaces(Boolean value)
Sets the value of the interfaces property.
|
void |
setJavaBeansGettersAndSetters(Boolean value)
Sets the value of the javaBeansGettersAndSetters property.
|
void |
setJavadoc(Boolean value)
Sets the value of the javadoc property.
|
void |
setJavaTimeTypes(Boolean value)
Sets the value of the javaTimeTypes property.
|
void |
setJpaAnnotations(Boolean value)
Sets the value of the jpaAnnotations property.
|
void |
setJpaVersion(String value)
Version of JPA specification is to be used to generate version-specific annotations.
|
void |
setKeys(Boolean value)
Sets the value of the keys property.
|
void |
setLinks(Boolean value)
Sets the value of the links property.
|
void |
setMaxMembersPerInitialiser(Integer value)
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.
|
void |
setNewline(String value)
The newline characters to be used in generated code.
|
void |
setNonnullAnnotation(Boolean value)
Sets the value of the nonnullAnnotation property.
|
void |
setNonnullAnnotationType(String value)
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305
Nonnull type. |
void |
setNullableAnnotation(Boolean value)
Sets the value of the nullableAnnotation property.
|
void |
setNullableAnnotationType(String value)
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305
Nullable type. |
void |
setPojos(Boolean value)
Sets the value of the pojos property.
|
void |
setPojosAsJavaRecordClasses(Boolean value)
Sets the value of the pojosAsJavaRecordClasses property.
|
void |
setPojosAsKotlinDataClasses(Boolean value)
Sets the value of the pojosAsKotlinDataClasses property.
|
void |
setPojosAsScalaCaseClasses(Boolean value)
Sets the value of the pojosAsScalaCaseClasses property.
|
void |
setPojosEqualsAndHashCode(Boolean value)
Sets the value of the pojosEqualsAndHashCode property.
|
void |
setPojosToString(Boolean value)
Sets the value of the pojosToString property.
|
void |
setQueues(Boolean value)
Sets the value of the queues property.
|
void |
setRecords(Boolean value)
Sets the value of the records property.
|
void |
setRecordsImplementingRecordN(Boolean value)
Sets the value of the recordsImplementingRecordN property.
|
void |
setRelations(Boolean value)
Sets the value of the relations property.
|
void |
setRoutines(Boolean value)
Sets the value of the routines property.
|
void |
setSequenceFlags(Boolean value)
Sets the value of the sequenceFlags property.
|
void |
setSequences(Boolean value)
Sets the value of the sequences property.
|
void |
setSerializableInterfaces(Boolean value)
Sets the value of the serializableInterfaces property.
|
void |
setSerializablePojos(Boolean value)
Sets the value of the serializablePojos property.
|
void |
setSources(Boolean value)
Sets the value of the sources property.
|
void |
setSourcesOnViews(Boolean value)
Sets the value of the sourcesOnViews property.
|
void |
setSpringAnnotations(Boolean value)
Sets the value of the springAnnotations property.
|
void |
setTables(Boolean value)
Sets the value of the tables property.
|
void |
setUdts(Boolean value)
Sets the value of the udts property.
|
void |
setValidationAnnotations(Boolean value)
Sets the value of the validationAnnotations property.
|
void |
setVarargSetters(Boolean value)
Sets the value of the varargSetters property.
|
String |
toString() |
Generate |
withComments(Boolean value) |
Generate |
withCommentsOnAttributes(Boolean value) |
Generate |
withCommentsOnCatalogs(Boolean value) |
Generate |
withCommentsOnColumns(Boolean value) |
Generate |
withCommentsOnEmbeddables(Boolean value) |
Generate |
withCommentsOnKeys(Boolean value) |
Generate |
withCommentsOnLinks(Boolean value) |
Generate |
withCommentsOnPackages(Boolean value) |
Generate |
withCommentsOnParameters(Boolean value) |
Generate |
withCommentsOnQueues(Boolean value) |
Generate |
withCommentsOnRoutines(Boolean value) |
Generate |
withCommentsOnSchemas(Boolean value) |
Generate |
withCommentsOnSequences(Boolean value) |
Generate |
withCommentsOnTables(Boolean value) |
Generate |
withCommentsOnUDTs(Boolean value) |
Generate |
withConstructorPropertiesAnnotation(Boolean value) |
Generate |
withConstructorPropertiesAnnotationOnPojos(Boolean value) |
Generate |
withConstructorPropertiesAnnotationOnRecords(Boolean value) |
Generate |
withDaos(Boolean value) |
Generate |
withDeprecated(Boolean value) |
Generate |
withDeprecationOnUnknownTypes(Boolean value) |
Generate |
withEmbeddables(Boolean value) |
Generate |
withEmptyCatalogs(Boolean value) |
Generate |
withEmptySchemas(Boolean value) |
Generate |
withFluentSetters(Boolean value) |
Generate |
withFullyQualifiedTypes(String value)
A regular expression matching all the types in generated code that should be fully qualified.
|
Generate |
withGeneratedAnnotation(Boolean value) |
Generate |
withGeneratedAnnotationDate(Boolean value) |
Generate |
withGeneratedAnnotationType(GeneratedAnnotationType value)
|
Generate |
withGeneratedSerialVersionUID(GeneratedSerialVersionUID value)
The serial version UID to be generated in all files.
|
Generate |
withGlobalCatalogReferences(Boolean value) |
Generate |
withGlobalDomainReferences(Boolean value) |
Generate |
withGlobalIndexReferences(Boolean value) |
Generate |
withGlobalKeyReferences(Boolean value) |
Generate |
withGlobalLinkReferences(Boolean value) |
Generate |
withGlobalObjectReferences(Boolean value) |
Generate |
withGlobalQueueReferences(Boolean value) |
Generate |
withGlobalRoutineReferences(Boolean value) |
Generate |
withGlobalSchemaReferences(Boolean value) |
Generate |
withGlobalSequenceReferences(Boolean value) |
Generate |
withGlobalTableReferences(Boolean value) |
Generate |
withGlobalUDTReferences(Boolean value) |
Generate |
withImmutableInterfaces(Boolean value) |
Generate |
withImmutablePojos(Boolean value) |
Generate |
withImplicitJoinPathsToOne(Boolean value) |
Generate |
withIndentation(String value)
The indentation characters to be used in generated code.
|
Generate |
withIndexes(Boolean value) |
Generate |
withInstanceFields(Boolean value) |
Generate |
withInterfaces(Boolean value) |
Generate |
withJavaBeansGettersAndSetters(Boolean value) |
Generate |
withJavadoc(Boolean value) |
Generate |
withJavaTimeTypes(Boolean value) |
Generate |
withJpaAnnotations(Boolean value) |
Generate |
withJpaVersion(String value)
Version of JPA specification is to be used to generate version-specific annotations.
|
Generate |
withKeys(Boolean value) |
Generate |
withLinks(Boolean value) |
Generate |
withMaxMembersPerInitialiser(Integer value)
The maximum number of members per initialiser, to prevent reaching the 64kb byte code per method limit in generated code.
|
Generate |
withNewline(String value)
The newline characters to be used in generated code.
|
Generate |
withNonnullAnnotation(Boolean value) |
Generate |
withNonnullAnnotationType(String value)
Specify the qualified annotation name for all non-nullable items in generated code, defaulting to the JSR-305
Nonnull type. |
Generate |
withNullableAnnotation(Boolean value) |
Generate |
withNullableAnnotationType(String value)
Specify the qualified annotation name for all nullable items in generated code, defaulting to the JSR-305
Nullable type. |
Generate |
withPojos(Boolean value) |
Generate |
withPojosAsJavaRecordClasses(Boolean value) |
Generate |
withPojosAsKotlinDataClasses(Boolean value) |
Generate |
withPojosAsScalaCaseClasses(Boolean value) |
Generate |
withPojosEqualsAndHashCode(Boolean value) |
Generate |
withPojosToString(Boolean value) |
Generate |
withQueues(Boolean value) |
Generate |
withRecords(Boolean value) |
Generate |
withRecordsImplementingRecordN(Boolean value) |
Generate |
withRelations(Boolean value) |
Generate |
withRoutines(Boolean value) |
Generate |
withSequenceFlags(Boolean value) |
Generate |
withSequences(Boolean value) |
Generate |
withSerializableInterfaces(Boolean value) |
Generate |
withSerializablePojos(Boolean value) |
Generate |
withSources(Boolean value) |
Generate |
withSourcesOnViews(Boolean value) |
Generate |
withSpringAnnotations(Boolean value) |
Generate |
withTables(Boolean value) |
Generate |
withUdts(Boolean value) |
Generate |
withValidationAnnotations(Boolean value) |
Generate |
withVarargSetters(Boolean value) |
protected Boolean indexes
protected Boolean relations
protected Boolean sequenceFlags
protected Boolean implicitJoinPathsToOne
protected Boolean deprecated
protected Boolean deprecationOnUnknownTypes
protected Boolean instanceFields
protected Boolean generatedAnnotation
protected GeneratedAnnotationType generatedAnnotationType
protected Boolean generatedAnnotationDate
protected Boolean nonnullAnnotation
protected String nonnullAnnotationType
protected Boolean nullableAnnotation
protected String nullableAnnotationType
protected Boolean constructorPropertiesAnnotation
protected Boolean constructorPropertiesAnnotationOnPojos
protected Boolean constructorPropertiesAnnotationOnRecords
protected Boolean routines
protected Boolean sequences
protected Boolean udts
protected Boolean queues
protected Boolean links
protected Boolean keys
protected Boolean tables
protected Boolean embeddables
protected Boolean records
protected Boolean recordsImplementingRecordN
protected Boolean pojos
protected Boolean pojosEqualsAndHashCode
protected Boolean pojosToString
protected Boolean pojosAsJavaRecordClasses
protected Boolean pojosAsScalaCaseClasses
protected Boolean pojosAsKotlinDataClasses
protected Boolean immutablePojos
protected Boolean serializablePojos
protected Boolean interfaces
protected Boolean immutableInterfaces
protected Boolean serializableInterfaces
protected Boolean daos
protected Boolean jpaAnnotations
protected String jpaVersion
protected Boolean validationAnnotations
protected Boolean springAnnotations
protected Boolean globalObjectReferences
protected Boolean globalCatalogReferences
protected Boolean globalSchemaReferences
protected Boolean globalDomainReferences
protected Boolean globalTableReferences
protected Boolean globalSequenceReferences
protected Boolean globalUDTReferences
protected Boolean globalRoutineReferences
protected Boolean globalQueueReferences
protected Boolean globalLinkReferences
protected Boolean globalKeyReferences
protected Boolean globalIndexReferences
protected Boolean javadoc
protected Boolean comments
protected Boolean commentsOnCatalogs
protected Boolean commentsOnSchemas
protected Boolean commentsOnTables
protected Boolean commentsOnColumns
protected Boolean commentsOnEmbeddables
protected Boolean commentsOnUDTs
protected Boolean commentsOnAttributes
protected Boolean commentsOnPackages
protected Boolean commentsOnRoutines
protected Boolean commentsOnParameters
protected Boolean commentsOnSequences
protected Boolean commentsOnLinks
protected Boolean commentsOnQueues
protected Boolean commentsOnKeys
protected Boolean sources
protected Boolean sourcesOnViews
protected Boolean fluentSetters
protected Boolean javaBeansGettersAndSetters
protected Boolean varargSetters
protected GeneratedSerialVersionUID generatedSerialVersionUID
protected Integer maxMembersPerInitialiser
protected String fullyQualifiedTypes
protected Boolean emptyCatalogs
protected Boolean emptySchemas
protected Boolean javaTimeTypes
protected String newline
protected String indentation
public Boolean isIndexes()
Booleanpublic void setIndexes(Boolean value)
value - allowed object is
Booleanpublic Boolean isRelations()
Booleanpublic void setRelations(Boolean value)
value - allowed object is
Booleanpublic Boolean isSequenceFlags()
Booleanpublic void setSequenceFlags(Boolean value)
value - allowed object is
Booleanpublic Boolean isImplicitJoinPathsToOne()
Booleanpublic void setImplicitJoinPathsToOne(Boolean value)
value - allowed object is
Booleanpublic Boolean isDeprecated()
Booleanpublic void setDeprecated(Boolean value)
value - allowed object is
Booleanpublic Boolean isDeprecationOnUnknownTypes()
Booleanpublic void setDeprecationOnUnknownTypes(Boolean value)
value - allowed object is
Boolean@Deprecated public Boolean isInstanceFields()
Boolean@Deprecated public void setInstanceFields(Boolean value)
value - allowed object is
Booleanpublic void setGeneratedAnnotation(Boolean value)
value - allowed object is
Booleanpublic GeneratedAnnotationType getGeneratedAnnotationType()
public void setGeneratedAnnotationType(GeneratedAnnotationType value)
public Boolean isGeneratedAnnotationDate()
Booleanpublic void setGeneratedAnnotationDate(Boolean value)
value - allowed object is
Booleanpublic Boolean isNonnullAnnotation()
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!Booleanpublic void setNonnullAnnotation(Boolean value)
value - allowed object is
Booleanpublic String getNonnullAnnotationType()
Nonnull type.public void setNonnullAnnotationType(String value)
Nonnull type.public Boolean isNullableAnnotation()
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.Booleanpublic void setNullableAnnotation(Boolean value)
value - allowed object is
Booleanpublic String getNullableAnnotationType()
Nullable type.public void setNullableAnnotationType(String value)
Nullable type.public Boolean isConstructorPropertiesAnnotation()
ConstructorProperties annotation on generated POJOs and/or records.Booleanpublic void setConstructorPropertiesAnnotation(Boolean value)
value - allowed object is
Booleanpublic Boolean isConstructorPropertiesAnnotationOnPojos()
ConstructorProperties annotation on generated POJOs (defaults to true if constructorPropertiesAnnotation is active).Booleanpublic void setConstructorPropertiesAnnotationOnPojos(Boolean value)
value - allowed object is
Booleanpublic Boolean isConstructorPropertiesAnnotationOnRecords()
ConstructorProperties annotation on generated records (defaults to true if constructorPropertiesAnnotation is active).Booleanpublic void setConstructorPropertiesAnnotationOnRecords(Boolean value)
value - allowed object is
Booleanpublic Boolean isRoutines()
Booleanpublic void setRoutines(Boolean value)
value - allowed object is
Booleanpublic Boolean isSequences()
Booleanpublic void setSequences(Boolean value)
value - allowed object is
Booleanpublic void setUdts(Boolean value)
value - allowed object is
Booleanpublic void setQueues(Boolean value)
value - allowed object is
Booleanpublic Boolean isLinks()
Booleanpublic void setLinks(Boolean value)
value - allowed object is
Booleanpublic void setKeys(Boolean value)
value - allowed object is
Booleanpublic void setTables(Boolean value)
value - allowed object is
Booleanpublic Boolean isEmbeddables()
Booleanpublic void setEmbeddables(Boolean value)
value - allowed object is
Booleanpublic Boolean isRecords()
Booleanpublic void setRecords(Boolean value)
value - allowed object is
Booleanpublic Boolean isRecordsImplementingRecordN()
Booleanpublic void setRecordsImplementingRecordN(Boolean value)
value - allowed object is
Booleanpublic void setPojos(Boolean value)
value - allowed object is
Booleanpublic Boolean isPojosEqualsAndHashCode()
Booleanpublic void setPojosEqualsAndHashCode(Boolean value)
value - allowed object is
Booleanpublic Boolean isPojosToString()
Booleanpublic void setPojosToString(Boolean value)
value - allowed object is
Booleanpublic Boolean isPojosAsJavaRecordClasses()
Booleanpublic void setPojosAsJavaRecordClasses(Boolean value)
value - allowed object is
Booleanpublic Boolean isPojosAsScalaCaseClasses()
Booleanpublic void setPojosAsScalaCaseClasses(Boolean value)
value - allowed object is
Booleanpublic Boolean isPojosAsKotlinDataClasses()
Booleanpublic void setPojosAsKotlinDataClasses(Boolean value)
value - allowed object is
Booleanpublic Boolean isImmutablePojos()
Booleanpublic void setImmutablePojos(Boolean value)
value - allowed object is
Booleanpublic Boolean isSerializablePojos()
Booleanpublic void setSerializablePojos(Boolean value)
value - allowed object is
Booleanpublic Boolean isInterfaces()
Booleanpublic void setInterfaces(Boolean value)
value - allowed object is
Booleanpublic Boolean isImmutableInterfaces()
Booleanpublic void setImmutableInterfaces(Boolean value)
value - allowed object is
Booleanpublic Boolean isSerializableInterfaces()
Booleanpublic void setSerializableInterfaces(Boolean value)
value - allowed object is
Booleanpublic void setDaos(Boolean value)
value - allowed object is
Booleanpublic Boolean isJpaAnnotations()
Booleanpublic void setJpaAnnotations(Boolean value)
value - allowed object is
Booleanpublic String getJpaVersion()
public void setJpaVersion(String value)
public Boolean isValidationAnnotations()
Booleanpublic void setValidationAnnotations(Boolean value)
value - allowed object is
Booleanpublic Boolean isSpringAnnotations()
Booleanpublic void setSpringAnnotations(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalObjectReferences()
Booleanpublic void setGlobalObjectReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalCatalogReferences()
Booleanpublic void setGlobalCatalogReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalSchemaReferences()
Booleanpublic void setGlobalSchemaReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalDomainReferences()
Booleanpublic void setGlobalDomainReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalTableReferences()
Booleanpublic void setGlobalTableReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalSequenceReferences()
Booleanpublic void setGlobalSequenceReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalUDTReferences()
Booleanpublic void setGlobalUDTReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalRoutineReferences()
Booleanpublic void setGlobalRoutineReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalQueueReferences()
Booleanpublic void setGlobalQueueReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalLinkReferences()
Booleanpublic void setGlobalLinkReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalKeyReferences()
Booleanpublic void setGlobalKeyReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isGlobalIndexReferences()
Booleanpublic void setGlobalIndexReferences(Boolean value)
value - allowed object is
Booleanpublic Boolean isJavadoc()
Booleanpublic void setJavadoc(Boolean value)
value - allowed object is
Booleanpublic Boolean isComments()
Booleanpublic void setComments(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnCatalogs()
Booleanpublic void setCommentsOnCatalogs(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnSchemas()
Booleanpublic void setCommentsOnSchemas(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnTables()
Booleanpublic void setCommentsOnTables(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnColumns()
Booleanpublic void setCommentsOnColumns(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnEmbeddables()
Booleanpublic void setCommentsOnEmbeddables(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnUDTs()
Booleanpublic void setCommentsOnUDTs(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnAttributes()
Booleanpublic void setCommentsOnAttributes(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnPackages()
Booleanpublic void setCommentsOnPackages(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnRoutines()
Booleanpublic void setCommentsOnRoutines(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnParameters()
Booleanpublic void setCommentsOnParameters(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnSequences()
Booleanpublic void setCommentsOnSequences(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnLinks()
Booleanpublic void setCommentsOnLinks(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnQueues()
Booleanpublic void setCommentsOnQueues(Boolean value)
value - allowed object is
Booleanpublic Boolean isCommentsOnKeys()
Booleanpublic void setCommentsOnKeys(Boolean value)
value - allowed object is
Booleanpublic Boolean isSources()
Booleanpublic void setSources(Boolean value)
value - allowed object is
Booleanpublic Boolean isSourcesOnViews()
Booleanpublic void setSourcesOnViews(Boolean value)
value - allowed object is
Booleanpublic Boolean isFluentSetters()
Booleanpublic void setFluentSetters(Boolean value)
value - allowed object is
Booleanpublic Boolean isJavaBeansGettersAndSetters()
If this flag is set to false, then:
If this flag is set to true, then:
Custom GeneratorStrategy implementations are unaffected
Booleanpublic void setJavaBeansGettersAndSetters(Boolean value)
value - allowed object is
Booleanpublic Boolean isVarargSetters()
This may lead to compilation warnings in current Java versions.
Booleanpublic void setVarargSetters(Boolean value)
value - allowed object is
Booleanpublic GeneratedSerialVersionUID getGeneratedSerialVersionUID()
public void setGeneratedSerialVersionUID(GeneratedSerialVersionUID value)
public Integer getMaxMembersPerInitialiser()
public void setMaxMembersPerInitialiser(Integer value)
public String getFullyQualifiedTypes()
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\..*
public void setFullyQualifiedTypes(String value)
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\..*
public Boolean isEmptyCatalogs()
Booleanpublic void setEmptyCatalogs(Boolean value)
value - allowed object is
Booleanpublic Boolean isEmptySchemas()
Booleanpublic void setEmptySchemas(Boolean value)
value - allowed object is
Booleanpublic Boolean isJavaTimeTypes()
This flag is ignored in the commercial Java 6 distribution of jOOQ 3.9+
Booleanpublic void setJavaTimeTypes(Boolean value)
value - allowed object is
Booleanpublic String getNewline()
public void setNewline(String value)
public String getIndentation()
public void setIndentation(String value)
public Generate withGeneratedAnnotationType(GeneratedAnnotationType value)
public Generate withNonnullAnnotationType(String value)
Nonnull type.public Generate withNullableAnnotationType(String value)
Nullable type.public Generate withConstructorPropertiesAnnotation(Boolean value)
public Generate withConstructorPropertiesAnnotationOnPojos(Boolean value)
public Generate withConstructorPropertiesAnnotationOnRecords(Boolean value)
public Generate withJpaVersion(String value)
public Generate withGeneratedSerialVersionUID(GeneratedSerialVersionUID value)
public Generate withMaxMembersPerInitialiser(Integer value)
public Generate withFullyQualifiedTypes(String value)
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\..*
public Generate withNewline(String value)
public Generate withIndentation(String value)
public final void appendTo(XMLBuilder builder)
appendTo in interface XMLAppendableCopyright © 2021. All rights reserved.