Rename packages from openecomp to onap.
[sdc.git] / common / onap-sdc-artifact-generator-lib / onap-sdc-artifact-generator-api / src / main / java / org / onap / sdc / generator / aai / tosca / NodeTemplate.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.onap.sdc.generator.aai.tosca;
22
23 import java.util.List;
24 import java.util.Map;
25
26 public class NodeTemplate {
27
28   private String type;
29   private String description;
30   private Map<String, String> metadata;
31   private Map<String, Object> properties;
32   private List<Map<String, RequirementAssignment>> requirements;
33   private Map<String, CapabilityAssignment> capabilities;
34
35   public String getType() {
36     return type;
37   }
38
39   public void setType(String type) {
40     this.type = type;
41   }
42
43   public String getDescription() {
44     return description;
45   }
46
47   public void setDescription(String description) {
48     this.description = description;
49   }
50
51   public Map<String, Object> getProperties() {
52     return properties;
53   }
54
55   public void setProperties(Map<String, Object> properties) {
56     this.properties = properties;
57   }
58
59   public List<Map<String, RequirementAssignment>> getRequirements() {
60     return requirements;
61   }
62
63   public void setRequirements(List<Map<String, RequirementAssignment>> requirements) {
64     this.requirements = requirements;
65   }
66
67   public Map<String, CapabilityAssignment> getCapabilities() {
68     return capabilities;
69   }
70
71   public void setCapabilities(Map<String, CapabilityAssignment> capabilities) {
72     this.capabilities = capabilities;
73   }
74
75   public Map<String, String> getMetadata() {
76     return metadata;
77   }
78
79   public void setMetadata(Map<String, String> metadata) {
80     this.metadata = metadata;
81   }
82 }