1
|
/**
|
2
|
* Copyright (C) 2020 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.io.fact.temporal.in;
|
10
|
|
11
|
/**
|
12
|
* Analyzer for taxon based phenology import.
|
13
|
*
|
14
|
* TODO not yet implemented
|
15
|
*
|
16
|
* @author a.mueller
|
17
|
* @since 15.07.2020
|
18
|
*/
|
19
|
public class PhenologyExcelFormatAnalyzer
|
20
|
extends TemporalDataExcelFormatAnalyzer<PhenologyExcelImportConfigurator> {
|
21
|
|
22
|
protected PhenologyExcelFormatAnalyzer(PhenologyExcelImportConfigurator config) {
|
23
|
super(config, requiredWorksheets(), requiredColumns(), optionalColumns(), optionalMultiColumns());
|
24
|
}
|
25
|
|
26
|
private static String[] requiredWorksheets() {
|
27
|
return new String[]{"Data","Vocabulary"};
|
28
|
}
|
29
|
|
30
|
private static String[] requiredColumns() {
|
31
|
return new String[]{"taxonUuid", "xxx", "xxx"};
|
32
|
}
|
33
|
|
34
|
private static String[] optionalColumns() {
|
35
|
return new String[]{"nameCache", "nameFullCache"};
|
36
|
}
|
37
|
private static String[] optionalMultiColumns() {
|
38
|
return new String[]{};
|
39
|
}
|
40
|
|
41
|
|
42
|
}
|