Interface ITableMutationValidator

All Known Implementing Classes:
TableMutationValidator

public interface ITableMutationValidator
Author:
Silvan Wyss
  • Method Details

    • assertCanAddColumnToTable

      void assertCanAddColumnToTable(ITable table, IColumn column)
      Parameters:
      table -
      column -
      Throws:
      RuntimeException - if the given column cannot be added to the given table.
    • assertCanDeleteTable

      void assertCanDeleteTable(ITable table)
      Parameters:
      table -
      Throws:
      RuntimeException - if the given table cannot be deleted.
    • assertCanSetNameToTable

      void assertCanSetNameToTable(ITable table, String name)
      Parameters:
      table -
      name -
      Throws:
      RuntimeException - if the given name cannot be set to the given table.