c7763e6dc8dd2509a9599c5e36283c1d37c6ba11
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / tosca / model / ToscaGroupTemplate.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 package org.openecomp.sdc.be.tosca.model;
21
22 import java.util.List;
23 import java.util.Map;
24
25 public class ToscaGroupTemplate {
26
27     private String type;
28     private List<String> members;
29     private IToscaMetadata metadata;
30     private Map<String, Object> properties;
31     private Map<String, ToscaTemplateCapability> capabilities;
32
33     public ToscaGroupTemplate(String type, List<String> members, IToscaMetadata metadata, Map<String, Object> properties,
34                               Map<String, ToscaTemplateCapability> capabilities) {
35         this.type = type;
36         this.members = members;
37         this.metadata = metadata;
38         this.properties = properties;
39         this.capabilities = capabilities;
40     }
41
42     public ToscaGroupTemplate(String type, IToscaMetadata metadata, Map<String, Object> properties) {
43         this.type = type;
44         this.metadata = metadata;
45         this.properties = properties;
46     }
47
48     public String getType() {
49         return type;
50     }
51
52     public void setType(String type) {
53         this.type = type;
54     }
55
56     public List<String> getMembers() {
57         return members;
58     }
59
60     public void setMembers(List<String> members) {
61         this.members = members;
62     }
63
64     public IToscaMetadata getMetadata() {
65         return metadata;
66     }
67
68     public void setMetadata(IToscaMetadata metadata) {
69         this.metadata = metadata;
70     }
71
72     public Map<String, Object> getProperties() {
73         return properties;
74     }
75
76     public void setProperties(Map<String, Object> properties) {
77         this.properties = properties;
78     }
79
80     public Map<String, ToscaTemplateCapability> getCapabilities() {
81         return capabilities;
82     }
83
84     public void setCapabilities(Map<String, ToscaTemplateCapability> capabilities) {
85         this.capabilities = capabilities;
86     }
87 }