Revision 45965
Added by Sandro La Bruzzo about 7 years ago
PmfToHbaseXsltFunctions.java | ||
---|---|---|
65 | 65 |
entity.setType(Type.publication).setId(resultId); |
66 | 66 |
entity.setDateoftransformation(StringUtils.isBlank(dateOfTransformation) ? "" : dateOfTransformation); |
67 | 67 |
entity.setDateofcollection(StringUtils.isBlank(dateOfCollection) ? "" : dateOfCollection); |
68 |
//entity.addAllPid(Iterables.filter(pids, Predicates.notNull())); |
|
69 |
pids.forEach(pid -> entity.addExtension(DliProtos.typedIdentifier, pid)); |
|
68 |
pids.stream().map(DliToHbaseXsltFunctions::fixPid).forEach(pid -> entity.addExtension(DliProtos.typedIdentifier, pid)); |
|
70 | 69 |
entity.setDateofcollection(dateOfCollection) |
71 | 70 |
.setDateoftransformation(dateOfTransformation).setOaiprovenance(getOAIProvenance(about)); |
72 | 71 |
entity.setPublication(publication); |
Also available in: Unified diff
Added fix of pid