Fix changed instance attribute value not visible in generated tosca
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / UploadComponentInstanceInfo.java
index 329e816..57652ee 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
 package org.openecomp.sdc.be.model;
 
+import java.util.Collection;
 import java.util.List;
 import java.util.Map;
+import lombok.Getter;
+import lombok.Setter;
 
+@Getter
+@Setter
 public class UploadComponentInstanceInfo {
-       private String name;
-       private String type;
-       private Map<String, List<UploadCapInfo>> capabilities;
-       private Map<String, List<UploadReqInfo>> requirements;
-       private Map<String, List<UploadPropInfo>> properties;
-
-       public Map<String, List<UploadPropInfo>> getProperties() {
-               return properties;
-       }
-
-       public void setProperties(Map<String, List<UploadPropInfo>> properties) {
-               this.properties = properties;
-       }
-
-       public String getName() {
-               return name;
-       }
-
-       public void setName(String name) {
-               this.name = name;
-       }
-
-       public String getType() {
-               return type;
-       }
-
-       public void setType(String type) {
-               this.type = type;
-       }
-
-       public Map<String, List<UploadCapInfo>> getCapabilities() {
-               return capabilities;
-       }
-
-       public void setCapabilities(Map<String, List<UploadCapInfo>> capabilities) {
-               this.capabilities = capabilities;
-       }
-
-       public Map<String, List<UploadReqInfo>> getRequirements() {
-               return requirements;
-       }
-
-       public void setRequirements(Map<String, List<UploadReqInfo>> requirements) {
-               this.requirements = requirements;
-       }
 
+    private String name;
+    private String type;
+    private Map<String, List<UploadCapInfo>> capabilities;
+    private Map<String, List<UploadReqInfo>> requirements;
+    private Map<String, Map<String, UploadArtifactInfo>> artifacts;
+    private Map<String, List<UploadPropInfo>> properties;
+    private Map<String, UploadAttributeInfo> attributes;
+    private Map<String, String> capabilitiesNamesToUpdate;
+    private Map<String, String> requirementsNamesToUpdate;
+    private Collection<String> directives;
+    private UploadNodeFilterInfo uploadNodeFilterInfo;
 }