diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/common/ModelSupport.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/common/ModelSupport.java index 7d8be81ac9..b5bca2e93e 100644 --- a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/common/ModelSupport.java +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/common/ModelSupport.java @@ -79,6 +79,15 @@ public class ModelSupport { entityIdPrefix.put("result", "50"); } + public static final Map idPrefixEntity = Maps.newHashMap(); + + static { + idPrefixEntity.put("10", "datasource"); + idPrefixEntity.put("20", "organization"); + idPrefixEntity.put("40", "project"); + idPrefixEntity.put("50", "result"); + } + public static final Map relationInverseMap = Maps.newHashMap(); static {