+ * @param conceptList the concept list
+ * @return the list of concept map
+ */
+ private <T extends ToscaEntity> List<Map<String, T>> asConceptMapList(List<T> conceptList) {
+ List<Map<String, T>> toscaEntityMapList = new ArrayList<>();
+ for (T concept : conceptList) {
+ Map<String, T> conceptMap = new TreeMap<>();
+ conceptMap.put(concept.getName(), concept);
+ toscaEntityMapList.add(conceptMap);
+ }
+
+ return toscaEntityMapList;
+ }
+
+ /**
+ * Return the contents of a list of concepts as map of concepts.
+ *
+ * @param conceptList the concept list
+ * @return the list of concept map