- All Implemented Interfaces:
Serializable,XMLAppendable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected 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 anAutoConverter.Whether the converter is anEnumConverter.Whether the converter is anor ainvalid @link
org.jooq.jackson.extensions.converters.JSONtoJacksonConverter.invalid @link
org.jooq.jackson.extensions.converters.JSONtoJacksonConverterWhether the converter is anXMLtoJAXBConverter.voidsetAuditInsertTimestamp(Boolean value) Sets the value of the auditInsertTimestamp property.voidsetAuditInsertUser(Boolean value) Sets the value of the auditInsertUser property.voidsetAuditUpdateTimestamp(Boolean value) Sets the value of the auditUpdateTimestamp property.voidsetAuditUpdateUser(Boolean value) Sets the value of the auditUpdateUser property.voidsetAutoConverter(Boolean value) Sets the value of the autoConverter property.voidsetBinding(String value) ABindingimplementation for the custom type.voidsetConverter(String value) A converter implementation for thegetUserType().voidsetEnumConverter(Boolean value) Sets the value of the enumConverter property.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) Sets the value of the jsonConverter property.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) Sets the value of the xmlConverter property.toString()withAuditInsertTimestamp(Boolean value) withAuditInsertUser(Boolean value) withAuditUpdateTimestamp(Boolean value) withAuditUpdateUser(Boolean value) withAutoConverter(Boolean value) withBinding(String value) ABindingimplementation for the custom type.withConverter(String value) A converter implementation for thegetUserType().withEnumConverter(Boolean value) 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) 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)
-
Field Details
-
priority
-
name
-
userType
-
visibilityModifier
-
generator
-
auditInsertTimestamp
-
auditInsertUser
-
auditUpdateTimestamp
-
auditUpdateUser
-
converter
-
autoConverter
-
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
Sets the value of the auditInsertTimestamp property.- 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
Sets the value of the auditInsertUser property.- 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
Sets the value of the auditUpdateTimestamp property.- 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
Sets the value of the auditUpdateUser property.- Parameters:
value- allowed object isBoolean
-
getConverter
A converter implementation for thegetUserType(). -
setConverter
A converter implementation for thegetUserType(). -
isAutoConverter
Whether the converter is anAutoConverter.- Returns:
- possible object is
Boolean
-
setAutoConverter
Sets the value of the autoConverter property.- Parameters:
value- allowed object isBoolean
-
isEnumConverter
Whether the converter is anEnumConverter.- Returns:
- possible object is
Boolean
-
setEnumConverter
Sets the value of the enumConverter property.- Parameters:
value- allowed object isBoolean
-
isXmlConverter
Whether the converter is anXMLtoJAXBConverter.- Returns:
- possible object is
Boolean
-
setXmlConverter
Sets the value of the xmlConverter property.- Parameters:
value- allowed object isBoolean
-
isJsonConverter
Whether the converter is anor ainvalid @link
org.jooq.jackson.extensions.converters.JSONtoJacksonConverter.invalid @link
org.jooq.jackson.extensions.converters.JSONtoJacksonConverter- Returns:
- possible object is
Boolean
-
setJsonConverter
Sets the value of the jsonConverter property.- 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
-
withAuditInsertUser
-
withAuditUpdateTimestamp
-
withAuditUpdateUser
-
withConverter
A converter implementation for thegetUserType(). -
withAutoConverter
-
withEnumConverter
-
withXmlConverter
-
withJsonConverter
-
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()
-