// non-derived DbEntities...
// TODO: this is inefficient.. we need targeted validation
// instead of doing it on the whole project
Validator validator = ((ProjectController) getParent())
.getProject()
.getValidator();
int validationCode = validator.validate();
if (validationCode >= ValidationDisplayHandler.WARNING) {
Iterator it = validator.validationResults().iterator();
while (it.hasNext()) {
ValidationInfo nextProblem = (ValidationInfo) it.next();
Entity failedEntity = null;
if (nextProblem.getValidatedObject() instanceof DbAttribute) {