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.openecomp.sdc.tosca.datatypes.model;
25 public class ServiceTemplate implements Template {
27 private String tosca_definitions_version;
28 private Metadata metadata;
29 private String description;
30 private Map<String, Import> imports;
31 private Map<String, ArtifactType> artifact_types;
32 private Map<String, DataType> data_types;
33 private Map<String, CapabilityType> capability_types;
34 private Map<String, InterfaceType> interface_types;
35 private Map<String, RelationshipType> relationship_types;
36 private Map<String, NodeType> node_types;
37 private Map<String, GroupType> group_types;
38 private Map<String, PolicyType> policy_types;
39 private TopologyTemplate topology_template;
41 public String getTosca_definitions_version() {
42 return tosca_definitions_version;
45 public void setTosca_definitions_version(String toscaDefinitionsVersion) {
46 this.tosca_definitions_version = toscaDefinitionsVersion;
49 public Metadata getMetadata() {
53 public void setMetadata(Metadata metadata) {
54 this.metadata = metadata;
57 public String getDescription() {
61 public void setDescription(String description) {
62 this.description = description;
65 public Map<String, Import> getImports() {
69 public void setImports(Map<String, Import> imports) {
70 this.imports = imports;
73 public Map<String, ArtifactType> getArtifact_types() {
74 return artifact_types;
77 public void setArtifact_types(Map<String, ArtifactType> artifactTypes) {
78 this.artifact_types = artifactTypes;
81 public Map<String, DataType> getData_types() {
85 public void setData_types(Map<String, DataType> dataTypes) {
86 this.data_types = dataTypes;
89 public Map<String, CapabilityType> getCapability_types() {
90 return capability_types;
93 public void setCapability_types(Map<String, CapabilityType> capabilityTypes) {
94 this.capability_types = capabilityTypes;
97 public Map<String, RelationshipType> getRelationship_types() {
98 return relationship_types;
101 public void setRelationship_types(Map<String, RelationshipType> relationshipTypes) {
102 this.relationship_types = relationshipTypes;
105 public Map<String, NodeType> getNode_types() {
109 public void setNode_types(Map<String, NodeType> nodeTypes) {
110 this.node_types = nodeTypes;
113 public Map<String, GroupType> getGroup_types() {
117 public void setGroup_types(Map<String, GroupType> groupTypes) {
118 this.group_types = groupTypes;
121 public Map<String, InterfaceType> getInterface_types() {
122 return interface_types;
125 public void setInterface_types(Map<String, InterfaceType> interfaceTypes) {
126 this.interface_types = interfaceTypes;
129 public Map<String, PolicyType> getPolicy_types() {
133 public void setPolicy_types(Map<String, PolicyType> policyTypes) {
134 this.policy_types = policyTypes;
137 public TopologyTemplate getTopology_template() {
138 return topology_template;
141 public void setTopology_template(TopologyTemplate topologyTemplate) {
142 this.topology_template = topologyTemplate;