using constants from ModelConstants

This commit is contained in:
Claudio Atzori 2021-05-20 16:23:58 +02:00
parent ae5c28e54f
commit 863b56b6ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)