1
0
Fork 0
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 List<ExternalReference> externalReference;
private List<Instance> instance;
private Container container;// Journal
@ -252,14 +250,6 @@ public class Result implements Serializable {
this.bestaccessright = bestaccessright;
}
public List<ExternalReference> getExternalReference() {
return externalReference;
}
public void setExternalReference(List<ExternalReference> externalReference) {
this.externalReference = externalReference;
}
public List<Instance> getInstance() {
return instance;
}

View File

@ -328,14 +328,6 @@ public class ResultMapper implements Serializable {
value -> value
.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.setType(input.getResulttype().getClassid());