From e0038bde5baf1a3903b9065fa28cad8fad1e41ac Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Tue, 14 Apr 2020 15:32:12 +0200 Subject: [PATCH] Support class to serialize/deserialize the association project, set of linked results --- .../dhp/projecttoresult/ProjectResultSet.java | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/projecttoresult/ProjectResultSet.java b/dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/projecttoresult/ProjectResultSet.java index 39af1f59c..da1be3b69 100644 --- a/dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/projecttoresult/ProjectResultSet.java +++ b/dhp-workflows/dhp-propagation/src/main/java/eu/dnetlib/dhp/projecttoresult/ProjectResultSet.java @@ -1,4 +1,25 @@ package eu.dnetlib.dhp.projecttoresult; -public class ProjectResultSet { +import java.io.Serializable; +import java.util.ArrayList; + +public class ProjectResultSet implements Serializable { + private String projectId; + private ArrayList resultSet; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public ArrayList getResultSet() { + return resultSet; + } + + public void setResultSet(ArrayList resultSet) { + this.resultSet = resultSet; + } }