Revision 7c778a7e
Added by Andreas Müller about 10 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/algaterra/AlgaTerraTypeImport.java | ||
---|---|---|
42 | 42 |
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType; |
43 | 43 |
import eu.etaxonomy.cdm.model.reference.Reference; |
44 | 44 |
|
45 |
|
|
46 | 45 |
/** |
47 | 46 |
* @author a.mueller |
48 | 47 |
* @created 20.03.2008 |
49 |
* @version 1.0 |
|
50 | 48 |
*/ |
51 | 49 |
@Component |
52 | 50 |
public class AlgaTerraTypeImport extends AlgaTerraSpecimenImportBase { |
... | ... | |
357 | 355 |
} |
358 | 356 |
|
359 | 357 |
|
360 |
/* (non-Javadoc) |
|
361 |
* @see eu.etaxonomy.cdm.io.berlinModel.in.IPartitionedIO#getRelatedObjectsForPartition(java.sql.ResultSet) |
|
362 |
*/ |
|
363 |
public Map<Object, Map<String, ? extends CdmBase>> getRelatedObjectsForPartition(ResultSet rs) { |
|
358 |
@Override |
|
359 |
public Map<Object, Map<String, ? extends CdmBase>> getRelatedObjectsForPartition(ResultSet rs, BerlinModelImportState state) { |
|
364 | 360 |
String nameSpace; |
365 |
Class cdmClass; |
|
361 |
Class<?> cdmClass;
|
|
366 | 362 |
Set<String> idSet; |
367 | 363 |
Map<Object, Map<String, ? extends CdmBase>> result = new HashMap<Object, Map<String, ? extends CdmBase>>(); |
368 | 364 |
|
... | ... | |
370 | 366 |
Set<String> nameIdSet = new HashSet<String>(); |
371 | 367 |
Set<String> ecoFieldObservationIdSet = new HashSet<String>(); |
372 | 368 |
Set<String> typeSpecimenIdSet = new HashSet<String>(); |
373 |
Set<String> termsIdSet = new HashSet<String>(); |
|
369 |
// Set<String> termsIdSet = new HashSet<String>();
|
|
374 | 370 |
Set<String> collectionIdSet = new HashSet<String>(); |
375 | 371 |
Set<String> referenceIdSet = new HashSet<String>(); |
376 | 372 |
|
Also available in: Unified diff
latest globis import changes and update for IPartionedIO signature for app-import