Interface IConstraintFk

All Superinterfaces:
IConstraint, ISearchPath, IStatement, ISubElement
All Known Implementing Classes:
MsConstraintFk, PgConstraintFk

public interface IConstraintFk extends IConstraint
Interface for foreign key constraints. Extends the basic constraint interface with foreign key specific functionality including references to foreign table, schema, and columns.
  • Method Details

    • getForeignColumns

      Collection<String> getForeignColumns()
      Gets the foreign columns referenced by this foreign key.
      Returns:
      a collection of foreign column names
    • getForeignTable

      String getForeignTable()
      Gets the foreign table referenced by this foreign key.
      Returns:
      the foreign table name
    • getForeignSchema

      String getForeignSchema()
      Gets the foreign schema containing the referenced table.
      Returns:
      the foreign schema name