Class KeyMapperImpl

java.lang.Object
com.eurodyn.qlack.fuse.lexicon.mapper.KeyMapperImpl
All Implemented Interfaces:
KeyMapper, LexiconMapper<Key,KeyDTO>

@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 KeyMapperImpl extends Object implements KeyMapper
  • Constructor Details

    • KeyMapperImpl

      public KeyMapperImpl()
  • Method Details

    • mapToDTO

      public KeyDTO mapToDTO(Key entity)
      Description copied from interface: LexiconMapper
      Maps an entity to a DTO.
      Specified by:
      mapToDTO in interface LexiconMapper<Key,KeyDTO>
      Parameters:
      entity - the source entity
      Returns:
      the mapped DTO
    • mapToDTO

      public List<KeyDTO> mapToDTO(List<Key> entity)
      Description copied from interface: LexiconMapper
      Maps a list of entities to a list of DTO's.
      Specified by:
      mapToDTO in interface LexiconMapper<Key,KeyDTO>
      Parameters:
      entity - the source entities list
      Returns:
      the mapped list of DTO's
    • mapToEntity

      public Key mapToEntity(KeyDTO dto)
      Description copied from interface: LexiconMapper
      Maps a DTO to an entity.
      Specified by:
      mapToEntity in interface LexiconMapper<Key,KeyDTO>
      Parameters:
      dto - the source DTO
      Returns:
      the mapped entity
    • mapToEntity

      public List<Key> mapToEntity(List<KeyDTO> dto)
      Description copied from interface: LexiconMapper
      Maps a list of DTO's to a list of entities.
      Specified by:
      mapToEntity in interface LexiconMapper<Key,KeyDTO>
      Parameters:
      dto - the source DTO's list
      Returns:
      the mapped list of entities
    • mapToDTO

      public KeyDTO mapToDTO(Key key, boolean addTranslations)
      Description copied from interface: KeyMapper
      Maps an entity Key to DTO
      Specified by:
      mapToDTO in interface KeyMapper
      Parameters:
      key - the Key entity
      addTranslations - an addTranslations check value
      Returns:
      a mapped DTO