allow orcid_pending to be percolate to the XML graph serialization

This commit is contained in:
Claudio Atzori 2020-12-09 19:04:50 +01:00
parent 211aa04726
commit ff72fcd91a
1 changed files with 3 additions and 1 deletions

View File

@ -7,13 +7,15 @@ import java.util.Set;
import com.google.common.collect.Sets; import com.google.common.collect.Sets;
import eu.dnetlib.dhp.schema.common.ModelConstants;
import eu.dnetlib.dhp.schema.oaf.*; import eu.dnetlib.dhp.schema.oaf.*;
public class GraphMappingUtils { public class GraphMappingUtils {
public static final String SEPARATOR = "_"; public static final String SEPARATOR = "_";
public static Set<String> authorPidTypes = Sets.newHashSet("orcid", "magidentifier"); public static Set<String> authorPidTypes = Sets.newHashSet(
ModelConstants.ORCID, ModelConstants.ORCID_PENDING, "magidentifier");
public static String removePrefix(final String s) { public static String removePrefix(final String s) {
if (s.contains("|")) if (s.contains("|"))