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.model.ProgramDataModel;
28
29 import java.io.File;
30 import java.io.Serializable;
31
32
33
34
35
36
37
38 public class GenericFormatImportConfiguration implements Serializable {
39
40 private static final long serialVersionUID = 1L;
41
42
43
44
45 private File importFile;
46
47
48
49
50 private File reportFile;
51
52
53
54
55 private boolean cleanWeights;
56
57
58
59
60 private boolean checkWeights;
61
62
63
64
65 private boolean overrideProtocol;
66
67
68
69
70 private ProgramDataModel dataToExport;
71
72
73
74
75 private boolean importSpecies;
76
77
78
79
80 private boolean importBenthos;
81
82
83
84
85 private boolean importMarineLitter;
86
87
88
89
90 private boolean importAccidentalCatch;
91
92
93
94
95 private boolean importIndividualObservation;
96
97
98
99
100 private boolean importAttachments;
101
102
103
104
105 private boolean updateCruises;
106
107
108
109
110 private boolean updateOperations;
111
112
113
114
115 private int maximumRowsInErrorPerFile;
116
117 private boolean authorizeObsoleteReferentials;
118
119 public ProgramDataModel getDataToExport() {
120 return dataToExport;
121 }
122
123 public void setDataToExport(ProgramDataModel dataToExport) {
124 this.dataToExport = dataToExport;
125 }
126
127 public File getImportFile() {
128 return importFile;
129 }
130
131 public void setImportFile(File importFile) {
132 this.importFile = importFile;
133 }
134
135 public File getReportFile() {
136 return reportFile;
137 }
138
139 public void setReportFile(File reportFile) {
140 this.reportFile = reportFile;
141 }
142
143 public boolean isCleanWeights() {
144 return cleanWeights;
145 }
146
147 public void setCleanWeights(boolean cleanWeights) {
148 this.cleanWeights = cleanWeights;
149 }
150
151 public boolean isCheckWeights() {
152 return checkWeights;
153 }
154
155 public void setCheckWeights(boolean checkWeights) {
156 this.checkWeights = checkWeights;
157 }
158
159 public void setOverrideProtocol(boolean overrideProtocol) {
160 this.overrideProtocol = overrideProtocol;
161 }
162
163 public boolean isOverrideProtocol() {
164 return overrideProtocol;
165 }
166
167 public boolean isUpdateCruises() {
168 return updateCruises;
169 }
170
171 public void setUpdateCruises(boolean updateCruises) {
172 this.updateCruises = updateCruises;
173 }
174
175 public boolean isUpdateOperations() {
176 return updateOperations;
177 }
178
179 public void setUpdateOperations(boolean updateOperations) {
180 this.updateOperations = updateOperations;
181 }
182
183 public boolean isImportSpecies() {
184 return importSpecies;
185 }
186
187 public void setImportSpecies(boolean importSpecies) {
188 this.importSpecies = importSpecies;
189 }
190
191 public boolean isImportBenthos() {
192 return importBenthos;
193 }
194
195 public void setImportBenthos(boolean importBenthos) {
196 this.importBenthos = importBenthos;
197 }
198
199 public boolean isImportMarineLitter() {
200 return importMarineLitter;
201 }
202
203 public void setImportMarineLitter(boolean importMarineLitter) {
204 this.importMarineLitter = importMarineLitter;
205 }
206
207 public boolean isImportAccidentalCatch() {
208 return importAccidentalCatch;
209 }
210
211 public void setImportAccidentalCatch(boolean importAccidentalCatch) {
212 this.importAccidentalCatch = importAccidentalCatch;
213 }
214
215 public boolean isImportIndividualObservation() {
216 return importIndividualObservation;
217 }
218
219 public void setImportIndividualObservation(boolean importIndividualObservation) {
220 this.importIndividualObservation = importIndividualObservation;
221 }
222
223 public boolean isImportAttachments() {
224 return importAttachments;
225 }
226
227 public void setImportAttachments(boolean importAttachments) {
228 this.importAttachments = importAttachments;
229 }
230
231 public int getMaximumRowsInErrorPerFile() {
232 return maximumRowsInErrorPerFile;
233 }
234
235 public void setMaximumRowsInErrorPerFile(int maximumRowsInErrorPerFile) {
236 this.maximumRowsInErrorPerFile = maximumRowsInErrorPerFile;
237 }
238
239 public boolean isAuthorizeObsoleteReferentials() {
240 return authorizeObsoleteReferentials;
241 }
242
243 public void setAuthorizeObsoleteReferentials(boolean authorizeObsoleteReferentials) {
244 this.authorizeObsoleteReferentials = authorizeObsoleteReferentials;
245 }
246 }