Class TableKey<T extends TableKey<T>>
java.lang.Object
com.github.jinahya.database.metadata.bind.TableKey<T>
- All Implemented Interfaces:
MetadataType
,Serializable
- Direct Known Subclasses:
ExportedKey
,ImportedKey
An abstract class for binding results of the
DatabaseMetaData.getExportedKeys(String, String, String)
method or the
DatabaseMetaData.getImportedKeys(String, String, String)
method.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The column label of "DEFERRABILITY".static final String
The column label of "DELETE_RULE".static final String
The column label of "FK_NAME".static final String
The column label of "FKCOLUMN_NAME".static final String
The column label of "FKTABLE_CAT".static final String
The column label of "FKTABLE_NAME".static final String
The column label of "FKTABLE_SCHEM".static final String
The column label of "KEY_SEQ".static final String
The column label of "PK_NAME".static final String
The column label of "PKCOLUMN_NAME".static final String
The column label of "PKTABLE_CAT".static final String
The column label of "PKTABLE_NAME".static final String
The column label of "PKTABLE_SCHEM".static final String
The column label of "UPDATE_RULE". -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns current value ofCOLUMN_NAME_DEFERRABILITY
column value.Returns a map of unmapped values.int
hashCode()
void
setDeferrability
(Integer deferrability) Replaces current value ofCOLUMN_NAME_DEFERRABILITY
column value with specified value.void
setDeleteRule
(Integer deleteRule) toString()
-
Field Details
-
COLUMN_NAME_PKTABLE_CAT
The column label of "PKTABLE_CAT".- See Also:
-
COLUMN_NAME_PKTABLE_SCHEM
The column label of "PKTABLE_SCHEM".- See Also:
-
COLUMN_NAME_PKTABLE_NAME
The column label of "PKTABLE_NAME".- See Also:
-
COLUMN_NAME_PKCOLUMN_NAME
The column label of "PKCOLUMN_NAME".- See Also:
-
COLUMN_NAME_FKTABLE_CAT
The column label of "FKTABLE_CAT".- See Also:
-
COLUMN_NAME_FKTABLE_SCHEM
The column label of "FKTABLE_SCHEM".- See Also:
-
COLUMN_NAME_FKTABLE_NAME
The column label of "FKTABLE_NAME".- See Also:
-
COLUMN_NAME_FKCOLUMN_NAME
The column label of "FKCOLUMN_NAME".- See Also:
-
COLUMN_NAME_KEY_SEQ
The column label of "KEY_SEQ".- See Also:
-
COLUMN_NAME_UPDATE_RULE
The column label of "UPDATE_RULE".- See Also:
-
COLUMN_NAME_DELETE_RULE
The column label of "DELETE_RULE".- See Also:
-
COLUMN_NAME_FK_NAME
The column label of "FK_NAME".- See Also:
-
COLUMN_NAME_PK_NAME
The column label of "PK_NAME".- See Also:
-
COLUMN_NAME_DEFERRABILITY
The column label of "DEFERRABILITY".- See Also:
-
-
Constructor Details
-
TableKey
public TableKey()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getDeleteRule
-
setDeleteRule
-
getDeferrability
Returns current value ofCOLUMN_NAME_DEFERRABILITY
column value.- Returns:
- current value of
COLUMN_NAME_DEFERRABILITY
column value.
-
setDeferrability
Replaces current value ofCOLUMN_NAME_DEFERRABILITY
column value with specified value.- Parameters:
deferrability
- new value for theCOLUMN_NAME_DEFERRABILITY
column value.
-
toString
-
getUnmappedValues
Description copied from interface:MetadataType
Returns a map of unmapped values.- Specified by:
getUnmappedValues
in interfaceMetadataType
- Returns:
- a map of unmapped values.
-