Project

General

Profile

Download (1.52 KB) Statistics
| Branch: | Tag: | Revision:
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.in;
10

    
11
import eu.etaxonomy.cdm.common.URI;
12
import java.util.UUID;
13

    
14
import eu.etaxonomy.cdm.database.ICdmDataSource;
15
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer;
16
import eu.etaxonomy.cdm.io.excel.common.ExcelImportConfiguratorBase;
17
import eu.etaxonomy.cdm.io.fact.altitude.in.analyze.ExcelFormatAnalyzer;
18

    
19
/**
20
 * Configurator base class for taxon fact excel imports.
21
 *
22
 * @author a.mueller
23
 * @since 28.05.2020
24
 */
25
public abstract class FactExcelImportConfiguratorBase<A extends ExcelFormatAnalyzer<?>>
26
        extends ExcelImportConfiguratorBase{
27

    
28
    private static final long serialVersionUID = 1649010514975388511L;
29

    
30
    private UUID featureUuid;
31
    private String featureLabel;
32

    
33
    protected FactExcelImportConfiguratorBase(URI uri, ICdmDataSource destination, IInputTransformer transformer) {
34
        super(uri, destination, transformer);
35
    }
36

    
37
    public abstract A getAnalyzer();
38

    
39

    
40

    
41
    public UUID getFeatureUuid() {
42
        return featureUuid;
43
    }
44
    public void setFeatureUuid(UUID featureUuid) {
45
        this.featureUuid = featureUuid;
46
    }
47

    
48
    public String getFeatureLabel() {
49
        return this.featureLabel;
50
    }
51
    public void setFeatureLabel(String featureLabel) {
52
        this.featureLabel = featureLabel;
53
    }
54
}
(2-2/3)