From 4e7aaf00aa464fea794481c9fc6fdefa7d2b5be6 Mon Sep 17 00:00:00 2001 From: Comte Date: Wed, 19 Jun 2024 11:26:11 +0200 Subject: [PATCH] Object type for overwritedefaultwith (#422) Co-authored-by: Olivier Levitt --- .../java/fr/insee/onyxia/model/catalog/Config/Property.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onyxia-model/src/main/java/fr/insee/onyxia/model/catalog/Config/Property.java b/onyxia-model/src/main/java/fr/insee/onyxia/model/catalog/Config/Property.java index 1cf1051c..a681c199 100644 --- a/onyxia-model/src/main/java/fr/insee/onyxia/model/catalog/Config/Property.java +++ b/onyxia-model/src/main/java/fr/insee/onyxia/model/catalog/Config/Property.java @@ -358,7 +358,7 @@ public static class XOnyxia { boolean hidden = false; boolean readonly = false; - String overwriteDefaultWith; + Object overwriteDefaultWith; Object overwriteListEnumWith; String useRegionSliderConfig; @@ -381,11 +381,11 @@ public void setReadonly(boolean readonly) { this.readonly = readonly; } - public String getOverwriteDefaultWith() { + public Object getOverwriteDefaultWith() { return overwriteDefaultWith; } - public void setOverwriteDefaultWith(String overwriteDefaultWith) { + public void setOverwriteDefaultWith(Object overwriteDefaultWith) { this.overwriteDefaultWith = overwriteDefaultWith; }