2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 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.openecomp.sdc.tosca.datatypes.model;
23 import org.onap.sdc.tosca.datatypes.model.*;
28 * Created by Talio on 3/30/2017.
30 public class Old1610ServiceTemplate {
32 private String tosca_definitions_version;
33 private Map<String, String> metadata;
34 private String description;
35 private Map<String, Import> imports;
36 private Map<String, ArtifactType> artifact_types;
37 private Map<String, DataType> data_types;
38 private Map<String, CapabilityType> capability_types;
39 private Map<String, Object> interface_types;
40 private Map<String, RelationshipType> relationship_types;
41 private Map<String, NodeType> node_types;
42 private Map<String, GroupType> group_types;
43 private Map<String, PolicyType> policy_types;
44 private TopologyTemplate topology_template;
46 public String getTosca_definitions_version() {
47 return tosca_definitions_version;
50 public void setTosca_definitions_version(String tosca_definitions_version) {
51 this.tosca_definitions_version = tosca_definitions_version;
54 public Map<String, String> getMetadata() {
58 public void setMetadata(Map<String, String> metadata) {
59 this.metadata = metadata;
62 public String getDescription() {
66 public void setDescription(String description) {
67 this.description = description;
71 public Map<String, Import> getImports() {
75 public void setImports(
76 Map<String, Import> imports) {
77 this.imports = imports;
80 public Map<String, ArtifactType> getArtifact_types() {
81 return artifact_types;
84 public void setArtifact_types(
85 Map<String, ArtifactType> artifact_types) {
86 this.artifact_types = artifact_types;
89 public Map<String, DataType> getData_types() {
93 public void setData_types(
94 Map<String, DataType> data_types) {
95 this.data_types = data_types;
98 public Map<String, CapabilityType> getCapability_types() {
99 return capability_types;
102 public void setCapability_types(
103 Map<String, CapabilityType> capability_types) {
104 this.capability_types = capability_types;
107 public Map<String, Object> getInterface_types() {
108 return interface_types;
111 public void setInterface_types(Map<String, Object> interface_types) {
112 this.interface_types = interface_types;
115 public Map<String, RelationshipType> getRelationship_types() {
116 return relationship_types;
119 public void setRelationship_types(
120 Map<String, RelationshipType> relationship_types) {
121 this.relationship_types = relationship_types;
124 public Map<String, NodeType> getNode_types() {
128 public void setNode_types(
129 Map<String, NodeType> node_types) {
130 this.node_types = node_types;
133 public Map<String, GroupType> getGroup_types() {
137 public void setGroup_types(
138 Map<String, GroupType> group_types) {
139 this.group_types = group_types;
142 public Map<String, PolicyType> getPolicy_types() {
146 public void setPolicy_types(
147 Map<String, PolicyType> policy_types) {
148 this.policy_types = policy_types;
151 public TopologyTemplate getTopology_template() {
152 return topology_template;
155 public void setTopology_template(
156 TopologyTemplate topology_template) {
157 this.topology_template = topology_template;