Class AuditMapperImpl
java.lang.Object
com.eurodyn.qlack.fuse.audit.mapper.AuditMapperImpl
- All Implemented Interfaces:
AuditBaseMapper<Audit,
,AuditDTO> AuditMapper
@Generated(value="org.mapstruct.ap.MappingProcessor",
date="2023-10-13T10:19:55+0000",
comments="version: 1.5.5.Final, compiler: javac, environment: Java 17.0.2 (Private Build)")
@Component
public class AuditMapperImpl
extends Object
implements AuditMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMaps an entity to a DTO.Maps a list of entities to a list of DTO's.mapToEntity
(AuditDTO dto) Maps a DTO to an entity.mapToEntity
(List<AuditDTO> dto) Maps a list of DTO's to a list of entities.void
mapToExistingEntity
(AuditDTO dto, Audit entity) Maps a DTO to an existing entity.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.eurodyn.qlack.fuse.audit.mapper.AuditBaseMapper
map
Methods inherited from interface com.eurodyn.qlack.fuse.audit.mapper.AuditMapper
toAuditDTO
-
Constructor Details
-
AuditMapperImpl
public AuditMapperImpl()
-
-
Method Details
-
mapToDTO
Description copied from interface:AuditBaseMapper
Maps a list of entities to a list of DTO's.- Specified by:
mapToDTO
in interfaceAuditBaseMapper<Audit,
AuditDTO> - Parameters:
entity
- the source entities list- Returns:
- the mapped list of DTO's
-
mapToEntity
Description copied from interface:AuditBaseMapper
Maps a DTO to an entity.- Specified by:
mapToEntity
in interfaceAuditBaseMapper<Audit,
AuditDTO> - Parameters:
dto
- the source DTO- Returns:
- the mapped entity
-
mapToExistingEntity
Description copied from interface:AuditBaseMapper
Maps a DTO to an existing entity.- Specified by:
mapToExistingEntity
in interfaceAuditBaseMapper<Audit,
AuditDTO> - Parameters:
dto
- the source DTOentity
- the origin entity
-
mapToEntity
Description copied from interface:AuditBaseMapper
Maps a list of DTO's to a list of entities.- Specified by:
mapToEntity
in interfaceAuditBaseMapper<Audit,
AuditDTO> - Parameters:
dto
- the source DTO's list- Returns:
- the mapped list of entities
-
mapToDTO
Description copied from interface:AuditBaseMapper
Maps an entity to a DTO.- Specified by:
mapToDTO
in interfaceAuditBaseMapper<Audit,
AuditDTO> - Specified by:
mapToDTO
in interfaceAuditMapper
- Parameters:
audit
- the source entity- Returns:
- the mapped DTO
-