[SDC-29] rebase continue work to align source
[sdc.git] / test-apis-ci / src / main / java / org / openecomp / sdc / ci / tests / tosca / datatypes / ToscaNodeTypesDefinition.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.ci.tests.tosca.datatypes;
22
23 import java.util.Map;
24
25 // spec page 88
26 public class ToscaNodeTypesDefinition {
27
28         private String name;
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;
38         
39         public ToscaNodeTypesDefinition() {
40                 super();
41         }
42
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) {
45                 super();
46                 this.name = name;
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;
56         }
57
58         public String getName() {
59                 return name;
60         }
61
62         public void setName(String name) {
63                 this.name = name;
64         }
65
66         public String getDerived_from() {
67                 return derived_from;
68         }
69
70         public void setDerived_from(String derived_from) {
71                 this.derived_from = derived_from;
72         }
73
74         public String getVersion() {
75                 return version;
76         }
77
78         public void setVersion(String version) {
79                 this.version = version;
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 Map<String, Object> getProperties() {
91                 return properties;
92         }
93
94         public void setProperties(Map<String, Object> properties) {
95                 this.properties = properties;
96         }
97
98         public Map<String, Object> getAttributes() {
99                 return attributes;
100         }
101
102         public void setAttributes(Map<String, Object> attributes) {
103                 this.attributes = attributes;
104         }
105
106         public Map<String, Object> getRequirements() {
107                 return requirements;
108         }
109
110         public void setRequirements(Map<String, Object> requirements) {
111                 this.requirements = requirements;
112         }
113
114         public Map<String, Object> getCapabilities() {
115                 return capabilities;
116         }
117
118         public void setCapabilities(Map<String, Object> capabilities) {
119                 this.capabilities = capabilities;
120         }
121
122         public Map<String, Object> getInterfaces() {
123                 return interfaces;
124         }
125
126         public void setInterfaces(Map<String, Object> interfaces) {
127                 this.interfaces = interfaces;
128         }
129
130         public Map<String, Object> getArtifacts() {
131                 return artifacts;
132         }
133
134         public void setArtifacts(Map<String, Object> artifacts) {
135                 this.artifacts = artifacts;
136         }
137
138         
139         
140
141 }