Interface MapperRegistry.ReversibleUpdater<SourceT,DestinationT>
- Type Parameters:
SourceT-DestinationT-
- All Superinterfaces:
MapperRegistry.Mapper<SourceT,DestinationT>
- Enclosing interface:
MapperRegistry
public static interface MapperRegistry.ReversibleUpdater<SourceT,DestinationT>
extends MapperRegistry.Mapper<SourceT,DestinationT>
Represents a mapping between two types.
-
Method Summary
Modifier and TypeMethodDescriptionvoidreverse(DestinationT source, SourceT destination) Maps the destination to the source.default MapperRegistry.Updater<DestinationT, SourceT> reversed()Returns thisMapperRegistry.ReversibleMapper, in reverse.Methods inherited from interface dev.getelements.elements.sdk.model.util.MapperRegistry.Mapper
forward
-
Method Details
-
reverse
Maps the destination to the source.- Parameters:
source- the source object
-
reversed
Returns thisMapperRegistry.ReversibleMapper, in reverse.- Returns:
- this
MapperRegistry.ReversibleMapper, but in reverse.
-