All Known Implementing Classes:
AuditLogTable, HarvestSurveysTable, RepositoryTable

public interface PostgreSQLTable
Defines the tables used in a database schema.
  • Method Details

    • getTableName

      String getTableName()
      Return the name of the table.
      Returns:
      name
    • getTableName

      String getTableName(String schemaName)
      Return the name of the table.
      Parameters:
      schemaName - name of schema
      Returns:
      name
    • getTableDescription

      String getTableDescription()
      Return the description of the table.
      Returns:
      text
    • getPrimaryKeys

      List<PostgreSQLColumn> getPrimaryKeys()
      Return the columns that are primary keys.
      Returns:
      list of columns
    • getDataColumns

      List<PostgreSQLColumn> getDataColumns()
      Return the columns that are not primary keys.
      Returns:
      list of columns
    • getForeignKeys

      List<PostgreSQLForeignKey> getForeignKeys()
      Return the list of foreign keys for this table.
      Returns:
      list