Package org.springframework.data.convert
Interface TypeInformationMapper
- All Known Implementing Classes:
ConfigurableTypeInformationMapper
,MappingContextTypeInformationMapper
,SimpleTypeInformationMapper
public interface TypeInformationMapper
Interface to abstract the mapping from a type alias to the actual type.
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptioncreateAliasFor
(TypeInformation<?> type) Returns the alias to be used for the givenTypeInformation
.resolveTypeFrom
(Alias alias) Returns the actualTypeInformation
to be used for the given alias.
-
Method Details
-
resolveTypeFrom
Returns the actualTypeInformation
to be used for the given alias.- Parameters:
alias
- must not be null.- Returns:
-
createAliasFor
Returns the alias to be used for the givenTypeInformation
.- Parameters:
type
- must not be null.- Returns:
-