[Graph Dump] Moving the measure at the level of the instance

pull/5/head
Miriam Baglioni 2 years ago
parent 8b1bcc065d
commit 80a2991016

@ -19,9 +19,12 @@ import java.util.List;
* -pid of type List<ControlledField> that is the list of pids associated to the result coming from authoritative sources for that pid
* -alternateIdentifier of type List<ControlledField> that is the list of pids associated to the result coming from NON authoritative
* sources for that pid
* -measure list<KeyValue> to represent the measure of beepFinder. It corresponds to measures in the model
*/
public class Instance implements Serializable {
private List<KeyValue> measures;
private List<ControlledField> pid;
private List<ControlledField> alternateIdentifier;
@ -111,4 +114,12 @@ public class Instance implements Serializable {
public void setAlternateIdentifier(List<ControlledField> alternateIdentifier) {
this.alternateIdentifier = alternateIdentifier;
}
public List<KeyValue> getMeasures() {
return measures;
}
public void setMeasures(List<KeyValue> measures) {
this.measures = measures;
}
}

@ -60,11 +60,11 @@ import java.util.List;
* to store information about the time OpenAIRE collected the record. It corresponds to dateofcollection of the result
* represented in the internal model - lasteupdatetimestamp of type String to store the timestamp of the last update of
* the record. It corresponds to lastupdatetimestamp of the resord represented in the internal model
* -measure list<KeyValue> to represent the measure of beepFinder. It corresponds to measures in the model
*
*/
public class Result implements Serializable {
private List<KeyValue> measures;
private List<Author> author;
@ -378,11 +378,5 @@ public class Result implements Serializable {
this.geolocation = geolocation;
}
public List<KeyValue> getMeasures() {
return measures;
}
public void setMeasures(List<KeyValue> measures) {
this.measures = measures;
}
}

Loading…
Cancel
Save