Revision 54795
Added by Claudio Atzori about 5 years ago
OafEntityDecoder.java | ||
---|---|---|
51 | 51 |
return field; |
52 | 52 |
} |
53 | 53 |
|
54 |
public List<String> getFieldValues(final String path) { |
|
55 |
return processPath(getOafEntity(), path, eu.dnetlib.pace.config.Type.String).stream() |
|
56 |
.map(o -> o.toString()) |
|
57 |
.collect(Collectors.toCollection(LinkedList::new)); |
|
58 |
} |
|
59 |
|
|
60 |
|
|
54 | 61 |
public String getDateOfCollection() { |
55 | 62 |
return oafEntity.getDateofcollection(); |
56 | 63 |
} |
Also available in: Unified diff
added back utility methods needed to manipulate protobuf objects from the dnet-deduplication tool