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.openecomp.sdc.be.tosca.model;
23 import java.util.List;
26 public class ToscaNodeType {
28 public ToscaNodeType() {
31 private ToscaMetadata metadata;
32 private String derived_from;
33 private String description;
35 private Map<String, ToscaProperty> properties;
36 private Map<String, Object> interfaces; //ToscaInterfaceDefinition
37 private Map<String, ToscaCapability> capabilities;
39 private List<Map<String, ToscaRequirement>> requirements;
41 public Map<String, ToscaProperty> getProperties() {
45 public void setProperties(Map<String, ToscaProperty> properties) {
46 this.properties = properties;
49 public Map<String, ToscaCapability> getCapabilities() {
53 public void setCapabilities(Map<String, ToscaCapability> capabilities) {
54 this.capabilities = capabilities;
57 public List<Map<String, ToscaRequirement>> getRequirements() {
61 public void setRequirements(List<Map<String, ToscaRequirement>> requirements) {
62 this.requirements = requirements;
65 public String getDerived_from() {
69 public void setDerived_from(String derived_from) {
70 this.derived_from = derived_from;
73 public String getDescription() {
77 public void setDescription(String description) {
78 this.description = description;
81 public ToscaMetadata getMetadata() {
85 public void setMetadata(ToscaMetadata metadata) {
86 this.metadata = metadata;
89 public Map<String, Object> getInterfaces() {
93 public void setInterfaces(Map<String, Object> interfaces) {
94 this.interfaces = interfaces;