changed to the type of bestaccessright in the result
This commit is contained in:
parent
ca4be66c1a
commit
1eb683ccac
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue