Moving the BipFinder! Measures #6

Merged
miriam.baglioni merged 5 commits from instance_measures into master 2021-11-16 10:52:54 +01:00
2 changed files with 13 additions and 8 deletions
Showing only changes of commit 80a2991016 - Show all commits

View File

@ -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 * -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 * -alternateIdentifier of type List<ControlledField> that is the list of pids associated to the result coming from NON authoritative
* sources for that pid * 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 { public class Instance implements Serializable {
private List<KeyValue> measures;
private List<ControlledField> pid; private List<ControlledField> pid;
private List<ControlledField> alternateIdentifier; private List<ControlledField> alternateIdentifier;
@ -111,4 +114,12 @@ public class Instance implements Serializable {
public void setAlternateIdentifier(List<ControlledField> alternateIdentifier) { public void setAlternateIdentifier(List<ControlledField> alternateIdentifier) {
this.alternateIdentifier = alternateIdentifier; this.alternateIdentifier = alternateIdentifier;
} }
public List<KeyValue> getMeasures() {
return measures;
}
public void setMeasures(List<KeyValue> measures) {
this.measures = measures;
}
} }

View File

@ -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 * 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 * 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 * 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 { public class Result implements Serializable {
private List<KeyValue> measures;
private List<Author> author; private List<Author> author;
@ -378,11 +378,5 @@ public class Result implements Serializable {
this.geolocation = geolocation; this.geolocation = geolocation;
} }
public List<KeyValue> getMeasures() {
return measures;
}
public void setMeasures(List<KeyValue> measures) {
this.measures = measures;
}
} }