2 * ============LICENSE_START=======================================================
\r
4 * ================================================================================
\r
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ================================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END=========================================================
\r
21 package org.openecomp.vid.asdc.beans.tosca;
\r
23 import java.util.HashMap;
\r
24 import java.util.Map;
\r
27 * The Class TopologyTemplate.
\r
29 public class TopologyTemplate {
\r
31 /** The substitution mappings. */
\r
32 private SubstitutionMappings substitution_mappings;
\r
35 private Map<String, Input> inputs;
\r
37 /** The node templates. */
\r
38 private Map<String, NodeTemplate> node_templates;
\r
41 private Map<String, Group> groups;
\r
44 * Instantiates a new topology template.
\r
46 public TopologyTemplate() {
\r
47 substitution_mappings = new SubstitutionMappings();
\r
48 inputs = new HashMap<String, Input> ();
\r
49 node_templates = new HashMap<String, NodeTemplate> ();
\r
50 groups = new HashMap<String, Group> ();
\r
54 * Gets the substitution mappings.
\r
56 * @return the substitution mappings
\r
58 public SubstitutionMappings getsubstitution_mappings() {
\r
59 return this.substitution_mappings;
\r
63 * Sets the substitution mappings.
\r
65 * @param substitution_mappings the new substitution mappings
\r
67 public void setsubstitution_mappings(SubstitutionMappings substitution_mappings) {
\r
68 this.substitution_mappings = substitution_mappings;
\r
74 * @return the inputs
\r
76 public Map<String, Input> getInputs() {
\r
83 * @param inputs the inputs
\r
85 public void setInputs(Map<String, Input> inputs) {
\r
86 this.inputs = inputs;
\r
90 * Gets the node templates.
\r
92 * @return the node templates
\r
94 public Map<String, NodeTemplate> getnode_templates() {
\r
95 return node_templates;
\r
99 * Setnode templates.
\r
101 * @param node_templates the node templates
\r
103 public void setnode_templates(Map<String, NodeTemplate> node_templates) {
\r
104 this.node_templates = node_templates;
\r
110 * @return the groups
\r
112 public Map<String, Group> getGroups() {
\r
119 * @param groups the groups
\r
121 public void setGroups(Map<String, Group> groups) {
\r
122 this.groups = groups;
\r