Interface PolymorphicTypeProvider

All Known Implementing Classes:
BasePolymorphicTypeProvider

public interface PolymorphicTypeProvider
Java service provider interface (SPI) for automatically registering types and sub-types to the BeanMapper
Since:
3.0.0
  • Method Details

    • getPolymorphicTypes

      MultiValuedMap<Class<?>,Class<?>> getPolymorphicTypes()
      Gets polymorphic types and their sub-types for auto-registration by BeanMapper (or for custom use).-
      Returns:
      a map keyed by polymorphic types and valued by their subtypes