Search in sources :

Example 1 with AreaDtoMapper

use of eu.europa.ec.fisheries.ers.service.mapper.AreaDtoMapper in project UVMS-ActivityModule-APP by UnionVMS.

the class BaseActivityViewMapper method getAreas.

public static AreaDto getAreas(FishingActivityEntity faEntity) {
    AreaDto areaDto = new AreaDtoMapper().mapToAreaDto(faEntity);
    areaDto.setFluxLocations(mapFromFluxLocation(faEntity.getFluxLocations(), FluxLocationEnum.AREA));
    return areaDto;
}
Also used : AreaDto(eu.europa.ec.fisheries.ers.service.dto.view.AreaDto) AreaDtoMapper(eu.europa.ec.fisheries.ers.service.mapper.AreaDtoMapper)

Aggregations

AreaDto (eu.europa.ec.fisheries.ers.service.dto.view.AreaDto)1 AreaDtoMapper (eu.europa.ec.fisheries.ers.service.mapper.AreaDtoMapper)1