Class TemplateMapperImpl
java.lang.Object
com.eurodyn.qlack.fuse.lexicon.mapper.TemplateMapperImpl
- All Implemented Interfaces:
LexiconMapper<Template,
,TemplateDTO> TemplateMapper
@Generated(value="org.mapstruct.ap.MappingProcessor",
date="2024-06-12T08:27:08+0000",
comments="version: 1.5.5.Final, compiler: javac, environment: Java 17.0.2 (Private Build)")
@Component
public class TemplateMapperImpl
extends Object
implements TemplateMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMaps an entity to a DTO.Maps a list of entities to a list of DTO's.mapToEntity
(TemplateDTO dto) Maps a DTO to an entity.mapToEntity
(List<TemplateDTO> dto) Maps a list of DTO's to a list of entities.
-
Constructor Details
-
TemplateMapperImpl
public TemplateMapperImpl()
-
-
Method Details
-
mapToDTO
Description copied from interface:LexiconMapper
Maps an entity to a DTO.- Specified by:
mapToDTO
in interfaceLexiconMapper<Template,
TemplateDTO> - Parameters:
entity
- the source entity- Returns:
- the mapped DTO
-
mapToDTO
Description copied from interface:LexiconMapper
Maps a list of entities to a list of DTO's.- Specified by:
mapToDTO
in interfaceLexiconMapper<Template,
TemplateDTO> - Parameters:
entity
- the source entities list- Returns:
- the mapped list of DTO's
-
mapToEntity
Description copied from interface:LexiconMapper
Maps a DTO to an entity.- Specified by:
mapToEntity
in interfaceLexiconMapper<Template,
TemplateDTO> - Parameters:
dto
- the source DTO- Returns:
- the mapped entity
-
mapToEntity
Description copied from interface:LexiconMapper
Maps a list of DTO's to a list of entities.- Specified by:
mapToEntity
in interfaceLexiconMapper<Template,
TemplateDTO> - Parameters:
dto
- the source DTO's list- Returns:
- the mapped list of entities
-