From f4f6b1407a836266ce7d98f33ee899d8a2377d83 Mon Sep 17 00:00:00 2001 From: talio Date: Sun, 2 Jun 2019 16:15:10 +0300 Subject: fix inputs declaration on complex type Change-Id: I86172caf032f4936f98525830ed8aac2ea30567f Issue-ID: SDC-2347 Signed-off-by: talio --- .../src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'catalog-model/src') diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java index e09fe41b05..6d37cc365f 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/PropertyDefinition.java @@ -20,6 +20,7 @@ package org.openecomp.sdc.be.model; +import org.openecomp.sdc.be.dao.utils.CollectionUtils; import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition; import java.util.List; @@ -119,6 +120,10 @@ public class PropertyDefinition extends PropertyDataDefinition return constraints; } + public List safeGetConstraints() { + return CollectionUtils.safeGetList(constraints); + } + public void setConstraints(List constraints) { this.constraints = constraints; } -- cgit 1.2.3-korg