public class MapErrorCodeToDto extends MappingBase<ErrorCode,ErrorCodeDto>
Constructor and Description |
---|
MapErrorCodeToDto() |
Modifier and Type | Method and Description |
---|---|
void |
doMapping(ErrorCode source,
ErrorCodeDto target)
The actual method that does the mapping between the
source to target
objects. |
applyMapping, postMapping, preMapping
public void doMapping(ErrorCode source, ErrorCodeDto 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<ErrorCode,ErrorCodeDto>
source
- - the source object.target
- - the target object.Copyright © 2017. All rights reserved.