for (Enumeration entitiesEnum = model.entities().objectEnumerator(); entitiesEnum.hasMoreElements();) {
EOEntity entity = (EOEntity) entitiesEnum.nextElement();
for (Enumeration attributesEnum = entity.attributes().objectEnumerator(); attributesEnum.hasMoreElements();) {
EOAttribute attribute = (EOAttribute) attributesEnum.nextElement();
if (!attribute.isFlattened()) {
String prototypeAttributeName = attribute.prototypeName();
if (prototypeAttributeName == null) {
if (attribute.externalType() == null) {
log.warn(model.name() + "/" + entity.name() + "/" + attribute.name() + " does not have a prototype attribute name. This can occur if the model cannot resolve ANY prototypes when loaded. There must be a stub prototype for the model to load with that can then be replaced with the appropriate database-specific model.");
}
}