orika/src/main/java/be/stijnhooft/mapping/orika/mapper/MapperProducer.java
/**
     * Configures a mapperFactory for a specified mapper type. For example: configures a mapperFactory for a
     * road transport undertaking vo for a screen which displays specific information of a road transport undertaking.
     *
     * @param factory mapper factory
     * @param type    mapper type
     */
Configures a mapperFactory for a specified mapper type. For example: configures a mapperFactory for a
road transport undertaking vo for a screen which displays specific information of a road transport undertaking.

@param factory mapper factory
@param type    mapper type
Configures a mapperFactory for a specified mapper type . For example : configures a mapperFactory for a road transport undertaking vo for a screen which displays specific information of a road transport undertaking . @param factory mapper factory @param type mapper type
public void configureMapperFactory(MapperFactory factory, MapperType type) {
        configureCustomConverters(factory);
        switch (type) {
            case STORE: configureStoreMapper(factory);
                        break;
            case BOOK:  configureBookMapper(factory);
                        break;
            case USER:  configureUserMapper(factory);
                        break;
            default: throw new UnsupportedOperationException("Could not configure a mapper for type " + type.name());
        }
    }
public void configureMapperFactory ( MapperFactory factory , MapperType type ) { configureCustomConverters ( factory ) ; switch ( type ) { case STORE : configureStoreMapper ( factory ) ; break ; case BOOK : configureBookMapper ( factory ) ; break ; case USER : configureUserMapper ( factory ) ; break ; default : throw new UnsupportedOperationException ( "Could not configure a mapper for type " + type . name ( ) ) ; } }
Configures a mapperFactory for a specified mapper type.
Configures a mapperFactory for a specified mapper type .