summaryrefslogtreecommitdiffstats
path: root/common-be/src
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java
index b8237d3678..97730fbc4b 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java
@@ -20,6 +20,8 @@
package org.openecomp.sdc.be.datatypes.elements;
import com.fasterxml.jackson.annotation.JsonCreator;
+import lombok.Getter;
+import lombok.Setter;
import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields;
import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
@@ -30,7 +32,9 @@ import java.util.Map;
import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.TOSCA_RESOURCE_NAME;
public class InterfaceDataDefinition extends ToscaDataDefinition implements Serializable {
-
+ @Getter
+ @Setter
+ private boolean userCreated;
public InterfaceDataDefinition(String type, String description) {
this();
setType(type);
@@ -50,6 +54,7 @@ public class InterfaceDataDefinition extends ToscaDataDefinition implements Seri
setToscaResourceName(interfaceDataDefinition.getToscaResourceName());
setOperations(interfaceDataDefinition.getOperations());
setInputs(interfaceDataDefinition.getInputs());
+ setUserCreated(interfaceDataDefinition.isUserCreated());
}
public String getUniqueId() {