class OrdinalOrdering implements AISValidation {

    private static AISValidationException lowerOrdinal(Table parent, Table child) {
        return new AISValidationException(
            String.format("Table %s has ordinal %d lower than parent %s ordinal %d",
                          child.getName(), child.getOrdinal(), parent.getName(), parent.getOrdinal())
        );
    }

}