Interface MappingStrategy<T>
- Type Parameters:
T
- The type of result.
- All Known Subinterfaces:
HTTPResponseMappingStrategy
,ResultMappingStrategy
,SearchResultMappingStrategy
,StorageMappingStrategy
- All Known Implementing Classes:
AbstractMappingStrategy
,ScriptedResponseMappingStrategy
,ScriptedStorageMappingStrategy
,SimpleStorageMappingStrategy
,StringAttributeValueMappingStrategy
,StringAttributeValueMappingStrategy
,StringResultMappingStrategy
,StringResultMappingStrategy
public interface MappingStrategy<T>
Strategy for mapping from an arbitrary result type to a collection of
IdPAttribute
s.-
Method Summary
Modifier and TypeMethodDescriptionMaps the given results to a collection ofIdPAttribute
indexed by the attribute's ID.
-
Method Details
-
map
Maps the given results to a collection ofIdPAttribute
indexed by the attribute's ID.- Parameters:
results
- to map- Returns:
- the mapped attributes or null if none exist
- Throws:
ResolutionException
- thrown if there is a problem reading data or mapping it
-