Class TypeMapping.TypeMappingFunctionBuilder<S,​D>

  • Enclosing class:
    TypeMapping<S,​D>

    public static class TypeMapping.TypeMappingFunctionBuilder<S,​D>
    extends Object
    • Method Detail

      • applying

        public TypeMapping<S,​D> applying​(Function<S,​D> conversionFunction)
        Specified a conversion function that performs the type mapping. When using Function, mapping into destination instances will not supported by the resulting mapper.
        Parameters:
        conversionFunction - The conversion function.
        Returns:
        Returns the TypeMapping for use within a MappingConfiguration configuration.