- 
- All Known Implementing Classes:
- DefaultRecordUnmapperProvider
 - 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 interface RecordUnmapperProvider A provider forRecordUnmapperinstances.In order to inject custom POJOtoRecordmapping behaviour, users can supply a customRecordUnmapperProviderto theirConfigurationinstances. This provider will be used in any of these methods (non-exhaustive list):Record- Record.from(Object)
- Record.from(Object, Field...)
- Record.from(Object, int...)
- Record.from(Object, Name...)
- Record.from(Object, String...)
 DSLContextWhile not strictly required, it is advisable to implement a RecordUnmapperProviderwhose behaviour is consistent with the configuredRecordMapperProvider.- Author:
- Lukas Eder
- See Also:
- RecordUnmapper,- Configuration
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description <E,R extends Record>
 RecordUnmapper<E,R>provide(Class<? extends E> type, RecordType<R> recordType)Provide aRecordUnmapperinstance.
 
- 
- 
- 
Method Detail- 
provide<E,R extends Record> RecordUnmapper<E,R> provide(Class<? extends E> type, RecordType<R> recordType) Provide aRecordUnmapperinstance.Implementations are free to choose whether this method returns new instances at every call or whether the same instance is returned repetitively. - Parameters:
- type- The user type that was passed into- Record.from(Object)or any other method.
- recordType- The- RecordTypeof records that shall be mapped by the returned- RecordUnmapper.
- Returns:
- A RecordUnmapperinstance.
- See Also:
- RecordUnmapper,- DefaultRecordUnmapper,- DefaultRecordUnmapperProvider
 
 
- 
 
-