summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java
diff options
context:
space:
mode:
authorPiotr Darosz <piotr.darosz@nokia.com>2019-07-18 14:28:46 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-07-21 11:50:47 +0000
commitb1eb291bf50b7aa15e5b1fc57c24f6a25a1b8fa5 (patch)
tree278c347b03c0d35da3fbd52f42d9c9028395d78d /common-be/src/main/java
parent706a6ce8e074157ec4708d38e1b705a5eef271cb (diff)
Can't set property for VF
Can't set property for VF due to missing setter for schemaType property Change-Id: I829a3c81586280b91634fa03f3a023b1452bcdda Issue-ID: SDC-2420 Signed-off-by: Piotr Darosz <piotr.darosz@nokia.com>
Diffstat (limited to 'common-be/src/main/java')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java6
1 files changed, 6 insertions, 0 deletions
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 218b648742..e59d9a6a62 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
@@ -221,6 +221,12 @@ public class PropertyDataDefinition extends ToscaDataDefinition {
return schema;
}
+ public void setSchemaType(String schemaType) {
+ if (schema != null && schema.getProperty() != null) {
+ schema.getProperty().setType(schemaType);
+ }
+ }
+
public void setSchema(SchemaDefinition entrySchema) {
this.schema = entrySchema;
}