Search in sources :

Example 1 with FishingActivityConfigDTO

use of eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO in project UVMS-ActivityModule-APP by UnionVMS.

the class MapperUtil method getSourceActivityConfigDTO.

public static ActivityConfigDTO getSourceActivityConfigDTO() {
    ActivityConfigDTO activityConfigDTO = new ActivityConfigDTO();
    FishingActivityConfigDTO fishingActivityConfig = new FishingActivityConfigDTO();
    SummaryReportDTO summaryReport = new SummaryReportDTO();
    summaryReport.setValues(Arrays.asList("Report1", "Report2", "Report3"));
    summaryReport.setOrder(Arrays.asList("Report1", "Report2", "Report3"));
    fishingActivityConfig.setSummaryReport(summaryReport);
    activityConfigDTO.setFishingActivityConfig(fishingActivityConfig);
    return activityConfigDTO;
}
Also used : FishingActivityConfigDTO(eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO) ActivityConfigDTO(eu.europa.ec.fisheries.ers.service.dto.config.ActivityConfigDTO) FishingActivityConfigDTO(eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO) SummaryReportDTO(eu.europa.ec.fisheries.ers.service.dto.config.SummaryReportDTO)

Example 2 with FishingActivityConfigDTO

use of eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO in project UVMS-ActivityModule-APP by UnionVMS.

the class MapperUtil method getTargetActivityConfigDTO.

public static ActivityConfigDTO getTargetActivityConfigDTO() {
    ActivityConfigDTO activityConfigDTO = new ActivityConfigDTO();
    FishingActivityConfigDTO fishingActivityConfig = new FishingActivityConfigDTO();
    SummaryReportDTO summaryReport = new SummaryReportDTO();
    summaryReport.setValues(Arrays.asList("Report1", "Report2", "Report3", "Report3", "Report4"));
    summaryReport.setOrder(Arrays.asList("Report1", "Report2", "Report3", "Report3", "Report4"));
    fishingActivityConfig.setSummaryReport(summaryReport);
    activityConfigDTO.setFishingActivityConfig(fishingActivityConfig);
    return activityConfigDTO;
}
Also used : FishingActivityConfigDTO(eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO) ActivityConfigDTO(eu.europa.ec.fisheries.ers.service.dto.config.ActivityConfigDTO) FishingActivityConfigDTO(eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO) SummaryReportDTO(eu.europa.ec.fisheries.ers.service.dto.config.SummaryReportDTO)

Aggregations

ActivityConfigDTO (eu.europa.ec.fisheries.ers.service.dto.config.ActivityConfigDTO)2 FishingActivityConfigDTO (eu.europa.ec.fisheries.ers.service.dto.config.FishingActivityConfigDTO)2 SummaryReportDTO (eu.europa.ec.fisheries.ers.service.dto.config.SummaryReportDTO)2