Interface ITableMutationValidator
- All Known Implementing Classes:
TableMutationValidator
public interface ITableMutationValidator
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertCanAddColumnToTable(ITable table, IColumn column) voidassertCanDeleteTable(ITable table) voidassertCanSetNameToTable(ITable table, String name)
-
Method Details
-
assertCanAddColumnToTable
- Parameters:
table-column-- Throws:
RuntimeException- if the given column cannot be added to the given table.
-
assertCanDeleteTable
- Parameters:
table-- Throws:
RuntimeException- if the given table cannot be deleted.
-
assertCanSetNameToTable
- Parameters:
table-name-- Throws:
RuntimeException- if the given name cannot be set to the given table.
-