NSArray entities = (NSArray)_entitiesForClass.objectForKey(class1.getName()); if (entities != null) { if (cat.isDebugEnabled()) cat.debug("Registering descriptions for class: " + class1.getName() + " found entities: " + entities.valueForKey("name")); for (Enumeration e = entities.objectEnumerator(); e.hasMoreElements();) { EOClassDescription.registerClassDescription(new ERXEntityClassDescription((EOEntity)e.nextElement()), class1);
if(false) { NSArray entities = (NSArray)_entitiesForClass.objectForKey(class1.getName()); if (entities != null) { if (cat.isDebugEnabled()) cat.debug("Registering descriptions for class: " + class1.getName() + " found entities: " + entities.valueForKey("name")); for (Enumeration e = entities.objectEnumerator(); e.hasMoreElements();) { EOClassDescription.registerClassDescription(new ERXEntityClassDescription((EOEntity)e.nextElement()), class1); } } else { cat.error("Unable to register descriptions for class: " + class1.getName());
    public static void registerDescriptionForClass(Class class1) {        NSArray entities = (NSArray)_entitiesForClass.objectForKey(class1.getName());        if (entities != null) {            if (cat.isDebugEnabled())                cat.debug("Registering descriptions for class: " + class1.getName() + " found entities: " + entities.valueForKey("name"));            for (Enumeration e = entities.objectEnumerator(); e.hasMoreElements();) {                EOClassDescription.registerClassDescription(new ERXEntityClassDescription((EOEntity)e.nextElement()), class1);            }        } else {            cat.error("Unable to register descriptions for class: " + class1.getName());        }    }