Revision 57655
Added by Michele De Bonis over 4 years ago
ProtoConverter.java | ||
---|---|---|
476 | 476 |
entity.setRank(author.getRank()); |
477 | 477 |
entity.setPid(author.getPidList() |
478 | 478 |
.stream() |
479 |
.map(ProtoConverter::mapKV) |
|
479 |
.map(kv -> { |
|
480 |
final StructuredProperty sp = new StructuredProperty(); |
|
481 |
sp.setValue(kv.getValue()); |
|
482 |
final Qualifier q = new Qualifier(); |
|
483 |
q.setClassid(kv.getKey()); |
|
484 |
q.setClassname(kv.getKey()); |
|
485 |
sp.setQualifier(q); |
|
486 |
return sp; |
|
487 |
}) |
|
480 | 488 |
.collect(Collectors.toList())); |
481 | 489 |
entity.setAffiliation(author.getAffiliationList() |
482 | 490 |
.stream() |
Also available in: Unified diff
modification to fit with the tree-dedup