1 package fr.ifremer.tutti.service.genericformat;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 import fr.ifremer.tutti.persistence.entities.data.SampleCategoryModel;
28 import fr.ifremer.tutti.persistence.entities.protocol.TuttiProtocol;
29
30 import java.io.Serializable;
31 import java.nio.file.Path;
32
33
34
35
36
37
38
39 public class GenericFormatExportRequest implements Serializable {
40
41 private static final long serialVersionUID = 1L;
42
43 private final GenericFormatExportConfiguration exportConfiguration;
44
45 private final GenericFormatArchive archive;
46
47 private final char csvSeparator;
48
49 private final SampleCategoryModel sampleCategoryModel;
50
51 private final TuttiProtocol protocol;
52
53 private final String countryId;
54
55 private final Path attachmentsSourcePath;
56
57 public GenericFormatExportRequest(GenericFormatExportConfiguration exportConfiguration,
58 GenericFormatArchive archive,
59 char csvSeparator,
60 SampleCategoryModel sampleCategoryModel,
61 TuttiProtocol protocol,
62 String countryId,
63 Path attachmentsSourcePath) {
64 this.exportConfiguration = exportConfiguration;
65 this.archive = archive;
66 this.csvSeparator = csvSeparator;
67 this.sampleCategoryModel = sampleCategoryModel;
68 this.protocol = protocol;
69 this.countryId = countryId;
70 this.attachmentsSourcePath = attachmentsSourcePath;
71 }
72
73 public GenericFormatExportConfiguration getExportConfiguration() {
74 return exportConfiguration;
75 }
76
77 public GenericFormatArchive getArchive() {
78 return archive;
79 }
80
81 public char getCsvSeparator() {
82 return csvSeparator;
83 }
84
85 public SampleCategoryModel getSampleCategoryModel() {
86 return sampleCategoryModel;
87 }
88
89 public TuttiProtocol getProtocol() {
90 return protocol;
91 }
92
93 public String getCountryId() {
94 return countryId;
95 }
96
97 public Path getAttachmentsSourcePath() {
98 return attachmentsSourcePath;
99 }
100
101 }