private void checkTable (Table table, AISValidationOutput output) {
for (int i = 0; i < table.getColumnsIncludingInternal().size(); i++) {
if (table.getColumnsIncludingInternal().get(i).getPosition() != i) {
output.reportFailure(new AISValidationFailure(
new ColumnPositionNotOrderedException(table.getName(),
table.getColumn(i).getName(),
table.getColumn(i).getPosition(),
i)));
}
}