classes in support of new implementation of country propagation

This commit is contained in:
Miriam Baglioni 2020-04-11 16:35:26 +02:00
parent 85766a02d8
commit 6897c920a2
3 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ package eu.dnetlib.dhp.countrypropagation;
import java.io.Serializable;
public class Country implements Serializable {
public class CountrySbs implements Serializable {
private String classid;
private String classname;

View File

@ -4,7 +4,7 @@ import java.io.Serializable;
public class DatasourceCountry implements Serializable {
private String dataSourceId;
private Country country;
private CountrySbs country;
public String getDataSourceId() {
return dataSourceId;
@ -14,11 +14,11 @@ public class DatasourceCountry implements Serializable {
this.dataSourceId = dataSourceId;
}
public Country getCountry() {
public CountrySbs getCountry() {
return country;
}
public void setCountry(Country country) {
public void setCountry(CountrySbs country) {
this.country = country;
}
}

View File

@ -1,11 +1,11 @@
package eu.dnetlib.dhp.countrypropagation;
import java.io.Serializable;
import java.util.Set;
import java.util.ArrayList;
public class ResultCountrySet implements Serializable {
private String resultId;
private Set<Country> countrySet;
private ArrayList<CountrySbs> countrySet;
public String getResultId() {
return resultId;
@ -15,11 +15,11 @@ public class ResultCountrySet implements Serializable {
this.resultId = resultId;
}
public Set<Country> getCountrySet() {
public ArrayList<CountrySbs> getCountrySet() {
return countrySet;
}
public void setCountrySet(Set<Country> countrySet) {
public void setCountrySet(ArrayList<CountrySbs> countrySet) {
this.countrySet = countrySet;
}
}