2020-04-30 11:05:17 +02:00
|
|
|
|
2020-04-08 13:04:04 +02:00
|
|
|
package eu.dnetlib.dhp.countrypropagation;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
public class DatasourceCountry implements Serializable {
|
2020-04-30 11:05:17 +02:00
|
|
|
private String dataSourceId;
|
|
|
|
private CountrySbs country;
|
2020-04-08 13:04:04 +02:00
|
|
|
|
2020-04-30 11:05:17 +02:00
|
|
|
public String getDataSourceId() {
|
|
|
|
return dataSourceId;
|
|
|
|
}
|
2020-04-08 13:04:04 +02:00
|
|
|
|
2020-04-30 11:05:17 +02:00
|
|
|
public void setDataSourceId(String dataSourceId) {
|
|
|
|
this.dataSourceId = dataSourceId;
|
|
|
|
}
|
2020-04-08 13:04:04 +02:00
|
|
|
|
2020-04-30 11:05:17 +02:00
|
|
|
public CountrySbs getCountry() {
|
|
|
|
return country;
|
|
|
|
}
|
2020-04-08 13:04:04 +02:00
|
|
|
|
2020-04-30 11:05:17 +02:00
|
|
|
public void setCountry(CountrySbs country) {
|
|
|
|
this.country = country;
|
|
|
|
}
|
2022-03-11 13:56:48 +01:00
|
|
|
|
|
|
|
public static DatasourceCountry newInstance(String dataSourceId, CountrySbs country) {
|
|
|
|
DatasourceCountry dsc = new DatasourceCountry();
|
|
|
|
dsc.dataSourceId = dataSourceId;
|
|
|
|
dsc.country = country;
|
|
|
|
return dsc;
|
|
|
|
}
|
2020-04-08 13:04:04 +02:00
|
|
|
}
|