From 6b8c5034fc74c280cd41df23d2a72e5424dd3380 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Wed, 19 Aug 2020 11:46:20 +0200 Subject: [PATCH] extends the result with parameters specific for the community dump. --- .../dump/oaf/community/CommunityResult.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/community/CommunityResult.java b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/community/CommunityResult.java index 8c748e103..a4e9d77c7 100644 --- a/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/community/CommunityResult.java +++ b/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/community/CommunityResult.java @@ -10,11 +10,13 @@ import eu.dnetlib.dhp.schema.dump.oaf.Result; * extends eu.dnetlib.dhp.schema.dump.oaf.Result with the following parameters: - projects of type * List to store the list of projects related to the result. The * information is added after the result is mapped to the external model - context of type - * List to store information about the RC RI related to the result. + * List to store information about the RC RI related to the result. * For each context in the result represented in the internal model one context in the external model is produced - * collectedfrom of type List to store information about the sources from which * the record has been collected. For each collectedfrom in the result represented in the internal model one * collectedfrom in the external model is produced + * - instance of type List to store all the instances associated + * to the result. It corresponds to the same parameter in the result represented in the internal model */ public class CommunityResult extends Result { @@ -24,6 +26,17 @@ public class CommunityResult extends Result { protected List collectedfrom; + private List instance ; + + public List getInstance() { + return instance; + } + + public void setInstance(List instance) { + this.instance = instance; + } + + public List getCollectedfrom() { return collectedfrom; }