E - the element typeDO - the generic typepublic abstract class AbstractGenericMapper<E,DO> extends Object implements DozerGenericMapper<E,DO>
AbstractGenericMapper provides an base implementation for mapping
entities to data transfer objects and back.| Constructor and Description |
|---|
AbstractGenericMapper()
Instantiates a new
AbstractGenericMapper object |
AbstractGenericMapper(@NonNull List<String> mappingFiles)
Instantiates a new
AbstractGenericMapper object |
| Modifier and Type | Method and Description |
|---|---|
org.dozer.Mapper |
newMapper(@NonNull List<String> mappingFiles)
Factory method for creating the new
Mapper for the mapping process with the given
mapping files list. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDtoClass, getEntityClass, getMapper, map, map, toDto, toDtos, toEntities, toEntitypublic AbstractGenericMapper()
AbstractGenericMapper objectpublic AbstractGenericMapper(@NonNull
@NonNull List<String> mappingFiles)
AbstractGenericMapper objectmappingFiles - the mapping filespublic org.dozer.Mapper newMapper(@NonNull
@NonNull List<String> mappingFiles)
Mapper for the mapping process with the given
mapping files list. This method is invoked in the constructor and can be overridden so users
can provide their own mapping process.mappingFiles - the mapping filesMapper for the mapping process.Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.