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 Summary
Modifier and TypeMethodDescriptionMultiValuedMap<Class<?>, Class<?>> Gets polymorphic types and their sub-types for auto-registration byBeanMapper(or for custom use)
-
Method Details
-
getPolymorphicTypes
MultiValuedMap<Class<?>,Class<?>> getPolymorphicTypes()Gets polymorphic types and their sub-types for auto-registration byBeanMapper(or for custom use).-- Returns:
- a map keyed by polymorphic types and valued by their subtypes
-