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;
}
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;
}
Aggregations