From bfe07f19dbc5047ec1199fde926d961d24339e99 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Wed, 22 May 2024 12:14:03 +0200 Subject: [PATCH] added fields oagId, duplicateId, oagDuplicateId --- .../eu/dnetlib/dhp/schema/oaf/OafEntity.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/main/java/eu/dnetlib/dhp/schema/oaf/OafEntity.java b/src/main/java/eu/dnetlib/dhp/schema/oaf/OafEntity.java index afbfaeb..4373fe1 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/oaf/OafEntity.java +++ b/src/main/java/eu/dnetlib/dhp/schema/oaf/OafEntity.java @@ -9,8 +9,26 @@ public abstract class OafEntity extends Oaf implements Serializable { private static final long serialVersionUID = -7793594664115821897L; + /** + * Main entity identifier. + */ private String id; + /** + * OpenAIRE Graph entity identifier. Introduced to experiment a different formatting from the main entity id. + */ + private String oagId; + + /** + * List of main entity identifiers of the duplicate records identified by the deduplication process for this record. + */ + private List duplicateId; + + /** + * List of OpenAIRE Graph identifiers of the duplicate records identified by the deduplication process for this record. + */ + private List oagDuplicateId; + private List originalId; private List pid; @@ -77,6 +95,30 @@ public abstract class OafEntity extends Oaf implements Serializable { this.id = id; } + public String getOagId() { + return oagId; + } + + public void setOagId(String oagId) { + this.oagId = oagId; + } + + public List getDuplicateId() { + return duplicateId; + } + + public void setDuplicateId(List duplicateId) { + this.duplicateId = duplicateId; + } + + public List getOagDuplicateId() { + return oagDuplicateId; + } + + public void setOagDuplicateId(List oagDuplicateId) { + this.oagDuplicateId = oagDuplicateId; + } + public List getOriginalId() { return originalId; }