[scholexplorer model update] dropping result.pid, all of them are moved as instance.alternateIdentifier(s)

This commit is contained in:
Claudio Atzori 2021-05-27 17:25:01 +02:00
parent ef2518c235
commit 1c79a5b7e6
1 changed files with 5 additions and 4 deletions

View File

@ -1,18 +1,19 @@
package eu.dnetlib.dhp.export; package eu.dnetlib.dhp.export;
import java.io.IOException;
import java.util.List;
import java.util.Optional;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.Lists; import com.google.common.collect.Lists;
import eu.dnetlib.dhp.schema.common.ModelConstants; import eu.dnetlib.dhp.schema.common.ModelConstants;
import eu.dnetlib.dhp.schema.oaf.*; import eu.dnetlib.dhp.schema.oaf.*;
import eu.dnetlib.dhp.schema.oaf.utils.IdentifierFactory; import eu.dnetlib.dhp.schema.oaf.utils.IdentifierFactory;
import eu.dnetlib.dhp.schema.oaf.utils.OafMapperUtils; import eu.dnetlib.dhp.schema.oaf.utils.OafMapperUtils;
import scala.collection.immutable.Map; import scala.collection.immutable.Map;
import java.io.IOException;
import java.util.List;
import java.util.Optional;
public class ScholexplorerPatcher { public class ScholexplorerPatcher {
private static final ObjectMapper mapper = new ObjectMapper(); private static final ObjectMapper mapper = new ObjectMapper();