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