- All Known Implementing Classes:
- 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 RecordUnmapperProviderA provider for
In order to inject custom
Recordmapping behaviour, users can supply a custom
Configurationinstances. This provider will be used in any of these methods (non-exhaustive list):
While not strictly required, it is advisable to implement a
RecordUnmapperProviderwhose behaviour is consistent with the configured
@NotNull <E,R extends Record> @NotNull RecordUnmapper<E,R> provide(Class<? extends E> type, RecordType<R> recordType)Provide a
Implementations are free to choose whether this method returns new instances at every call or whether the same instance is returned repetitively.
type- The user type that was passed into
Record.from(Object)or any other method.
RecordTypeof records that shall be mapped by the returned
- See Also: