NSMutableArray array = (NSMutableArray)_entitiesForClass.objectForKey(className);
if(array == null) {
array = new NSMutableArray();
}
if (log.isDebugEnabled())
log.debug("Adding entity " +eoentity.name()+ " with class " + eoentity.className());
array.addObject(eoentity);
_entitiesForClass.setObjectForKey(array, eoentity.className());
//HACK ALERT: (ak) We work around classDescriptionForNewInstances() of EOEntity being broken here...
registerDescriptionForEntity(eoentity);