forked from D-Net/dnet-hadoop
added mapping for claim relation 'resultResult_publicationDataset_isRelatedTo' (present on BETA)
This commit is contained in:
parent
70ded407bb
commit
f580cb77e1
|
@ -529,6 +529,15 @@ public class MigrateDbEntitiesApplication extends AbstractMigrationApplication i
|
||||||
r2.setSubRelType(OUTCOME);
|
r2.setSubRelType(OUTCOME);
|
||||||
r2.setRelClass(IS_PRODUCED_BY);
|
r2.setRelClass(IS_PRODUCED_BY);
|
||||||
break;
|
break;
|
||||||
|
case "resultResult_publicationDataset_isRelatedTo":
|
||||||
|
r1.setRelClass(RESULT_RESULT);
|
||||||
|
r1.setSubRelType(PUBLICATION_DATASET);
|
||||||
|
r1.setRelClass(IS_RELATED_TO);
|
||||||
|
|
||||||
|
r2.setRelClass(RESULT_RESULT);
|
||||||
|
r2.setSubRelType(PUBLICATION_DATASET);
|
||||||
|
r2.setRelClass(IS_RELATED_TO);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new IllegalArgumentException("claim semantics not managed: " + semantics);
|
throw new IllegalArgumentException("claim semantics not managed: " + semantics);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue