b6763ad6a11ad538183fe7d5b4536331c9fe20ad
[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, ToscaAttribute> attributes;
37     private Map<String, Object> interfaces; //ToscaInterfaceDefinition
38     private Map<String, ToscaCapability> capabilities;
39
40     private List<Map<String, ToscaRequirement>> requirements;
41
42     public Map<String, ToscaProperty> getProperties() {
43         return properties;
44     }
45
46     public void setProperties(Map<String, ToscaProperty> properties) {
47         this.properties = properties;
48     }
49
50     public Map<String, ToscaAttribute> getAttributes() {
51         return attributes;
52     }
53
54     public void setAttributes(Map<String, ToscaAttribute> attributes) {
55         this.attributes = attributes;
56     }
57
58     public Map<String, ToscaCapability> getCapabilities() {
59         return capabilities;
60     }
61
62     public void setCapabilities(Map<String, ToscaCapability> capabilities) {
63         this.capabilities = capabilities;
64     }
65
66     public List<Map<String, ToscaRequirement>> getRequirements() {
67         return requirements;
68     }
69
70     public void setRequirements(List<Map<String, ToscaRequirement>> requirements) {
71         this.requirements = requirements;
72     }
73
74     public String getDerived_from() {
75         return derived_from;
76     }
77
78     public void setDerived_from(String derived_from) {
79         this.derived_from = derived_from;
80     }
81
82     public String getDescription() {
83         return description;
84     }
85
86     public void setDescription(String description) {
87         this.description = description;
88     }
89
90     public ToscaMetadata getMetadata() {
91         return metadata;
92     }
93
94     public void setMetadata(ToscaMetadata metadata) {
95         this.metadata = metadata;
96     }
97
98     public Map<String, Object> getInterfaces() {
99         return interfaces;
100     }
101
102     public void setInterfaces(Map<String, Object> interfaces) {
103         this.interfaces = interfaces;
104     }
105 }