forked from D-Net/dnet-hadoop
classes in support of new implementation of country propagation
This commit is contained in:
parent
85766a02d8
commit
6897c920a2
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue