Upgrade sonar plugin
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / asdc / beans / tosca / SubstitutionMappings.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * VID\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
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \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
19  */\r
20 \r
21 package org.openecomp.vid.asdc.beans.tosca;\r
22 \r
23 import java.util.HashMap;\r
24 import java.util.Map;\r
25 \r
26 /**\r
27  * The Class SubstitutionMappings.\r
28  */\r
29 public class SubstitutionMappings {\r
30 \r
31         /** The node type. */\r
32         private String node_type;\r
33         \r
34         /** The capabilities. */\r
35         private Map<String, Object> capabilities;\r
36         \r
37         /** The requirements. */\r
38         private Map<String, Object> requirements;\r
39         \r
40         /**\r
41          * Instantiates a new substitution mappings.\r
42          */\r
43         public SubstitutionMappings() {\r
44                 capabilities = new HashMap<String, Object> ();\r
45                 requirements = new HashMap<String, Object> ();\r
46         }\r
47         \r
48         /**\r
49          * Gets the node type.\r
50          *\r
51          * @return the node type\r
52          */\r
53         public String getnode_type() {\r
54                 return node_type;\r
55         }\r
56         \r
57         /**\r
58          * Sets the node type.\r
59          *\r
60          * @param node_type the new node type\r
61          */\r
62         public void setnode_type(String node_type) {\r
63                 this.node_type = node_type;\r
64         }\r
65 \r
66         /**\r
67          * Gets the capabilities.\r
68          *\r
69          * @return the capabilities\r
70          */\r
71         public Map<String, Object> getCapabilities() {\r
72                 return capabilities;\r
73         }\r
74 \r
75         /**\r
76          * Sets the capabilities.\r
77          *\r
78          * @param capabilities the capabilities\r
79          */\r
80         public void setCapabilities(Map<String, Object> capabilities) {\r
81                 this.capabilities = capabilities;\r
82         }\r
83 \r
84         /**\r
85          * Gets the requirements.\r
86          *\r
87          * @return the requirements\r
88          */\r
89         public Map<String, Object> getRequirements() {\r
90                 return requirements;\r
91         }\r
92 \r
93         /**\r
94          * Sets the requirements.\r
95          *\r
96          * @param requirements the requirements\r
97          */\r
98         public void setRequirements(Map<String, Object> requirements) {\r
99                 this.requirements = requirements;\r
100         }\r
101 }\r