forked from D-Net/dnet-hadoop
using constants from ModelConstants
This commit is contained in:
parent
ae5c28e54f
commit
863b56b6ce
|
@ -159,7 +159,7 @@ object DLIToOAF {
|
||||||
result.setUrl(e.url)
|
result.setUrl(e.url)
|
||||||
result.setRefidentifier(e.pid)
|
result.setRefidentifier(e.pid)
|
||||||
result.setDataInfo(generateDataInfo())
|
result.setDataInfo(generateDataInfo())
|
||||||
result.setQualifier(createQualifier(e.classId, ModelConstants.DNET_EXTERNAL_REF_TYPES))
|
result.setQualifier(createQualifier(e.classId, ModelConstants.DNET_EXTERNAL_REFERENCE_TYPE))
|
||||||
result
|
result
|
||||||
})
|
})
|
||||||
publication.setExternalReference(eRefs.asJava)
|
publication.setExternalReference(eRefs.asJava)
|
||||||
|
|
Loading…
Reference in New Issue