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 StringimportedKeyCascadestatic StringimportedKeyInitiallyDeferredstatic StringimportedKeyInitiallyImmediatestatic StringimportedKeyNoActionstatic StringimportedKeyNotDeferrablestatic StringimportedKeyRestrictstatic StringimportedKeySetDefaultstatic StringimportedKeySetNull -
Constructor Summary
Constructors Constructor Description ForeignKey() -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)intgetDeferrability()StringgetDeleteRule()StringgetForeignKeyCatalog()StringgetForeignKeyColumn()StringgetForeignKeyName()StringgetForeignKeySchema()StringgetForeignKeyTable()intgetKeySequence()StringgetPrimaryKeyColumn()StringgetPrimaryKeyName()StringgetPrimaryKeyTable()StringgetUpdateRule()inthashCode()StringtoString()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
-