From a54b7c89ae8441e749cc08489672c50cfbe5786f Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Tue, 2 Mar 2021 16:37:43 +0000 Subject: Fix Substitution Mapping for inputs created independently Issue-ID: SDC-3515 Signed-off-by: KrupaNagabhushan Change-Id: I90e489ac7f7a244d1338d0d6f6c3c2413a131fcc --- .../openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common-be') diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java index 3f68a3cc76..3a0d08c2c8 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java @@ -53,6 +53,7 @@ public class PropertyDataDefinition extends ToscaDataDefinition { private String value; private String label; private Boolean immutable = Boolean.FALSE; + private Boolean mappedToComponentProperty = Boolean.TRUE; private String inputPath; private String status; @@ -102,6 +103,7 @@ public class PropertyDataDefinition extends ToscaDataDefinition { this.setHidden(propertyDataDefinition.isHidden()); this.setLabel(propertyDataDefinition.getLabel()); this.setImmutable(propertyDataDefinition.isImmutable()); + this.setMappedToComponentProperty(propertyDataDefinition.isMappedToComponentProperty()); this.setParentUniqueId(propertyDataDefinition.getParentUniqueId()); this.setOwnerId(propertyDataDefinition.getOwnerId()); this.setGetInputValues(propertyDataDefinition.getGetInputValues()); @@ -167,6 +169,8 @@ public class PropertyDataDefinition extends ToscaDataDefinition { return immutable; } + public Boolean isMappedToComponentProperty() { return mappedToComponentProperty; } + public String getParentUniqueId() { return getOwnerId(); } -- cgit 1.2.3-korg