ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-tosca-datatype / src / main / java / org / onap / sdc / tosca / datatypes / model / GroupType.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.tosca.datatypes.model;
22
23 import java.util.List;
24 import java.util.Map;
25
26
27
28 public class GroupType {
29
30   private String derived_from;
31   private String version;
32   private Map<String, String> metadata;
33   private String description;
34   private Map<String, PropertyDefinition> properties;
35   private List<String> members;
36   private List<Map<String, RequirementDefinition>> requirements;
37   private Map<String, CapabilityDefinition> capabilities;
38   private Map<String, Object> interfaces;
39
40   public String getDerived_from() {
41     return derived_from;
42   }
43
44   public void setDerived_from(String derived_from) {
45     this.derived_from = derived_from;
46   }
47
48   public String getVersion() {
49     return version;
50   }
51
52   public void setVersion(String version) {
53     this.version = version;
54   }
55
56   public Map<String, String> getMetadata() {
57     return metadata;
58   }
59
60   public void setMetadata(Map<String, String> metadata) {
61     this.metadata = metadata;
62   }
63
64   public List<Map<String, RequirementDefinition>> getRequirements() {
65     return requirements;
66   }
67
68   public void setRequirements(
69       List<Map<String, RequirementDefinition>> requirements) {
70     this.requirements = requirements;
71   }
72
73   public Map<String, CapabilityDefinition> getCapabilities() {
74     return capabilities;
75   }
76
77   public void setCapabilities(
78       Map<String, CapabilityDefinition> capabilities) {
79     this.capabilities = capabilities;
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, PropertyDefinition> getProperties() {
91     return properties;
92   }
93
94   public void setProperties(Map<String, PropertyDefinition> properties) {
95     this.properties = properties;
96   }
97
98   public List<String> getMembers() {
99     return members;
100   }
101
102   public void setMembers(List<String> members) {
103     this.members = members;
104   }
105
106   public Map<String, Object> getInterfaces() {
107     return interfaces;
108   }
109
110   public void setInterfaces(Map<String, Object> interfaces) {
111     this.interfaces = interfaces;
112   }
113 }