- All Implemented Interfaces:
Serializable,XMLAppendable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Booleanprotected LambdaConverterprotected Stringprotected Nullabilityprotected ForcedTypeObjectTypeprotected Integerprotected Stringprotected Stringprotected Stringprotected VisibilityModifierprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendTo(XMLBuilder builder) booleanABindingimplementation for the custom type.A converter implementation for thegetUserType().A Java regular expression matching columns, parameters, attributes, etc.A Java regular expression matching data types which must not have this type.The same asgetIncludeExpression().The same asgetIncludeExpression().AGeneratorimplementation used for client-side computed columns.A Java regular expression matching columns, parameters, attributes, etc.A Java regular expression matching data types to be forced to have this type.A lambda converter implementation for thegetUserType().getName()The name (inSQLDataType) to force any matches toWhether this forced type should apply to nullable / non-nullable / all columnsWhether this forced type should apply to all object types, or only to specific onesThe priority among forced types in which to apply this one.getSql()A SQL statement that produces a table with one column containing the matched qualified or unqualified column names.getTypes()The same asgetIncludeTypes().The type of the user type - e.g.The visibility modifier to be used in generated code for the column that is matched by this forced type, if applicable.inthashCode()Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.Whether the converter is anEnumConverter.Whether the converter is anorg.jooq.jackson.extensions.converters.JSONtoJacksonConverteror aorg.jooq.jackson.extensions.converters.JSONtoJacksonConverter.Whether the converter is anXMLtoJAXBConverter.voidsetAuditInsertTimestamp(Boolean value) Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.voidsetAuditInsertUser(Boolean value) Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.voidsetAuditUpdateTimestamp(Boolean value) Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.voidsetAuditUpdateUser(Boolean value) Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.voidsetBinding(String value) ABindingimplementation for the custom type.voidsetConverter(String value) A converter implementation for thegetUserType().voidsetEnumConverter(Boolean value) Whether the converter is anEnumConverter.voidsetExcludeExpression(String value) A Java regular expression matching columns, parameters, attributes, etc.voidsetExcludeTypes(String value) A Java regular expression matching data types which must not have this type.voidsetExpression(String value) The same asgetIncludeExpression().voidsetExpressions(String value) The same asgetIncludeExpression().voidsetGenerator(String value) AGeneratorimplementation used for client-side computed columns.voidsetIncludeExpression(String value) A Java regular expression matching columns, parameters, attributes, etc.voidsetIncludeTypes(String value) A Java regular expression matching data types to be forced to have this type.voidsetJsonConverter(Boolean value) Whether the converter is anorg.jooq.jackson.extensions.converters.JSONtoJacksonConverteror aorg.jooq.jackson.extensions.converters.JSONtoJacksonConverter.voidA lambda converter implementation for thegetUserType().voidThe name (inSQLDataType) to force any matches tovoidsetNullability(Nullability value) Whether this forced type should apply to nullable / non-nullable / all columnsvoidWhether this forced type should apply to all object types, or only to specific onesvoidsetPriority(Integer value) The priority among forced types in which to apply this one.voidA SQL statement that produces a table with one column containing the matched qualified or unqualified column names.voidThe same asgetIncludeTypes().voidsetUserType(String value) The type of the user type - e.g.voidThe visibility modifier to be used in generated code for the column that is matched by this forced type, if applicable.voidsetXmlConverter(Boolean value) Whether the converter is anXMLtoJAXBConverter.toString()withAuditInsertTimestamp(Boolean value) Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.withAuditInsertUser(Boolean value) Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.withAuditUpdateTimestamp(Boolean value) Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.withAuditUpdateUser(Boolean value) Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.withBinding(String value) ABindingimplementation for the custom type.withConverter(String value) A converter implementation for thegetUserType().withEnumConverter(Boolean value) Whether the converter is anEnumConverter.withExcludeExpression(String value) A Java regular expression matching columns, parameters, attributes, etc.withExcludeTypes(String value) A Java regular expression matching data types which must not have this type.withExpression(String value) The same asgetIncludeExpression().withExpressions(String value) The same asgetIncludeExpression().withGenerator(String value) AGeneratorimplementation used for client-side computed columns.withIncludeExpression(String value) A Java regular expression matching columns, parameters, attributes, etc.withIncludeTypes(String value) A Java regular expression matching data types to be forced to have this type.withJsonConverter(Boolean value) Whether the converter is anorg.jooq.jackson.extensions.converters.JSONtoJacksonConverteror aorg.jooq.jackson.extensions.converters.JSONtoJacksonConverter.A lambda converter implementation for thegetUserType().The name (inSQLDataType) to force any matches towithNullability(Nullability value) Whether this forced type should apply to nullable / non-nullable / all columnsWhether this forced type should apply to all object types, or only to specific oneswithPriority(Integer value) The priority among forced types in which to apply this one.A SQL statement that produces a table with one column containing the matched qualified or unqualified column names.The same asgetIncludeTypes().withUserType(String value) The type of the user type - e.g.The visibility modifier to be used in generated code for the column that is matched by this forced type, if applicable.withXmlConverter(Boolean value) Whether the converter is anXMLtoJAXBConverter.
-
Field Details
-
priority
-
name
-
userType
-
visibilityModifier
-
generator
-
auditInsertTimestamp
-
auditInsertUser
-
auditUpdateTimestamp
-
auditUpdateUser
-
converter
-
enumConverter
-
xmlConverter
-
jsonConverter
-
lambdaConverter
-
binding
-
excludeExpression
-
includeExpression
-
expression
-
expressions
-
sql
-
excludeTypes
-
includeTypes
-
types
-
nullability
-
objectType
-
-
Constructor Details
-
ForcedType
public ForcedType()
-
-
Method Details
-
getPriority
The priority among forced types in which to apply this one. Forced types of equal priority will be applied in the order in which they're added to the forced types list (e.g. the Maven lexical XML order) -
setPriority
The priority among forced types in which to apply this one. Forced types of equal priority will be applied in the order in which they're added to the forced types list (e.g. the Maven lexical XML order) -
getName
The name (inSQLDataType) to force any matches to -
setName
The name (inSQLDataType) to force any matches to -
getUserType
The type of the user type - e.g. java.time.LocalDateTime.If provided,
getName()will be ignored, and eithergetConverter()orgetBinding()is required -
setUserType
The type of the user type - e.g. java.time.LocalDateTime.If provided,
getName()will be ignored, and eithergetConverter()orgetBinding()is required -
getVisibilityModifier
The visibility modifier to be used in generated code for the column that is matched by this forced type, if applicable.This has no effect on matched objects that are not columns.
This feature is available in the commercial distribution only.
-
setVisibilityModifier
The visibility modifier to be used in generated code for the column that is matched by this forced type, if applicable.This has no effect on matched objects that are not columns.
This feature is available in the commercial distribution only.
-
getGenerator
AGeneratorimplementation used for client-side computed columns.This has no effect on matched objects that are not columns.
This feature is available in the commercial distribution only.
-
setGenerator
AGeneratorimplementation used for client-side computed columns.This has no effect on matched objects that are not columns.
This feature is available in the commercial distribution only.
-
isAuditInsertTimestamp
Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setAuditInsertTimestamp
Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Parameters:
value- allowed object isBoolean
-
isAuditInsertUser
Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setAuditInsertUser
Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Parameters:
value- allowed object isBoolean
-
isAuditUpdateTimestamp
Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setAuditUpdateTimestamp
Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Parameters:
value- allowed object isBoolean
-
isAuditUpdateUser
Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setAuditUpdateUser
Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
- Parameters:
value- allowed object isBoolean
-
getConverter
A converter implementation for thegetUserType(). -
setConverter
A converter implementation for thegetUserType(). -
isEnumConverter
Whether the converter is anEnumConverter.- Returns:
- possible object is
Boolean
-
setEnumConverter
Whether the converter is anEnumConverter.- Parameters:
value- allowed object isBoolean
-
isXmlConverter
Whether the converter is anXMLtoJAXBConverter.- Returns:
- possible object is
Boolean
-
setXmlConverter
Whether the converter is anXMLtoJAXBConverter.- Parameters:
value- allowed object isBoolean
-
isJsonConverter
Whether the converter is anorg.jooq.jackson.extensions.converters.JSONtoJacksonConverteror aorg.jooq.jackson.extensions.converters.JSONtoJacksonConverter.- Returns:
- possible object is
Boolean
-
setJsonConverter
Whether the converter is anorg.jooq.jackson.extensions.converters.JSONtoJacksonConverteror aorg.jooq.jackson.extensions.converters.JSONtoJacksonConverter.- Parameters:
value- allowed object isBoolean
-
getLambdaConverter
A lambda converter implementation for thegetUserType(). -
setLambdaConverter
A lambda converter implementation for thegetUserType(). -
getBinding
ABindingimplementation for the custom type. -
setBinding
ABindingimplementation for the custom type. -
getExcludeExpression
A Java regular expression matching columns, parameters, attributes, etc. which must not have this type. Excludes match before includes, i.e. excludes have a higher priority. -
setExcludeExpression
A Java regular expression matching columns, parameters, attributes, etc. which must not have this type. Excludes match before includes, i.e. excludes have a higher priority. -
getIncludeExpression
A Java regular expression matching columns, parameters, attributes, etc. to be forced to have this type. If provided, both "includeExpression" and "includeTypes" must match. -
setIncludeExpression
A Java regular expression matching columns, parameters, attributes, etc. to be forced to have this type. If provided, both "includeExpression" and "includeTypes" must match. -
getExpression
The same asgetIncludeExpression(). This is kept for backwards compatibility reasons. -
setExpression
The same asgetIncludeExpression(). This is kept for backwards compatibility reasons. -
getExpressions
The same asgetIncludeExpression(). This is kept for backwards compatibility reasons. -
setExpressions
The same asgetIncludeExpression(). This is kept for backwards compatibility reasons. -
getSql
A SQL statement that produces a table with one column containing the matched qualified or unqualified column names. -
setSql
A SQL statement that produces a table with one column containing the matched qualified or unqualified column names. -
getExcludeTypes
A Java regular expression matching data types which must not have this type. Excludes match before includes, i.e. excludes have a higher priority. -
setExcludeTypes
A Java regular expression matching data types which must not have this type. Excludes match before includes, i.e. excludes have a higher priority. -
getIncludeTypes
A Java regular expression matching data types to be forced to have this type. If provided, both "includeExpression" and "includeTypes" must match. -
setIncludeTypes
A Java regular expression matching data types to be forced to have this type. If provided, both "includeExpression" and "includeTypes" must match. -
getTypes
The same asgetIncludeTypes(). This is kept for backwards compatibility reasons. -
setTypes
The same asgetIncludeTypes(). This is kept for backwards compatibility reasons. -
getNullability
Whether this forced type should apply to nullable / non-nullable / all columns -
setNullability
Whether this forced type should apply to nullable / non-nullable / all columns -
getObjectType
Whether this forced type should apply to all object types, or only to specific ones -
setObjectType
Whether this forced type should apply to all object types, or only to specific ones -
withPriority
The priority among forced types in which to apply this one. Forced types of equal priority will be applied in the order in which they're added to the forced types list (e.g. the Maven lexical XML order) -
withName
The name (inSQLDataType) to force any matches to -
withUserType
The type of the user type - e.g. java.time.LocalDateTime.If provided,
getName()will be ignored, and eithergetConverter()orgetBinding()is required -
withVisibilityModifier
The visibility modifier to be used in generated code for the column that is matched by this forced type, if applicable.This has no effect on matched objects that are not columns.
This feature is available in the commercial distribution only.
-
withGenerator
AGeneratorimplementation used for client-side computed columns.This has no effect on matched objects that are not columns.
This feature is available in the commercial distribution only.
-
withAuditInsertTimestamp
Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
-
withAuditInsertUser
Whether this column acts as an auditGeneratorStatementType.INSERTtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
-
withAuditUpdateTimestamp
Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
-
withAuditUpdateUser
Whether this column acts as an auditGeneratorStatementType.UPDATEtimestamp.This flag produces a
generatorconfiguration, so it cannot be combined with a custom generator. The different audit flags are mutually exclusive.This feature is available in the commercial distribution only.
-
withConverter
A converter implementation for thegetUserType(). -
withEnumConverter
Whether the converter is anEnumConverter. -
withXmlConverter
Whether the converter is anXMLtoJAXBConverter. -
withJsonConverter
Whether the converter is anorg.jooq.jackson.extensions.converters.JSONtoJacksonConverteror aorg.jooq.jackson.extensions.converters.JSONtoJacksonConverter. -
withLambdaConverter
A lambda converter implementation for thegetUserType(). -
withBinding
ABindingimplementation for the custom type. -
withExcludeExpression
A Java regular expression matching columns, parameters, attributes, etc. which must not have this type. Excludes match before includes, i.e. excludes have a higher priority. -
withIncludeExpression
A Java regular expression matching columns, parameters, attributes, etc. to be forced to have this type. If provided, both "includeExpression" and "includeTypes" must match. -
withExpression
The same asgetIncludeExpression(). This is kept for backwards compatibility reasons. -
withExpressions
The same asgetIncludeExpression(). This is kept for backwards compatibility reasons. -
withSql
A SQL statement that produces a table with one column containing the matched qualified or unqualified column names. -
withExcludeTypes
A Java regular expression matching data types which must not have this type. Excludes match before includes, i.e. excludes have a higher priority. -
withIncludeTypes
A Java regular expression matching data types to be forced to have this type. If provided, both "includeExpression" and "includeTypes" must match. -
withTypes
The same asgetIncludeTypes(). This is kept for backwards compatibility reasons. -
withNullability
Whether this forced type should apply to nullable / non-nullable / all columns -
withObjectType
Whether this forced type should apply to all object types, or only to specific ones -
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-