1
|
package eu.etaxonomy.cdm.io.redlist.gefaesspflanzen;
|
2
|
|
3
|
import eu.etaxonomy.cdm.database.ICdmDataSource;
|
4
|
import eu.etaxonomy.cdm.io.common.DbImportConfiguratorBase;
|
5
|
import eu.etaxonomy.cdm.io.common.Source;
|
6
|
import eu.etaxonomy.cdm.io.common.mapping.IInputTransformer;
|
7
|
import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
|
8
|
|
9
|
/**
|
10
|
*
|
11
|
* @author pplitzner
|
12
|
* @date Mar 1, 2016
|
13
|
*
|
14
|
*/
|
15
|
@SuppressWarnings("serial")
|
16
|
public class RedListGefaesspflanzenImportConfigurator extends
|
17
|
DbImportConfiguratorBase<RedListGefaesspflanzenImportState> {
|
18
|
|
19
|
public static RedListGefaesspflanzenImportConfigurator NewInstance(Source source, ICdmDataSource cdmDestination) {
|
20
|
return new RedListGefaesspflanzenImportConfigurator(source, cdmDestination, new RedListGefaesspflanzenTransformer());
|
21
|
}
|
22
|
|
23
|
|
24
|
protected RedListGefaesspflanzenImportConfigurator(Source source,
|
25
|
ICdmDataSource destination, IInputTransformer defaultTransformer) {
|
26
|
super(source, destination, NomenclaturalCode.ICNAFP, defaultTransformer);
|
27
|
}
|
28
|
|
29
|
@SuppressWarnings("unchecked")
|
30
|
@Override
|
31
|
public RedListGefaesspflanzenImportState getNewState() {
|
32
|
return new RedListGefaesspflanzenImportState(this);
|
33
|
}
|
34
|
|
35
|
@SuppressWarnings("unchecked")
|
36
|
@Override
|
37
|
protected void makeIoClassList() {
|
38
|
ioClassList = new Class[]{
|
39
|
RedListGefaesspflanzenImportAuthor.class,
|
40
|
RedListGefaesspflanzenImportNames.class,
|
41
|
RedListGefaesspflanzenImportClassification.class,
|
42
|
};
|
43
|
}
|
44
|
}
|