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.ci.tests.tosca.datatypes;
26 public class ToscaNodeTypesDefinition {
29 private String derived_from;
30 private String version;
31 private String description;
32 private Map<String, Object> properties;
33 private Map<String, Object> attributes;
34 private Map<String, Object> requirements;
35 private Map<String, Object> capabilities;
36 private Map<String, Object> interfaces;
37 private Map<String, Object> artifacts;
39 public ToscaNodeTypesDefinition() {
43 public ToscaNodeTypesDefinition(String name, String derived_from, String version, String description, Map<String, Object> properties, Map<String, Object> attributes, Map<String, Object> requirements, Map<String, Object> capabilities,
44 Map<String, Object> interfaces, Map<String, Object> artifacts) {
47 this.derived_from = derived_from;
48 this.version = version;
49 this.description = description;
50 this.properties = properties;
51 this.attributes = attributes;
52 this.requirements = requirements;
53 this.capabilities = capabilities;
54 this.interfaces = interfaces;
55 this.artifacts = artifacts;
58 public String getName() {
62 public void setName(String name) {
66 public String getDerived_from() {
70 public void setDerived_from(String derived_from) {
71 this.derived_from = derived_from;
74 public String getVersion() {
78 public void setVersion(String version) {
79 this.version = version;
82 public String getDescription() {
86 public void setDescription(String description) {
87 this.description = description;
90 public Map<String, Object> getProperties() {
94 public void setProperties(Map<String, Object> properties) {
95 this.properties = properties;
98 public Map<String, Object> getAttributes() {
102 public void setAttributes(Map<String, Object> attributes) {
103 this.attributes = attributes;
106 public Map<String, Object> getRequirements() {
110 public void setRequirements(Map<String, Object> requirements) {
111 this.requirements = requirements;
114 public Map<String, Object> getCapabilities() {
118 public void setCapabilities(Map<String, Object> capabilities) {
119 this.capabilities = capabilities;
122 public Map<String, Object> getInterfaces() {
126 public void setInterfaces(Map<String, Object> interfaces) {
127 this.interfaces = interfaces;
130 public Map<String, Object> getArtifacts() {
134 public void setArtifacts(Map<String, Object> artifacts) {
135 this.artifacts = artifacts;