Class TableInfo.ForeignKeyInfo

java.lang.Object
net.sf.basedb.core.dbengine.TableInfo.ForeignKeyInfo
Enclosing class:
TableInfo

public static class TableInfo.ForeignKeyInfo extends Object
Holds information about a foreign key of a table.
  • Field Details

    • name

      private final String name
    • refName

      private final String refName
    • fkColumns

      private final Set<String> fkColumns
    • refColumns

      private final Set<String> refColumns
  • Constructor Details

    • ForeignKeyInfo

      public ForeignKeyInfo(String name, String refName)
      Create a new ForeignKeyInfo object. You should also add column names to the getFkColumns() and getRefColumns() sets.
      Parameters:
      name - The name of the foreign key
      refName - The referenced table
  • Method Details