Package com.aceql.jdbc.commons.metadata
Class ForeignKey
java.lang.Object
com.aceql.jdbc.commons.metadata.CatalogAndSchema
com.aceql.jdbc.commons.metadata.ForeignKey
- Direct Known Subclasses:
ExportedKey
,ImportedKey
public class ForeignKey extends CatalogAndSchema
A SQL Foreign Key.
- Author:
- Nicolas de Pomereu
-
Field Summary
Fields Modifier and Type Field Description static String
importedKeyCascade
static String
importedKeyInitiallyDeferred
static String
importedKeyInitiallyImmediate
static String
importedKeyNoAction
static String
importedKeyNotDeferrable
static String
importedKeyRestrict
static String
importedKeySetDefault
static String
importedKeySetNull
-
Constructor Summary
Constructors Constructor Description ForeignKey()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
int
getDeferrability()
String
getDeleteRule()
String
getForeignKeyCatalog()
String
getForeignKeyColumn()
String
getForeignKeyName()
String
getForeignKeySchema()
String
getForeignKeyTable()
int
getKeySequence()
String
getPrimaryKeyColumn()
String
getPrimaryKeyName()
String
getPrimaryKeyTable()
String
getUpdateRule()
int
hashCode()
String
toString()
Methods inherited from class com.aceql.jdbc.commons.metadata.CatalogAndSchema
getCatalog, getSchema
-
Field Details
-
importedKeyCascade
- See Also:
- Constant Field Values
-
importedKeyRestrict
- See Also:
- Constant Field Values
-
importedKeySetNull
- See Also:
- Constant Field Values
-
importedKeyNoAction
- See Also:
- Constant Field Values
-
importedKeySetDefault
- See Also:
- Constant Field Values
-
importedKeyInitiallyDeferred
- See Also:
- Constant Field Values
-
importedKeyInitiallyImmediate
- See Also:
- Constant Field Values
-
importedKeyNotDeferrable
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ForeignKey
public ForeignKey()
-
-
Method Details
-
getPrimaryKeyTable
-
getPrimaryKeyColumn
-
getForeignKeyCatalog
-
getForeignKeySchema
-
getForeignKeyTable
-
getForeignKeyColumn
-
getKeySequence
public int getKeySequence() -
getUpdateRule
-
getDeleteRule
-
getForeignKeyName
-
getPrimaryKeyName
-
getDeferrability
public int getDeferrability() -
hashCode
public int hashCode() -
equals
-
toString
-