1 package fr.ifremer.dali.dto.enums;
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 import static org.nuiton.i18n.I18n.n;
27 import static org.nuiton.i18n.I18n.t;
28
29
30
31
32 public enum ExtractionOutputType {
33
34 STANDARD(n("dali.core.enums.extractionOutputType.standard"), false),
35 COMPLETE(n("dali.core.enums.extractionOutputType.complete"), false),
36 AGGREGATED_STANDARD(n("dali.core.enums.extractionOutputType.aggregatedStandard"), false),
37 AGGREGATED_COMPLETE(n("dali.core.enums.extractionOutputType.aggregatedComplete"), false);
38
39 private final String keyLabel;
40 private final boolean external;
41
42 ExtractionOutputType(String keyLabel, boolean external) {
43 this.keyLabel = keyLabel;
44 this.external = external;
45 }
46
47
48
49
50
51
52 public String getLabel() {
53 return t(this.keyLabel);
54 }
55
56
57
58
59
60
61 public boolean isExternal() {
62 return external;
63 }
64 }