Interface MapperRegistry.Updater<SourceT,DestinationT>

Enclosing interface:
MapperRegistry
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MapperRegistry.Updater<SourceT,DestinationT>
  • Method Details

    • forward

      void forward(SourceT source, DestinationT destination)
      Maps the source into the existing destination object.
      Parameters:
      source - the source
      destination - the destination
    • findSourceType

      default Optional<Class<?>> findSourceType()
      Finds the source type. When used as intended, the default implementation should suffice.
      Returns:
      the source type
    • findDestinationType

      default Optional<Class<?>> findDestinationType()
      Finds the destination type. When used as intended, the default implementation should suffice.
      Returns:
      the destination type.