This commit is contained in:
Miriam Baglioni 2020-08-13 12:55:32 +02:00
parent fd48ae3b85
commit fcd10f452c
2 changed files with 0 additions and 18 deletions

View File

@ -42,8 +42,6 @@ public class Result implements Serializable {
private AccessRight bestaccessright; private AccessRight bestaccessright;
private List<ExternalReference> externalReference;
private List<Instance> instance; private List<Instance> instance;
private Container container;// Journal private Container container;// Journal
@ -252,14 +250,6 @@ public class Result implements Serializable {
this.bestaccessright = bestaccessright; this.bestaccessright = bestaccessright;
} }
public List<ExternalReference> getExternalReference() {
return externalReference;
}
public void setExternalReference(List<ExternalReference> externalReference) {
this.externalReference = externalReference;
}
public List<Instance> getInstance() { public List<Instance> getInstance() {
return instance; return instance;
} }

View File

@ -328,14 +328,6 @@ public class ResultMapper implements Serializable {
value -> value value -> value
.forEach(s -> subjectList.add(getSubject(s)))); .forEach(s -> subjectList.add(getSubject(s))));
List<ExternalReference> erList = new ArrayList<>();
Optional
.ofNullable(input.getExtraInfo())
.ifPresent(
value -> value
.forEach(
er -> erList.add(ExternalReference.newInstance(er))));
out.setSubjects(subjectList); out.setSubjects(subjectList);
out.setType(input.getResulttype().getClassid()); out.setType(input.getResulttype().getClassid());