forked from D-Net/dnet-hadoop
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:
parent
2efa5abda5
commit
9731a6144a
|
@ -34,6 +34,7 @@ object SparkApplyHostedByMapToResult {
|
||||||
if (ei.getOpenaccess) {
|
if (ei.getOpenaccess) {
|
||||||
inst.setAccessright(OafMapperUtils.accessRight(ModelConstants.ACCESS_RIGHT_OPEN, "Open Access", ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES))
|
inst.setAccessright(OafMapperUtils.accessRight(ModelConstants.ACCESS_RIGHT_OPEN, "Open Access", ModelConstants.DNET_ACCESS_MODES, ModelConstants.DNET_ACCESS_MODES))
|
||||||
inst.getAccessright.setOpenAccessRoute(OpenAccessRoute.hybrid)
|
inst.getAccessright.setOpenAccessRoute(OpenAccessRoute.hybrid)
|
||||||
|
p.setBestaccessright(OafMapperUtils.createBestAccessRights(p.getInstance()));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue