|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ForeignKey | |
---|---|
org.apache.ddlutils.alteration | Contains the algorithm for comparing two database models and determining what needs to be changed to migrate one to the other. |
org.apache.ddlutils.model | This package contains the classes making up the database model. |
org.apache.ddlutils.platform | This package contains the platform implementations for the individual databases. |
org.apache.ddlutils.platform.derby | This package contains the platform implementation for the Apache Derby database. |
org.apache.ddlutils.platform.firebird | This package contains the platform implementation for the Firebird database. |
org.apache.ddlutils.platform.hsqldb | This package contains the platform implementation for the HSQLDB database. |
org.apache.ddlutils.platform.interbase | This package contains the platform implementation for the Interbase database. |
org.apache.ddlutils.platform.maxdb | This package contains the platform implementation for the MaxDB database. |
org.apache.ddlutils.platform.mssql | This package contains the platform implementation for the Sql Server database. |
org.apache.ddlutils.platform.mysql | This package contains the platform implementation for the MySQL database. |
org.apache.ddlutils.platform.postgresql | This package contains the platform implementation for the PostgreSQL database. |
org.apache.ddlutils.platform.sapdb | This package contains the platform implementation for the SAP DB database. |
org.apache.ddlutils.platform.sybase | This package contains the platform implementation for the Sybase ASE database. |
Uses of ForeignKey in org.apache.ddlutils.alteration |
---|
Methods in org.apache.ddlutils.alteration that return ForeignKey | |
---|---|
ForeignKey |
RemoveForeignKeyChange.getForeignKey()
Returns the foreign key to be removed. |
ForeignKey |
AddForeignKeyChange.getNewForeignKey()
Returns the new foreign key. |
Constructors in org.apache.ddlutils.alteration with parameters of type ForeignKey | |
---|---|
AddForeignKeyChange(Table table,
ForeignKey newForeignKey)
Creates a new change object. |
|
RemoveForeignKeyChange(Table table,
ForeignKey foreignKey)
Creates a new change object. |
Uses of ForeignKey in org.apache.ddlutils.model |
---|
Methods in org.apache.ddlutils.model that return ForeignKey | |
---|---|
ForeignKey |
Table.findForeignKey(ForeignKey key)
Finds the foreign key in this table that is equal to the supplied foreign key. |
ForeignKey |
Table.findForeignKey(ForeignKey key,
boolean caseSensitive)
Finds the foreign key in this table that is equal to the supplied foreign key. |
ForeignKey |
Table.getForeignKey(int idx)
Returns the foreign key at the given position. |
ForeignKey[] |
Table.getForeignKeys()
Returns the foreign keys of this table. |
ForeignKey |
Table.getSelfReferencingForeignKey()
Returns the foreign key referencing this table if it exists. |
Methods in org.apache.ddlutils.model with parameters of type ForeignKey | |
---|---|
void |
Table.addForeignKey(ForeignKey foreignKey)
Adds the given foreign key. |
void |
Table.addForeignKey(int idx,
ForeignKey foreignKey)
Adds the given foreign key at the specified position. |
boolean |
ForeignKey.equalsIgnoreCase(ForeignKey otherFk)
Compares this foreign key to the given one while ignoring the case of identifiers. |
ForeignKey |
Table.findForeignKey(ForeignKey key)
Finds the foreign key in this table that is equal to the supplied foreign key. |
ForeignKey |
Table.findForeignKey(ForeignKey key,
boolean caseSensitive)
Finds the foreign key in this table that is equal to the supplied foreign key. |
void |
Table.removeForeignKey(ForeignKey foreignKey)
Removes the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform |
---|
Methods in org.apache.ddlutils.platform that return ForeignKey | |
---|---|
protected ForeignKey |
SqlBuilder.findCorrespondingForeignKey(Table table,
ForeignKey fk)
Searches in the given table for a corresponding foreign key. |
Methods in org.apache.ddlutils.platform with parameters of type ForeignKey | |
---|---|
protected ForeignKey |
SqlBuilder.findCorrespondingForeignKey(Table table,
ForeignKey fk)
Searches in the given table for a corresponding foreign key. |
java.lang.String |
SqlBuilder.getForeignKeyName(Table table,
ForeignKey fk)
Returns the name to be used for the given foreign key. |
protected boolean |
JdbcModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected void |
JdbcModelReader.removeInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk)
Tries to remove the internal index for the given foreign key. |
protected void |
SqlBuilder.writeExternalForeignKeyCreateStmt(Database database,
Table table,
ForeignKey key)
Writes a single foreign key constraint using a alter table statement. |
protected void |
SqlBuilder.writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
protected void |
SqlBuilder.writeForeignReferences(ForeignKey key)
Writes a list of foreign references for the given foreign key. |
protected void |
SqlBuilder.writeLocalReferences(ForeignKey key)
Writes a list of local references for the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform.derby |
---|
Methods in org.apache.ddlutils.platform.derby with parameters of type ForeignKey | |
---|---|
protected boolean |
DerbyModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform.firebird |
---|
Methods in org.apache.ddlutils.platform.firebird with parameters of type ForeignKey | |
---|---|
protected boolean |
FirebirdModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform.hsqldb |
---|
Methods in org.apache.ddlutils.platform.hsqldb with parameters of type ForeignKey | |
---|---|
protected boolean |
HsqlDbModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform.interbase |
---|
Methods in org.apache.ddlutils.platform.interbase with parameters of type ForeignKey | |
---|---|
protected boolean |
InterbaseModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform.maxdb |
---|
Methods in org.apache.ddlutils.platform.maxdb with parameters of type ForeignKey | |
---|---|
protected void |
MaxDbBuilder.writeExternalForeignKeyCreateStmt(Database database,
Table table,
ForeignKey key)
Writes a single foreign key constraint using a alter table statement. |
protected void |
MaxDbBuilder.writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
Uses of ForeignKey in org.apache.ddlutils.platform.mssql |
---|
Methods in org.apache.ddlutils.platform.mssql with parameters of type ForeignKey | |
---|---|
protected void |
MSSqlBuilder.writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
Uses of ForeignKey in org.apache.ddlutils.platform.mysql |
---|
Methods in org.apache.ddlutils.platform.mysql with parameters of type ForeignKey | |
---|---|
protected boolean |
MySqlModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
protected void |
MySqlBuilder.writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
Uses of ForeignKey in org.apache.ddlutils.platform.postgresql |
---|
Methods in org.apache.ddlutils.platform.postgresql with parameters of type ForeignKey | |
---|---|
protected boolean |
PostgreSqlModelReader.isInternalForeignKeyIndex(DatabaseMetaDataWrapper metaData,
Table table,
ForeignKey fk,
Index index)
Tries to determine whether the index is the internal database-generated index for the given foreign key. |
Uses of ForeignKey in org.apache.ddlutils.platform.sapdb |
---|
Methods in org.apache.ddlutils.platform.sapdb with parameters of type ForeignKey | |
---|---|
protected void |
SapDbBuilder.writeExternalForeignKeyCreateStmt(Database database,
Table table,
ForeignKey key)
Writes a single foreign key constraint using a alter table statement. |
protected void |
SapDbBuilder.writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
Uses of ForeignKey in org.apache.ddlutils.platform.sybase |
---|
Methods in org.apache.ddlutils.platform.sybase with parameters of type ForeignKey | |
---|---|
protected void |
SybaseBuilder.writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |