Interface MapperRegistry.ReversibleMapper<SourceT,DestinationT>
- Type Parameters:
SourceT
-DestinationT
-
- All Superinterfaces:
MapperRegistry.Mapper<SourceT,
DestinationT>
- All Known Subinterfaces:
MongoApplicationConfigurationMapper
,MongoApplicationMapper
,MongoCallbackDefinitionMapper
,MongoElementServiceReferenceMapper
,MongoFacebookApplicationConfigurationMapper
,MongoFirebaseApplicationConfigurationMapper
,MongoGooglePlayApplicationConfigurationMapper
,MongoIosApplicationConfigurationMapper
,MongoMatchmakingApplicationConfigurationMapper
,MongoOAuth2AuthSchemeMapper
,MongoOidcAuthSchemeMapper
,MongoProductBundleMapper
,MongoProductBundleRewardMapper
,MongoPSNApplicationConfigurationMapper
,MongoUserUidMapper
- All Known Implementing Classes:
MongoApplicationConfigurationMapperImpl
,MongoApplicationMapperImpl
,MongoCallbackDefinitionMapperImpl
,MongoElementServiceReferenceMapperImpl
,MongoFacebookApplicationConfigurationMapperImpl
,MongoFirebaseApplicationConfigurationMapperImpl
,MongoGooglePlayApplicationConfigurationMapperImpl
,MongoIosApplicationConfigurationMapperImpl
,MongoMatchmakingApplicationConfigurationMapperImpl
,MongoOAuth2AuthSchemeMapperImpl
,MongoOidcAuthSchemeMapperImpl
,MongoProductBundleMapperImpl
,MongoProductBundleRewardMapperImpl
,MongoPSNApplicationConfigurationMapperImpl
,MongoUserUidMapperImpl
- Enclosing interface:
MapperRegistry
public static interface MapperRegistry.ReversibleMapper<SourceT,DestinationT>
extends MapperRegistry.Mapper<SourceT,DestinationT>
Represents a mapping between two types.
-
Method Summary
Modifier and TypeMethodDescriptionreverse
(DestinationT source) Maps the destination to the source.default MapperRegistry.Mapper
<DestinationT, SourceT> reversed()
Returns thisMapperRegistry.ReversibleMapper
, in reverse.Methods inherited from interface dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper
findDestinationType, findSourceType, forward
-
Method Details
-
reverse
Maps the destination to the source.- Parameters:
source
- the source object- Returns:
- the destination type.
-
reversed
Returns thisMapperRegistry.ReversibleMapper
, in reverse.- Returns:
- this
MapperRegistry.ReversibleMapper
, but in reverse.
-