Interface ITableExaminer

All Known Implementing Classes:
TableExaminer

public interface ITableExaminer
Author:
Silvan Wyss
  • Method Details

    • containsColumn

      boolean containsColumn(ITable table, IColumn column)
      Parameters:
      table -
      column -
      Returns:
      true if the given table contains the given column, false otherwise.
    • containsColumnThatIsBackReferencedByColumn

      boolean containsColumnThatIsBackReferencedByColumn(ITable table, IColumn column)
      Parameters:
      table -
      column -
      Returns:
      true if the given table contains a IColumn that is back referenced by the given column, false otherwise.
    • containsColumnThatReferencesBackColumn

      boolean containsColumnThatReferencesBackColumn(ITable table, IColumn column)
      Parameters:
      table -
      column -
      Returns:
      true if the given table contains a IColumn that referenced back the given column, false otherwise.
    • containsColumnThatReferencesTable

      boolean containsColumnThatReferencesTable(ITable table, ITable otherTable)
      Parameters:
      table -
      otherTable -
      Returns:
      true if the given table contains a IColumn that references the given otherTable, false otherwise.
    • containsColumnWithName

      boolean containsColumnWithName(ITable table, String name)
      Parameters:
      table -
      name -
      Returns:
      if the given table contains a IColumn with the given name, false otherwise.
    • isReferenced

      boolean isReferenced(ITable table)
      Parameters:
      table -
      Returns:
      true if the given table is referenced, false otherwise.