Consent fields for Datasources #15

Merged
claudio.atzori merged 3 commits from datasource_pdf_consent into master 2022-03-29 09:37:23 +02:00
1 changed files with 30 additions and 0 deletions

View File

@ -108,6 +108,12 @@ public class Datasource extends OafEntity implements Serializable {
// New field for EOSC // New field for EOSC
private List<Qualifier> contentpolicies; private List<Qualifier> contentpolicies;
private Boolean consenttermsofuse;
private Boolean fulltextdownload;
private String consenttermsofusedate;
public Qualifier getDatasourcetype() { public Qualifier getDatasourcetype() {
return datasourcetype; return datasourcetype;
} }
@ -444,6 +450,30 @@ public class Datasource extends OafEntity implements Serializable {
this.contentpolicies = contentpolicies; 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 @Override
public void mergeFrom(final OafEntity e) { public void mergeFrom(final OafEntity e) {
super.mergeFrom(e); super.mergeFrom(e);