Project

General

Profile

Download (1.01 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2017 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.common;
10

    
11
import eu.etaxonomy.cdm.database.ICdmDataSource;
12
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer;
13

    
14
/**
15
 * @author a.mueller
16
 * @since 14.03.2017
17
 */
18
public abstract class SimpleImportConfiguratorBase<SOURCE extends Object>
19
        extends ImportConfiguratorBase<EmptyImportState<SimpleImportConfiguratorBase,?>, SOURCE>{
20
    private static final long serialVersionUID = 5310312930219876822L;
21

    
22
    protected SimpleImportConfiguratorBase(SOURCE source, ICdmDataSource destination, IInputTransformer transformer) {
23
        super(transformer);
24
        setSource(source);
25
        setDestination(destination);
26
    }
27

    
28
    @Override
29
    public EmptyImportState getNewState() {
30
        return new EmptyImportState(this);
31
    }
32
}
(54-54/65)