summaryrefslogtreecommitdiffstats
path: root/common-be
diff options
context:
space:
mode:
Diffstat (limited to 'common-be')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/PropertyDataDefinition.java6
1 files changed, 4 insertions, 2 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 ff72f1f361..6b17c419e4 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
@@ -40,8 +40,8 @@ import org.openecomp.sdc.be.datatypes.tosca.ToscaGetFunctionType;
@Data
public class PropertyDataDefinition extends ToscaDataDefinition {
- protected boolean definition = false;
- protected Boolean hidden = Boolean.FALSE;
+ private boolean definition = false;
+ private Boolean hidden = Boolean.FALSE;
private String uniqueId;
// "boolean", "string", "float", "integer", "version" })
private String type;
@@ -80,6 +80,7 @@ public class PropertyDataDefinition extends ToscaDataDefinition {
private List<GetPolicyValueDataDefinition> getPolicyValues;
private List<String> propertyConstraints;
private Map<String, String> metadata;
+ private boolean userCreated;
public PropertyDataDefinition() {
super();
@@ -132,6 +133,7 @@ public class PropertyDataDefinition extends ToscaDataDefinition {
setPropertyConstraints(new ArrayList<>(propertyDataDefinition.getPropertyConstraints()));
}
this.setIsDeclaredListInput(propertyDataDefinition.getIsDeclaredListInput());
+ this.setUserCreated(propertyDataDefinition.isUserCreated());
}
// @Override