From 4c7fac53b19ab030636e4ea056947b928b1aea20 Mon Sep 17 00:00:00 2001 From: amentis Date: Wed, 3 Jul 2024 11:08:10 +0300 Subject: [PATCH] make export description template multiplicity with null value --- ...criptionTemplateMultiplicityImportExport.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/core/src/main/java/org/opencdmp/commons/types/descriptiontemplate/importexport/DescriptionTemplateMultiplicityImportExport.java b/backend/core/src/main/java/org/opencdmp/commons/types/descriptiontemplate/importexport/DescriptionTemplateMultiplicityImportExport.java index c4a7f29ec..f122a7241 100644 --- a/backend/core/src/main/java/org/opencdmp/commons/types/descriptiontemplate/importexport/DescriptionTemplateMultiplicityImportExport.java +++ b/backend/core/src/main/java/org/opencdmp/commons/types/descriptiontemplate/importexport/DescriptionTemplateMultiplicityImportExport.java @@ -9,27 +9,27 @@ import jakarta.xml.bind.annotation.XmlElement; @XmlAccessorType(XmlAccessType.FIELD) public class DescriptionTemplateMultiplicityImportExport { @XmlAttribute(name="min") - private int min; + private Integer min; @XmlAttribute(name="max") - private int max; + private Integer max; @XmlElement(name="placeholder") private String placeholder; @XmlElement(name="tableView") private boolean tableView; - public int getMin() { - return this.min; + public Integer getMin() { + return min; } - public void setMin(int min) { + public void setMin(Integer min) { this.min = min; } - public int getMax() { - return this.max; + public Integer getMax() { + return max; } - public void setMax(int max) { + public void setMax(Integer max) { this.max = max; }