Project

General

Profile

Download (1.41 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2019 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.descriptive.owl.in;
10

    
11
import eu.etaxonomy.cdm.common.URI;
12
import eu.etaxonomy.cdm.io.common.ImportConfiguratorBase;
13
import eu.etaxonomy.cdm.model.reference.Reference;
14

    
15
/**
16
 * @author pplitzner
17
 * @since Apr 24, 2019
18
 */
19
public class StructureTreeOwlImportConfigurator
20
        extends ImportConfiguratorBase<StructureTreeOwlImportState, URI> {
21

    
22
    private static final long serialVersionUID = -7981427548996602252L;
23

    
24
    public static StructureTreeOwlImportConfigurator NewInstance(URI source){
25
        return new StructureTreeOwlImportConfigurator(source);
26
    }
27

    
28
    protected StructureTreeOwlImportConfigurator(URI source) {
29
        super(null);
30
        this.setSource(source);
31
    }
32

    
33
    @Override
34
    public StructureTreeOwlImportState getNewState() {
35
        return new StructureTreeOwlImportState(this);
36
    }
37

    
38
    @Override
39
    protected void makeIoClassList() {
40
        ioClassList = new Class[] {
41
                TermVocabularyOwlImport.class,
42
                StructureTreeOwlImport.class,
43
                CharacterOwlImport.class
44
        };
45
    }
46

    
47
    @Override
48
    public Reference getSourceReference() {
49
        return sourceReference;
50
    }
51

    
52
}
(4-4/6)