1
0
Fork 0

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; import java.io.Serializable;
public class Country implements Serializable { public class CountrySbs implements Serializable {
private String classid; private String classid;
private String classname; private String classname;

View File

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

View File

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