nsmutableset.addObjectsFromArray(eomodel1.entityNames());
}
NSSet intersection = nsmutableset.setByIntersectingSet(nsset);
if (intersection.count() != 0) {
log.warn("The model '" + name + "' (path: " + eomodel.pathURL() + ") has an entity name conflict with the entities " + intersection + " already in the model group " + this);
Enumeration e = intersection.objectEnumerator();
while (e.hasMoreElements()) {
String entityName = (String) e.nextElement();
log.debug("Removing entity " + entityName + " from model " + name);
eomodel.removeEntity(eomodel.entityNamed(entityName));
}