public void canDeleteDataObject(
     DataModelerContext context,
     DataObjectTO object,
     DataModelTO model,
     ValidatorCallback callback) {
   if (!context.getHelper().isDataObjectReferenced(object.getClassName())) {
     callback.onSuccess();
   } else {
     callback.onFailure();
   }
 }
 public void isUniqueEntityName(
     String packageName, String name, DataModelTO model, ValidatorCallback callback) {
   Boolean b = Boolean.TRUE;
   String className = assembleClassName(packageName, name);
   for (DataObjectTO d : model.getDataObjects()) {
     if (d.getClassName().equalsIgnoreCase(className)) {
       b = Boolean.FALSE;
       break;
     }
   }
   if (b) {
     callback.onSuccess();
   } else {
     callback.onFailure();
   }
 }