public class MapCompositionEntityResponseToDto<S extends CompositionDataEntity,T extends CompositionDataEntityDto,M extends MappingBase<S,T>> extends MappingBase<CompositionEntityResponse<S>,CompositionEntityResponseDto<T>>
Constructor and Description |
---|
MapCompositionEntityResponseToDto(M dataMapper,
Class<T> targetDataClass) |
Modifier and Type | Method and Description |
---|---|
void |
doMapping(CompositionEntityResponse<S> source,
CompositionEntityResponseDto<T> target)
The actual method that does the mapping between the
source
to target objects. |
applyMapping, postMapping, preMapping
public void doMapping(CompositionEntityResponse<S> source, CompositionEntityResponseDto<T> target)
MappingBase
source
to target
objects.
This method is being called automatically as part of the mapper class.
This method must be override (it is abstract) by the mapper class.doMapping
in class MappingBase<CompositionEntityResponse<S extends CompositionDataEntity>,CompositionEntityResponseDto<T extends CompositionDataEntityDto>>
source
- - the source object.target
- - the target object.Copyright © 2017. All rights reserved.