public class DefaultMapper extends Object implements Mapper
addMapping(DefaultMapping)
Constructor and Description |
---|
DefaultMapper() |
Modifier and Type | Method and Description |
---|---|
DefaultMapper |
addMapping(DefaultMapping mapping)
Add a mapping to this mapper.
|
Mapping[] |
getMappings()
Returns this mapper's list of mappings.
|
MappingResults |
map(Object source,
Object target)
Map state from a source object to a target object.
|
String |
toString() |
public DefaultMapper addMapping(DefaultMapping mapping)
mapping
- the mapping to add (required)public Mapping[] getMappings()
public MappingResults map(Object source, Object target)
Mapper