1
0
Fork 0

added vocabulary tu instanceTypeMApping of Mag

This commit is contained in:
Sandro La Bruzzo 2024-04-11 17:32:30 +02:00
parent 2581672c11
commit 1e30454ee0
1 changed files with 3 additions and 1 deletions

View File

@ -490,7 +490,9 @@ object MagUtility extends Serializable {
result.setDataInfo(MAGDataInfo) result.setDataInfo(MAGDataInfo)
val i = new Instance val i = new Instance
i.setInstancetype(tp) i.setInstancetype(tp)
i.setInstanceTypeMapping(List(instanceTypeMapping(currentType,ModelConstants.OPENAIRE_COAR_RESOURCE_TYPES_3_1)).asJava) i.setInstanceTypeMapping(
List(instanceTypeMapping(currentType, ModelConstants.OPENAIRE_COAR_RESOURCE_TYPES_3_1)).asJava
)
result.setInstance(List(i).asJava) result.setInstance(List(i).asJava)
} }
result result