aboutsummaryrefslogtreecommitdiffstats
path: root/common-be/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src/main')
-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;
}