java.lang.Object
java.lang.Enum<DDLExportConfiguration.InlineForeignKeyConstraints>
org.jooq.DDLExportConfiguration.InlineForeignKeyConstraints
- All Implemented Interfaces:
Serializable
,Comparable<DDLExportConfiguration.InlineForeignKeyConstraints>
,Constable
- Enclosing class:
- DDLExportConfiguration
public static enum DDLExportConfiguration.InlineForeignKeyConstraints
extends Enum<DDLExportConfiguration.InlineForeignKeyConstraints>
Whether to inline foreign key constraint definitions with the table
definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlways inline the foreign key constraint definitions.Never inline foreign key constraint definitions.Inline foreign key constraint definitions only when needed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Always inline the foreign key constraint definitions. -
WHEN_NEEDED
Inline foreign key constraint definitions only when needed.This can be necessary if
AlterTableStep.add(Constraint)
isn't supported, such as in SQLite, see [#16470]. This is the default. -
NEVER
Never inline foreign key constraint definitions.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-