diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Result.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Result.java index ac1dae3827..9d625ecb59 100644 --- a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Result.java +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Result.java @@ -42,8 +42,6 @@ public class Result implements Serializable { private AccessRight bestaccessright; - private List externalReference; - private List instance; private Container container;// Journal @@ -252,14 +250,6 @@ public class Result implements Serializable { this.bestaccessright = bestaccessright; } - public List getExternalReference() { - return externalReference; - } - - public void setExternalReference(List externalReference) { - this.externalReference = externalReference; - } - public List getInstance() { return instance; } diff --git a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java index a25cdd7531..55afce46da 100644 --- a/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java +++ b/dhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/dump/ResultMapper.java @@ -328,14 +328,6 @@ public class ResultMapper implements Serializable { value -> value .forEach(s -> subjectList.add(getSubject(s)))); - List erList = new ArrayList<>(); - Optional - .ofNullable(input.getExtraInfo()) - .ifPresent( - value -> value - .forEach( - er -> erList.add(ExternalReference.newInstance(er)))); - out.setSubjects(subjectList); out.setType(input.getResulttype().getClassid());