changed to the type of bestaccessright in the result

This commit is contained in:
Miriam Baglioni 2021-11-10 17:04:26 +01:00
parent ca4be66c1a
commit 1eb683ccac
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ package eu.dnetlib.dhp.schema.dump.oaf;
/**
* AccessRight. Used to represent the result access rights. It extends the eu.dnet.lib.dhp.schema.dump.oaf.BestAccessRight
* element with value for the openaccess route
* element with value for the openaccess route
*/
public class AccessRight extends BestAccessRight {

View File

@ -98,7 +98,7 @@ public class Result implements Serializable {
private List<String> coverage;
private AccessRight bestaccessright;
private BestAccessRight bestaccessright;
private Container container;// Journal
@ -298,11 +298,11 @@ public class Result implements Serializable {
this.coverage = coverage;
}
public AccessRight getBestaccessright() {
public BestAccessRight getBestaccessright() {
return bestaccessright;
}
public void setBestaccessright(AccessRight bestaccessright) {
public void setBestaccessright(BestAccessRight bestaccessright) {
this.bestaccessright = bestaccessright;
}