Project

General

Profile

« Previous | Next » 

Revision 54795

added back utility methods needed to manipulate protobuf objects from the dnet-deduplication tool

View differences:

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