Interface ConfigurableConverterExpression<S,​D>

    • Method Detail

      • using

        ReferenceMapExpression<S,​D> using​(Converter<?,​?> converter)
        Uses converter to convert a source property to destination property
         
           using(converter).<String>map(Src::getCustomer, Dest::setCustomerId)
           using(ctx -> ctx.getSource().getName().toUpperCase()).<String>map(src -> src.getCustomer().getId(), Dest::setCustomerId)
         
         
        Parameters:
        converter - a converter convert source property to destination property