public abstract class MappingBase<S,T> extends Object
Constructor and Description |
---|
MappingBase() |
Modifier and Type | Method and Description |
---|---|
T |
applyMapping(S source,
Class<T> clazz) |
abstract void |
doMapping(S source,
T target)
The actual method that does the mapping between the
source to target
objects. |
void |
postMapping(S source,
T target)
This method is called after the
doMapping method. |
void |
preMapping(S source,
T target)
This method is called before the
doMapping method. |
public void preMapping(S source, T target)
doMapping
method.public abstract void doMapping(S source, T target)
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.source
- - the source object.target
- - the target object.Copyright © 2017. All rights reserved.