/** * Produces a ClassMap instance based on the configurations defined on this * ClassMapBuilder. A ClassMap is used by Orika as a runtime descriptor for * the details of a mapping between one type and another. * * @return a ClassMap as configured by this ClassMapBuilder */ public ClassMap<A, B> toClassMap() { if(LOGGER.isDebugEnabled()) { LOGGER.debug("ClassMap created:\n\t" + describeClassMap()); } return new ClassMap<A, B>(aType, bType, fieldsMapping, customizedMapper, usedMappers, constructorA, constructorB, sourcesMappedOnNull, destinationsMappedOnNull); }
/** * Produces a ClassMap instance based on the configurations defined on this * ClassMapBuilder. A ClassMap is used by Orika as a runtime descriptor for * the details of a mapping between one type and another. * * @return a ClassMap as configured by this ClassMapBuilder */ public ClassMap<A, B> toClassMap() { if (LOGGER.isDebugEnabled()) { LOGGER.debug("ClassMap created:\n\t" + describeClassMap()); } return new ClassMap<A, B>(aType, bType, fieldsMapping, customizedMapper, usedMappers, constructorA, constructorB, sourcesMappedOnNull, destinationsMappedOnNull, favorsExtension); }