Class ConfigValueMapper
java.lang.Object
es.kukenan.smartfi.microservice.backoffice.service.mapper.ConfigValueMapper
Component used to map
ConfigurationValues.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDtomap(ConfigurationValues configurationValues) Map singleConfigurationValuesobject toConfigValueDto.static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto>map(List<ConfigurationValues> configurationValues) Map list ofConfigurationValuesobjects to list ofConfigValueDto.static List<ConfigurationValues>mapEntities(List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto> dtos) Map list ofConfigValueDtodto to list ofConfigurationValuesentities.static ConfigurationValuesmapEntity(es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto dto) Map singleConfigValueDtodto toConfigurationValuesentity.mapOnboarding(List<ConfigurationValues> configurationValuesList) Map list ofConfigurationValuesobjects toConfigValueDto.
-
Constructor Details
-
ConfigValueMapper
public ConfigValueMapper()
-
-
Method Details
-
mapEntity
public static ConfigurationValues mapEntity(es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto dto) Map singleConfigValueDtodto toConfigurationValuesentity.- Parameters:
dto- Configuration Value dto.- Returns:
- Configuration Value Entity.
-
mapEntities
public static List<ConfigurationValues> mapEntities(List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto> dtos) Map list ofConfigValueDtodto to list ofConfigurationValuesentities.- Parameters:
dtos- Configuration Value dto list.- Returns:
- Configuration Value entities list.
-
map
public static es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto map(ConfigurationValues configurationValues) Map singleConfigurationValuesobject toConfigValueDto.- Parameters:
configurationValues- Configuration Value object.- Returns:
- Configuration Value Dto.
-
map
public static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.ConfigValueDto> map(List<ConfigurationValues> configurationValues) Map list ofConfigurationValuesobjects to list ofConfigValueDto.- Parameters:
configurationValues- Configuration Value object list.- Returns:
- Configuration Value Dto list.
-
mapOnboarding
Map list ofConfigurationValuesobjects toConfigValueDto.- Parameters:
configurationValuesList- Configuration Value object list.- Returns:
- Configuration Value Dto list.
-