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, ToscaAttribute> attributes;
37 private Map<String, Object> interfaces; //ToscaInterfaceDefinition
38 private Map<String, ToscaCapability> capabilities;
40 private List<Map<String, ToscaRequirement>> requirements;
42 public Map<String, ToscaProperty> getProperties() {
46 public void setProperties(Map<String, ToscaProperty> properties) {
47 this.properties = properties;
50 public Map<String, ToscaAttribute> getAttributes() {
54 public void setAttributes(Map<String, ToscaAttribute> attributes) {
55 this.attributes = attributes;
58 public Map<String, ToscaCapability> getCapabilities() {
62 public void setCapabilities(Map<String, ToscaCapability> capabilities) {
63 this.capabilities = capabilities;
66 public List<Map<String, ToscaRequirement>> getRequirements() {
70 public void setRequirements(List<Map<String, ToscaRequirement>> requirements) {
71 this.requirements = requirements;
74 public String getDerived_from() {
78 public void setDerived_from(String derived_from) {
79 this.derived_from = derived_from;
82 public String getDescription() {
86 public void setDescription(String description) {
87 this.description = description;
90 public ToscaMetadata getMetadata() {
94 public void setMetadata(ToscaMetadata metadata) {
95 this.metadata = metadata;
98 public Map<String, Object> getInterfaces() {
102 public void setInterfaces(Map<String, Object> interfaces) {
103 this.interfaces = interfaces;