*/
protected void registerDescriptionForClass(Class class1) {
NSArray entities = (NSArray)_entitiesForClass.objectForKey(class1.getName());
if (entities != null) {
if (log.isDebugEnabled())
log.debug("Registering descriptions for class: " + class1.getName() + " found entities: " + entities.valueForKey("name"));
for (Enumeration e = entities.objectEnumerator(); e.hasMoreElements();) {
EOEntity entity = (EOEntity)e.nextElement();
ERXEntityClassDescription cd = newClassDescriptionForEntity(entity);
EOClassDescription.registerClassDescription(cd, class1);
_setClassDescriptionOnEntity(entity, cd);