changed because of #40 (comment)
This commit is contained in:
parent
fd48ae3b85
commit
fcd10f452c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue