From cba43126e1a1f7bcdfdc82f6a2f97bdc22887bdc Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Tue, 13 Jul 2021 15:01:00 +0200 Subject: [PATCH] Added APC to the schema of the dump --- src/main/java/eu/dnetlib/dhp/schema/dump/oaf/APC.java | 2 +- .../java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/APC.java b/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/APC.java index 7f5dcb3..0d5ad63 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/APC.java +++ b/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/APC.java @@ -4,7 +4,7 @@ package eu.dnetlib.dhp.schema.dump.oaf; import java.io.Serializable; /** - * Used to refer to the Article Processing Charge information. Not dumped in this release. It contains two parameters: - + * Used to refer to the Article Processing Charge information. It contains two parameters: - * currency of type String to store the currency of the APC - amount of type String to stores the charged amount */ public class APC implements Serializable { diff --git a/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java b/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java index edc6f28..c4ec7b1 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java +++ b/src/main/java/eu/dnetlib/dhp/schema/dump/oaf/Instance.java @@ -15,6 +15,7 @@ import java.util.List; * publicationdate of type String to store the publication date of the instance ;// dateofacceptance; - refereed of type * String to store information abour tthe review status of the instance. Possible values are 'Unknown', * 'nonPeerReviewed', 'peerReviewed'. It corresponds to refereed.classname of the instance to be dumped + * - articleprocessingcharge of type APC to store the article processing charges possibly associated to the instance */ public class Instance implements Serializable { @@ -26,6 +27,8 @@ public class Instance implements Serializable { private List url; + private APC articleprocessingcharge; + private String publicationdate;// dateofacceptance; private String refereed; // peer-review status @@ -78,4 +81,11 @@ public class Instance implements Serializable { this.refereed = refereed; } + public APC getArticleprocessingcharge() { + return articleprocessingcharge; + } + + public void setArticleprocessingcharge(APC articleprocessingcharge) { + this.articleprocessingcharge = articleprocessingcharge; + } }