Interface MongoElementServiceReferenceMapper
- All Superinterfaces:
MapperRegistry.Mapper<MongoElementServiceReference,,ElementServiceReference> MapperRegistry.ReversibleMapper<MongoElementServiceReference,ElementServiceReference>
- All Known Implementing Classes:
MongoElementServiceReferenceMapperImpl
public interface MongoElementServiceReferenceMapper
extends MapperRegistry.ReversibleMapper<MongoElementServiceReference,ElementServiceReference>
-
Method Summary
Modifier and TypeMethodDescriptionforward(MongoElementServiceReference source) Maps the source to the destination.reverse(ElementServiceReference source) Maps the destination to the source.Methods inherited from interface dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper
findDestinationType, findSourceTypeMethods inherited from interface dev.getelements.elements.sdk.model.util.MapperRegistry.ReversibleMapper
reversed
-
Method Details
-
reverse
Description copied from interface:MapperRegistry.ReversibleMapperMaps the destination to the source.- Specified by:
reversein interfaceMapperRegistry.ReversibleMapper<MongoElementServiceReference,ElementServiceReference> - Parameters:
source- the source object- Returns:
- the destination type.
-
forward
Description copied from interface:MapperRegistry.MapperMaps the source to the destination.- Specified by:
forwardin interfaceMapperRegistry.Mapper<MongoElementServiceReference,ElementServiceReference> - Parameters:
source- the source to the destination- Returns:
- the destination
-