added mapping for claim relation 'resultResult_publicationDataset_isRelatedTo' (present on BETA)

This commit is contained in:
Claudio Atzori 2021-07-06 21:11:11 +02:00
parent 70ded407bb
commit f580cb77e1
1 changed files with 9 additions and 0 deletions

View File

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