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=========================================================
21 package org.onap.sdc.tosca.datatypes.model;
23 import java.util.List;
28 public class GroupType {
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;
40 public String getDerived_from() {
44 public void setDerived_from(String derived_from) {
45 this.derived_from = derived_from;
48 public String getVersion() {
52 public void setVersion(String version) {
53 this.version = version;
56 public Map<String, String> getMetadata() {
60 public void setMetadata(Map<String, String> metadata) {
61 this.metadata = metadata;
64 public List<Map<String, RequirementDefinition>> getRequirements() {
68 public void setRequirements(
69 List<Map<String, RequirementDefinition>> requirements) {
70 this.requirements = requirements;
73 public Map<String, CapabilityDefinition> getCapabilities() {
77 public void setCapabilities(
78 Map<String, CapabilityDefinition> capabilities) {
79 this.capabilities = capabilities;
82 public String getDescription() {
86 public void setDescription(String description) {
87 this.description = description;
90 public Map<String, PropertyDefinition> getProperties() {
94 public void setProperties(Map<String, PropertyDefinition> properties) {
95 this.properties = properties;
98 public List<String> getMembers() {
102 public void setMembers(List<String> members) {
103 this.members = members;
106 public Map<String, Object> getInterfaces() {
110 public void setInterfaces(Map<String, Object> interfaces) {
111 this.interfaces = interfaces;