From 826a20aa26ffd6f21ce0d64f8c26c45c384cd118 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 24 Feb 2022 15:17:50 +0100 Subject: [PATCH] added fields consenttermsofuse, fulltextdownload, consenttermsofusedate to the Datasource entity --- .../eu/dnetlib/dhp/schema/oaf/Datasource.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/main/java/eu/dnetlib/dhp/schema/oaf/Datasource.java b/src/main/java/eu/dnetlib/dhp/schema/oaf/Datasource.java index 0e7606d..7e59372 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/oaf/Datasource.java +++ b/src/main/java/eu/dnetlib/dhp/schema/oaf/Datasource.java @@ -108,6 +108,12 @@ public class Datasource extends OafEntity implements Serializable { // New field for EOSC private List contentpolicies; + private Boolean consenttermsofuse; + + private Boolean fulltextdownload; + + private String consenttermsofusedate; + public Qualifier getDatasourcetype() { return datasourcetype; } @@ -444,6 +450,30 @@ public class Datasource extends OafEntity implements Serializable { this.contentpolicies = contentpolicies; } + public Boolean getConsenttermsofuse() { + return consenttermsofuse; + } + + public void setConsenttermsofuse(Boolean consenttermsofuse) { + this.consenttermsofuse = consenttermsofuse; + } + + public Boolean getFulltextdownload() { + return fulltextdownload; + } + + public void setFulltextdownload(Boolean fulltextdownload) { + this.fulltextdownload = fulltextdownload; + } + + public String getConsenttermsofusedate() { + return consenttermsofusedate; + } + + public void setConsenttermsofusedate(String consenttermsofusedate) { + this.consenttermsofusedate = consenttermsofusedate; + } + @Override public void mergeFrom(final OafEntity e) { super.mergeFrom(e);