Enum TableKeyDeferrability
java.lang.Object
java.lang.Enum<TableKeyDeferrability>
com.github.jinahya.database.metadata.bind.TableKeyDeferrability
- All Implemented Interfaces:
Serializable
,Comparable<TableKeyDeferrability>
,java.lang.constant.Constable
Constants for values of "DEFERRABILITY" column.
- Author:
- Jin Kwon <onacit_at_gmail.com>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConstants forDatabaseMetaData.importedKeyInitiallyDeferred
(5).Constants forDatabaseMetaData.importedKeyInitiallyImmediate
(6).Constants forDatabaseMetaData.importedKeyNotDeferrable
(7). -
Method Summary
Modifier and TypeMethodDescriptionint
static TableKeyDeferrability
Returns the enum constant of this type with the specified name.static TableKeyDeferrability
valueOfDeferrability
(int deferrability) static TableKeyDeferrability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IMPORTED_KEY_INITIALLY_DEFERRED
Constants forDatabaseMetaData.importedKeyInitiallyDeferred
(5). -
IMPORTED_KEY_INITIALLY_IMMEDIATE
Constants forDatabaseMetaData.importedKeyInitiallyImmediate
(6). -
IMPORTED_KEY_SET_NOT_DEFERRABLE
Constants forDatabaseMetaData.importedKeyNotDeferrable
(7).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOfDeferrability
-
fieldValueAsInt
public int fieldValueAsInt()
-