Revision 306337ee
Added by Andreas Müller almost 3 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/identifier/IdentifierImport.java | ||
---|---|---|
64 | 64 |
return; |
65 | 65 |
} |
66 | 66 |
|
67 |
@SuppressWarnings("rawtypes") |
|
68 |
Set<IdentifiableEntity> entitiesToSave = new HashSet<>(); |
|
69 | 67 |
Set<UUID> entityUuidsHandled = new HashSet<>(); |
70 | 68 |
|
71 | 69 |
UUID identifierTypeUuid = config.getIdentifierTypeUuid(); |
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/wfo/in/WfoAccessImportConfigurator.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import java.io.IOException; |
12 | 12 |
import java.io.InputStreamReader; |
13 |
import eu.etaxonomy.cdm.common.URI; |
|
14 | 13 |
import java.util.UUID; |
15 | 14 |
|
15 |
import eu.etaxonomy.cdm.common.URI; |
|
16 | 16 |
import eu.etaxonomy.cdm.database.ICdmDataSource; |
17 | 17 |
import eu.etaxonomy.cdm.io.csv.in.CsvImportConfiguratorBase; |
18 | 18 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
... | ... | |
34 | 34 |
|
35 | 35 |
private boolean addAuthorsToReference = true; |
36 | 36 |
|
37 |
/** |
|
38 |
* @param inputStream |
|
39 |
* @param object |
|
40 |
* @return |
|
41 |
*/ |
|
42 | 37 |
public static WfoAccessImportConfigurator NewInstance(InputStreamReader inputStream, ICdmDataSource cdmDestination) { |
43 | 38 |
return new WfoAccessImportConfigurator(inputStream, cdmDestination); |
44 | 39 |
} |
... | ... | |
48 | 43 |
return new WfoAccessImportConfigurator(uri, cdmDestination); |
49 | 44 |
} |
50 | 45 |
|
51 |
/** |
|
52 |
* @param inputStream |
|
53 |
* @param cdmDestination |
|
54 |
*/ |
|
55 | 46 |
private WfoAccessImportConfigurator(InputStreamReader inputStream, ICdmDataSource cdmDestination) { |
56 | 47 |
super(inputStream, cdmDestination); |
57 | 48 |
} |
58 | 49 |
|
59 |
/** |
|
60 |
* @param uri |
|
61 |
* @param cdmDestination |
|
62 |
* @param transformer |
|
63 |
* @throws IOException |
|
64 |
*/ |
|
65 | 50 |
private WfoAccessImportConfigurator(URI uri, ICdmDataSource cdmDestination) |
66 | 51 |
throws IOException { |
67 | 52 |
super(uri, cdmDestination, null); |
68 | 53 |
this.setNomenclaturalCode(NomenclaturalCode.ICNAFP); |
69 | 54 |
} |
70 | 55 |
|
71 |
/** |
|
72 |
* {@inheritDoc} |
|
73 |
*/ |
|
74 | 56 |
@Override |
75 | 57 |
protected void makeIoClassList() { |
76 | 58 |
ioClassList = new Class[]{ |
Also available in: Unified diff
cleanup