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 {
27 public ToscaNodeType() {
30 private ToscaMetadata metadata;
31 private String derived_from;
32 private String description;
34 private Map<String, ToscaProperty> properties;
35 private Map<String, ToscaCapability> capabilities;
37 private List<Map<String, ToscaRequirement>> requirements;
39 public Map<String, ToscaProperty> getProperties() {
43 public void setProperties(Map<String, ToscaProperty> properties) {
44 this.properties = properties;
47 public Map<String, ToscaCapability> getCapabilities() {
51 public void setCapabilities(Map<String, ToscaCapability> capabilities) {
52 this.capabilities = capabilities;
55 public List<Map<String, ToscaRequirement>> getRequirements() {
59 public void setRequirements(List<Map<String, ToscaRequirement>> requirements) {
60 this.requirements = requirements;
63 public String getDerived_from() {
67 public void setDerived_from(String derived_from) {
68 this.derived_from = derived_from;
71 public String getDescription() {
75 public void setDescription(String description) {
76 this.description = description;
79 public ToscaMetadata getMetadata() {
83 public void setMetadata(ToscaMetadata metadata) {
84 this.metadata = metadata;