Merge "Upversion Spring-Boot to 1.5.19.RELEASE"
[aai/babel.git] / src / main / java / org / onap / aai / babel / xml / generator / data / GroupConfiguration.java
index 9223f27..7ecd3f2 100644 (file)
@@ -2,8 +2,8 @@
  * ============LICENSE_START=======================================================
  * org.onap.aai
  * ================================================================================
- * Copyright © 2017-2019 AT&T Intellectual Property. All rights reserved.
- * Copyright © 2017-2019 European Software Marketing Ltd.
+ * Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (c) 2017-2019 European Software Marketing Ltd.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.babel.xml.generator.data;
 
 import java.util.List;
-import java.util.Map;
 
 public class GroupConfiguration {
 
@@ -29,17 +29,27 @@ public class GroupConfiguration {
      * Names of Instance Groups that will be processed (not filtered out).
      */
     private List<String> instanceGroupTypes;
-    
+
+    /**
+     * Set of Widget Types.
+     */
+    private List<WidgetTypeConfig> widgetTypes;
+
     /**
-     * Mapping from TOSCA type to Widget Model. 
+     * Mapping from TOSCA type to Widget directly.
      */
-    private Map<String, String> toscaToWidgetMappings;
+    private List<WidgetMapping> widgetMappings;
 
     public List<String> getInstanceGroupTypes() {
         return instanceGroupTypes;
     }
 
-    public Map<String, String> getToscaToWidgetMappings() {
-        return toscaToWidgetMappings;
+    public List<WidgetTypeConfig> getWidgetTypes() {
+        return widgetTypes;
+    }
+
+    public List<WidgetMapping> getWidgetMappings() {
+        return widgetMappings;
     }
+
 }