1
0
Fork 0

moved Context as relevant for Communities dump

This commit is contained in:
Miriam Baglioni 2020-08-12 18:16:45 +02:00
parent 4871dfe595
commit 235d4e4d6e
3 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,6 @@ package eu.dnetlib.dhp.schema.dump.oaf.community;
import java.util.List; import java.util.List;
import eu.dnetlib.dhp.schema.dump.oaf.Context;
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue; import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
import eu.dnetlib.dhp.schema.dump.oaf.Result; import eu.dnetlib.dhp.schema.dump.oaf.Result;

View File

@ -1,5 +1,8 @@
package eu.dnetlib.dhp.schema.dump.oaf; package eu.dnetlib.dhp.schema.dump.oaf.community;
import eu.dnetlib.dhp.schema.dump.oaf.Provenance;
import eu.dnetlib.dhp.schema.dump.oaf.Qualifier;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;

View File

@ -5,6 +5,7 @@ import java.io.Serializable;
import java.util.*; import java.util.*;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import eu.dnetlib.dhp.schema.dump.oaf.community.Context;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import eu.dnetlib.dhp.schema.common.ModelConstants; import eu.dnetlib.dhp.schema.common.ModelConstants;
@ -178,7 +179,7 @@ public class ResultMapper implements Serializable {
.newInstance( .newInstance(
provenance provenance
.getProvenanceaction() .getProvenanceaction()
.getClassid(), .getClassname(),
c.getDataInfo().getTrust()))); c.getDataInfo().getTrust())));
return country; return country;
}) })