diff --git a/backend/core/src/main/java/org/opencdmp/commons/types/description/PropertyDefinitionFieldSetItemEntity.java b/backend/core/src/main/java/org/opencdmp/commons/types/description/PropertyDefinitionFieldSetItemEntity.java index 9ca9d98de..4aa9cd0b2 100644 --- a/backend/core/src/main/java/org/opencdmp/commons/types/description/PropertyDefinitionFieldSetItemEntity.java +++ b/backend/core/src/main/java/org/opencdmp/commons/types/description/PropertyDefinitionFieldSetItemEntity.java @@ -4,7 +4,6 @@ import java.util.Map; public class PropertyDefinitionFieldSetItemEntity { private Map fields; - private String comment; private int ordinal; public Map getFields() { @@ -15,14 +14,6 @@ public class PropertyDefinitionFieldSetItemEntity { this.fields = fields; } - public String getComment() { - return this.comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - public int getOrdinal() { return this.ordinal; } @@ -30,4 +21,4 @@ public class PropertyDefinitionFieldSetItemEntity { public void setOrdinal(int ordinal) { this.ordinal = ordinal; } -} +} \ No newline at end of file diff --git a/backend/core/src/main/java/org/opencdmp/model/builder/description/PropertyDefinitionFieldSetItemBuilder.java b/backend/core/src/main/java/org/opencdmp/model/builder/description/PropertyDefinitionFieldSetItemBuilder.java index 4217c6ca0..a58101ee6 100644 --- a/backend/core/src/main/java/org/opencdmp/model/builder/description/PropertyDefinitionFieldSetItemBuilder.java +++ b/backend/core/src/main/java/org/opencdmp/model/builder/description/PropertyDefinitionFieldSetItemBuilder.java @@ -58,7 +58,6 @@ public class PropertyDefinitionFieldSetItemBuilder extends BaseBuilder models = new ArrayList<>(); for (PropertyDefinitionFieldSetItemEntity d : data) { PropertyDefinitionFieldSetItem m = new PropertyDefinitionFieldSetItem(); - if (fields.hasField(this.asIndexer(PropertyDefinitionFieldSetItem._comment))) m.setComment(d.getComment()); if (fields.hasField(this.asIndexer(PropertyDefinitionFieldSetItem._ordinal))) m.setOrdinal(d.getOrdinal()); if (!fieldsFields.isEmpty() && d.getFields() != null && !d.getFields().isEmpty()) { m.setFields(new HashMap<>()); diff --git a/backend/core/src/main/java/org/opencdmp/model/description/PropertyDefinitionFieldSetItem.java b/backend/core/src/main/java/org/opencdmp/model/description/PropertyDefinitionFieldSetItem.java index 560f9ec83..76a2ba3e9 100644 --- a/backend/core/src/main/java/org/opencdmp/model/description/PropertyDefinitionFieldSetItem.java +++ b/backend/core/src/main/java/org/opencdmp/model/description/PropertyDefinitionFieldSetItem.java @@ -7,9 +7,6 @@ public class PropertyDefinitionFieldSetItem { public final static String _fields = "fields"; private Map fields; - public final static String _comment = "comment"; - private String comment; - public final static String _ordinal = "ordinal"; private Integer ordinal; @@ -21,14 +18,6 @@ public class PropertyDefinitionFieldSetItem { this.fields = fields; } - public String getComment() { - return this.comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - public Integer getOrdinal() { return this.ordinal; } diff --git a/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java b/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java index c7a78221f..7798410ff 100644 --- a/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java +++ b/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java @@ -446,7 +446,6 @@ public class DescriptionServiceImpl implements DescriptionService { if (data == null) return cleanData; if (data.getFields() != null && !data.getFields().isEmpty()){ cleanData.setOrdinal(data.getOrdinal()); - cleanData.setComment(data.getComment()); cleanData.setFields(new HashMap<>()); for (String key: data.getFields().keySet()) { org.opencdmp.commons.types.descriptiontemplate.FieldEntity fieldEntity = fieldSetEntity != null ? fieldSetEntity.getFieldById(key).stream().findFirst().orElse(null) : null;