1
0
Fork 0

classes to serialize/deserialize the prepared data

This commit is contained in:
Miriam Baglioni 2020-04-15 12:24:36 +02:00
parent 62b09be43c
commit 5a3487280d
2 changed files with 44 additions and 2 deletions

View File

@ -1,4 +1,25 @@
package eu.dnetlib.dhp.resulttoorganizationfrominstrepo;
public class DatasourceOrganization {
import java.io.Serializable;
public class DatasourceOrganization implements Serializable {
private String datasourceId;
private String organizationId;
public String getDatasourceId() {
return datasourceId;
}
public void setDatasourceId(String datasourceId) {
this.datasourceId = datasourceId;
}
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
}

View File

@ -1,4 +1,25 @@
package eu.dnetlib.dhp.resulttoorganizationfrominstrepo;
public class ResultOrganizationSet {
import java.io.Serializable;
import java.util.ArrayList;
public class ResultOrganizationSet implements Serializable {
private String resultId;
private ArrayList<String> organizationSet;
public String getResultId() {
return resultId;
}
public void setResultId(String resultId) {
this.resultId = resultId;
}
public ArrayList<String> getOrganizationSet() {
return organizationSet;
}
public void setOrganizationSet(ArrayList<String> organizationSet) {
this.organizationSet = organizationSet;
}
}