Class entityClass = className.equals("EOGenericRecord") ? EOGenericRecord.class : Class.forName(className); ERXEntityClassDescription cd = newClassDescriptionForEntity(entity); EOClassDescription.registerClassDescription(cd, entityClass); _setClassDescriptionOnEntity(entity, cd);
entityClass = className.equals("EOGenericRecord") ? EOGenericRecord.class : Class.forName(className);
        public void registerDescriptionForEntity(EOEntity entity) {            try {                String className = entity.className();                if (log.isDebugEnabled())                    log.debug("Registering description for entity: " + entity.name() + " with class: " + className);                Class entityClass = className.equals("EOGenericRecord") ? EOGenericRecord.class : Class.forName(className);                ERXEntityClassDescription cd = newClassDescriptionForEntity(entity);                EOClassDescription.registerClassDescription(cd, entityClass);                _setClassDescriptionOnEntity(entity, cd);            } catch (java.lang.ClassNotFoundException ex) {                log.error("Invalid class name for entity: " + entity.name() + " exception: " + ex);            }        }