Class Mapping


  • public class Mapping
    extends Object
    This is the ReMap API entrypoint to create instances of Mapper.
    Author:
    schuettec
    • Constructor Detail

      • Mapping

        public Mapping()
    • Method Detail

      • from

        public static <S> Types<S> from​(Class<S> source)
        Specifies the source data type to map from.
        Parameters:
        source - the data source type.
        Returns:
        Returns a Types object for further mapping configuration.
      • from

        public static <S> Types<S> from​(S sourceInstance)
        Specifies the source data type to map from. Use this method to provide information about generic types by providing an instance of the object to map.
        Parameters:
        sourceInstance - The source instance.
        Returns:
        Returns a Types object for further mapping configuration.