Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / java / org / onap / vid / model / Service.java
index d00f58f..27a52e6 100644 (file)
@@ -20,6 +20,7 @@
 
 package org.onap.vid.model;
 
+import com.fasterxml.jackson.annotation.JsonInclude;
 import org.onap.vid.asdc.beans.tosca.Input;
 
 import java.util.Map;
@@ -65,7 +66,9 @@ public class Service {
 
        /** The inputs. */
        private Map<String, Input> inputs;
-       
+
+       private VidNotions vidNotions;
+
        /**
         * Gets the uuid.
         *
@@ -265,4 +268,13 @@ public class Service {
        public void setServiceRole(String serviceRole) {
                this.serviceRole = serviceRole;
        }
+
+       @JsonInclude(JsonInclude.Include.NON_NULL)
+       public VidNotions getVidNotions() {
+               return vidNotions;
+       }
+
+       public void setVidNotions(VidNotions vidNotions) {
+               this.vidNotions = vidNotions;
+       }
 }