classes to (de)serialize the data provided in the preparation step

This commit is contained in:
Miriam Baglioni 2020-04-16 18:44:43 +02:00
parent 3fd9d6b02f
commit fff1e5ec39
2 changed files with 53 additions and 2 deletions

View File

@ -1,4 +1,25 @@
package eu.dnetlib.dhp.resulttocommunityfromorganization;
public class ResultCommunityList {
import java.io.Serializable;
import java.util.ArrayList;
public class ResultCommunityList implements Serializable {
private String resultId;
private ArrayList<String> communityList;
public String getResultId() {
return resultId;
}
public void setResultId(String resultId) {
this.resultId = resultId;
}
public ArrayList<String> getCommunityList() {
return communityList;
}
public void setCommunityList(ArrayList<String> communityList) {
this.communityList = communityList;
}
}

View File

@ -1,4 +1,34 @@
package eu.dnetlib.dhp.resulttocommunityfromorganization;
public class ResultOrganizations {
import java.io.Serializable;
import java.util.ArrayList;
public class ResultOrganizations implements Serializable {
private String resultId;
private String orgId;
private ArrayList<String> merges;
public String getResultId() {
return resultId;
}
public void setResultId(String resultId) {
this.resultId = resultId;
}
public String getOrgId() {
return orgId;
}
public void setOrgId(String orgId) {
this.orgId = orgId;
}
public ArrayList<String> getMerges() {
return merges;
}
public void setMerges(ArrayList<String> merges) {
this.merges = merges;
}
}