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=========================================================
20 package org.openecomp.sdc.be.tosca.model;
22 import java.util.List;
25 public class ToscaGroupTemplate {
28 private List<String> members;
29 private IToscaMetadata metadata;
30 private Map<String, Object> properties;
31 private Map<String, ToscaTemplateCapability> capabilities;
33 public ToscaGroupTemplate(String type, List<String> members, IToscaMetadata metadata, Map<String, Object> properties,
34 Map<String, ToscaTemplateCapability> capabilities) {
36 this.members = members;
37 this.metadata = metadata;
38 this.properties = properties;
39 this.capabilities = capabilities;
42 public ToscaGroupTemplate(String type, IToscaMetadata metadata, Map<String, Object> properties) {
44 this.metadata = metadata;
45 this.properties = properties;
48 public String getType() {
52 public void setType(String type) {
56 public List<String> getMembers() {
60 public void setMembers(List<String> members) {
61 this.members = members;
64 public IToscaMetadata getMetadata() {
68 public void setMetadata(IToscaMetadata metadata) {
69 this.metadata = metadata;
72 public Map<String, Object> getProperties() {
76 public void setProperties(Map<String, Object> properties) {
77 this.properties = properties;
80 public Map<String, ToscaTemplateCapability> getCapabilities() {
84 public void setCapabilities(Map<String, ToscaTemplateCapability> capabilities) {
85 this.capabilities = capabilities;