0d0cfb27b784fdf3569a71c81711e2847bc29d0f
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / tosca / model / ToscaNodeType.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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.openecomp.sdc.be.tosca.model;
22
23 import java.util.List;
24 import java.util.Map;
25
26 public class ToscaNodeType {
27
28     public ToscaNodeType() {
29     }
30
31     private ToscaMetadata metadata;
32     private String derived_from;
33     private String description;
34
35     private Map<String, ToscaProperty> properties;
36     private Map<String, Object> interfaces; //ToscaInterfaceDefinition
37     private Map<String, ToscaCapability> capabilities;
38
39     private List<Map<String, ToscaRequirement>> requirements;
40
41     public Map<String, ToscaProperty> getProperties() {
42         return properties;
43     }
44
45     public void setProperties(Map<String, ToscaProperty> properties) {
46         this.properties = properties;
47     }
48
49     public Map<String, ToscaCapability> getCapabilities() {
50         return capabilities;
51     }
52
53     public void setCapabilities(Map<String, ToscaCapability> capabilities) {
54         this.capabilities = capabilities;
55     }
56
57     public List<Map<String, ToscaRequirement>> getRequirements() {
58         return requirements;
59     }
60
61     public void setRequirements(List<Map<String, ToscaRequirement>> requirements) {
62         this.requirements = requirements;
63     }
64
65     public String getDerived_from() {
66         return derived_from;
67     }
68
69     public void setDerived_from(String derived_from) {
70         this.derived_from = derived_from;
71     }
72
73     public String getDescription() {
74         return description;
75     }
76
77     public void setDescription(String description) {
78         this.description = description;
79     }
80
81     public ToscaMetadata getMetadata() {
82         return metadata;
83     }
84
85     public void setMetadata(ToscaMetadata metadata) {
86         this.metadata = metadata;
87     }
88
89     public Map<String, Object> getInterfaces() {
90         return interfaces;
91     }
92
93     public void setInterfaces(Map<String, Object> interfaces) {
94         this.interfaces = interfaces;
95     }
96 }