if(classToDebug != null && classDescriptor.getClassNameOfObject().contains(classToDebug)){ System.out.println(classDescriptor.toXML()); }
    public static void updateOJBMappingFromDomainModel(Map ojbMetadata, DomainModel domainModel)            throws Exception {        for (final Iterator iterator = domainModel.getClasses(); iterator.hasNext();) {            final DomainClass domClass = (DomainClass) iterator.next();            final Class clazz = Class.forName(domClass.getFullName());            if (!Modifier.isAbstract(clazz.getModifiers())) {                final ClassDescriptor classDescriptor = (ClassDescriptor) ojbMetadata.get(domClass                        .getFullName());                if (classDescriptor != null) {                    update(classDescriptor, domClass, ojbMetadata, clazz);                }            }        }    }