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