Interface LexiconMapper<E,D>
- All Known Subinterfaces:
GroupMapper
,KeyMapper
,LanguageMapper
,TemplateMapper
- All Known Implementing Classes:
GroupMapperImpl
,KeyMapperImpl
,LanguageMapperImpl
,TemplateMapperImpl
public interface LexiconMapper<E,D>
A Generic Lexicon Mapper Interface
- Author:
- European Dynamics SA
-
Method Summary
-
Method Details
-
mapToDTO
Maps an entity to a DTO.- Parameters:
entity
- the source entity- Returns:
- the mapped DTO
-
mapToDTO
Maps a list of entities to a list of DTO's.- Parameters:
entity
- the source entities list- Returns:
- the mapped list of DTO's
-
mapToEntity
Maps a DTO to an entity.- Parameters:
dto
- the source DTO- Returns:
- the mapped entity
-
mapToEntity
Maps a list of DTO's to a list of entities.- Parameters:
dto
- the source DTO's list- Returns:
- the mapped list of entities
-