From b7bd6dc449b597ae52597486a1dc2b30db21d874 Mon Sep 17 00:00:00 2001 From: sgiannopoulos Date: Thu, 2 May 2024 18:13:35 +0300 Subject: [PATCH] Remove description template numbering --- ...escriptionTemplateXmlCleanInvalidReferenceTypesService.java | 3 --- .../migration/DescriptionTemplateXmlMigrationService.java | 3 --- 2 files changed, 6 deletions(-) diff --git a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlCleanInvalidReferenceTypesService.java b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlCleanInvalidReferenceTypesService.java index 17e264b6d..3f06445a6 100644 --- a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlCleanInvalidReferenceTypesService.java +++ b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlCleanInvalidReferenceTypesService.java @@ -106,7 +106,6 @@ public class DescriptionTemplateXmlCleanInvalidReferenceTypesService { data.setId(persist.getId()); data.setDescription(persist.getDescription()); data.setExtendedDescription(persist.getExtendedDescription()); - data.setNumbering(persist.getNumbering()); data.setOrdinal(persist.getOrdinal()); data.setTitle(persist.getTitle()); @@ -134,7 +133,6 @@ public class DescriptionTemplateXmlCleanInvalidReferenceTypesService { data.setId(persist.getId()); data.setOrdinal(persist.getOrdinal()); - data.setNumbering(persist.getNumbering()); data.setTitle(persist.getTitle()); data.setExtendedDescription(persist.getExtendedDescription()); data.setAdditionalInformation(persist.getAdditionalInformation()); @@ -158,7 +156,6 @@ public class DescriptionTemplateXmlCleanInvalidReferenceTypesService { data.setId(persist.getId()); data.setOrdinal(persist.getOrdinal()); data.setSchematics(persist.getSchematics()); - data.setNumbering(persist.getNumbering()); data.setDefaultValue(persist.getDefaultValue()); data.setValidations(persist.getValidations()); data.setIncludeInExport(persist.getIncludeInExport()); diff --git a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java index 0d34e7416..00f09bbbd 100644 --- a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java +++ b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java @@ -143,7 +143,6 @@ public class DescriptionTemplateXmlMigrationService { data.setId(persist.getId()); data.setDescription(persist.getDescription()); data.setExtendedDescription(persist.getExtendedDescription()); - data.setNumbering(persist.getNumbering()); data.setOrdinal(persist.getOrdinal()); data.setTitle(persist.getTitle()); @@ -171,7 +170,6 @@ public class DescriptionTemplateXmlMigrationService { data.setId(persist.getId()); data.setOrdinal(persist.getOrdinal()); - data.setNumbering(persist.getNumbering()); data.setTitle(persist.getTitle()); data.setDescription(persist.getDescription()); data.setExtendedDescription(persist.getExtendedDescription()); @@ -198,7 +196,6 @@ public class DescriptionTemplateXmlMigrationService { data.setId(persist.getId()); data.setOrdinal(persist.getOrdinal()); data.setSchematics(persist.getSchematics()); - data.setNumbering(persist.getNumbering()); if (persist.getValidations() != null) data.setValidations(persist.getValidations().stream().map(x-> { switch (x){ case NONE -> {