2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.vid.asdc.beans.tosca;
23 import java.util.HashMap;
27 * The Class SubstitutionMappings.
29 public class SubstitutionMappings {
32 private String node_type;
34 /** The capabilities. */
35 private Map<String, Object> capabilities;
37 /** The requirements. */
38 private Map<String, Object> requirements;
41 * Instantiates a new substitution mappings.
43 public SubstitutionMappings() {
44 capabilities = new HashMap<String, Object> ();
45 requirements = new HashMap<String, Object> ();
51 * @return the node type
53 public String getnode_type() {
60 * @param node_type the new node type
62 public void setnode_type(String node_type) {
63 this.node_type = node_type;
67 * Gets the capabilities.
69 * @return the capabilities
71 public Map<String, Object> getCapabilities() {
76 * Sets the capabilities.
78 * @param capabilities the capabilities
80 public void setCapabilities(Map<String, Object> capabilities) {
81 this.capabilities = capabilities;
85 * Gets the requirements.
87 * @return the requirements
89 public Map<String, Object> getRequirements() {
94 * Sets the requirements.
96 * @param requirements the requirements
98 public void setRequirements(Map<String, Object> requirements) {
99 this.requirements = requirements;