forked from D-Net/dnet-hadoop
added vocabulary tu instanceTypeMApping of Mag
This commit is contained in:
parent
2581672c11
commit
1e30454ee0
|
@ -490,7 +490,9 @@ object MagUtility extends Serializable {
|
|||
result.setDataInfo(MAGDataInfo)
|
||||
val i = new Instance
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue