hostedbymap - in case the journal is open access the access may be changed also for the best access right in the result

This commit is contained in:
Miriam Baglioni 2021-08-10 17:49:45 +02:00
parent 2efa5abda5
commit 9731a6144a
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ object SparkApplyHostedByMapToResult {
if (ei.getOpenaccess) {
inst.setAccessright(OafMapperUtils.accessRight(ModelConstants.ACCESS_RIGHT_OPEN, "Open Access", ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES))
inst.getAccessright.setOpenAccessRoute(OpenAccessRoute.hybrid)
p.setBestaccessright(OafMapperUtils.createBestAccessRights(p.getInstance()));
}
}