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());
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);
    public static void registerDescriptionForClass(Class 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());            }        } else {            EOEntity entity = (EOEntity)_entitiesForClass.objectForKey(class1.getName());            if (entity != null) {                if (cat.isDebugEnabled())                    cat.debug("Registering description for class: " + class1.getName() + " found entity: " + entity.name());                EOClassDescription.registerClassDescription(new ERXEntityClassDescription(entity), class1);            } else {                cat.error("Unable to register descriptions for class: " + class1.getName());            }        }    }