297a2498bb2111053221a19350de2103581cc0d1
[sdc.git] /
1 /*
2  * Copyright © 2016-2017 European Support Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.openecomp.sdc.tosca.datatypes.model;
18
19 import org.openecomp.sdc.tosca.datatypes.model.heatextend.AnnotationType;
20 import java.util.List;
21 import java.util.Map;
22
23
24
25 public class ServiceTemplate implements Template {
26
27   private String tosca_definitions_version;
28   private Map<String, String> metadata;
29   private String description;
30   private List<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, Object> 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 Map<String, AnnotationType> annotation_types;
40   private TopologyTemplate topology_template;
41
42   public String getTosca_definitions_version() {
43     return tosca_definitions_version;
44   }
45
46   public void setTosca_definitions_version(String tosca_definitions_version) {
47     this.tosca_definitions_version = tosca_definitions_version;
48   }
49
50   public Map<String, String> getMetadata() {
51     return metadata;
52   }
53
54   public void setMetadata(Map<String, String> metadata) {
55     this.metadata = metadata;
56   }
57
58   public String getDescription() {
59     return description;
60   }
61
62   public void setDescription(String description) {
63     this.description = description;
64   }
65
66   public List<Map<String, Import>> getImports() {
67     return imports;
68   }
69
70   public void setImports(
71       List<Map<String, Import>> imports) {
72     this.imports = imports;
73   }
74
75   public Map<String, ArtifactType> getArtifact_types() {
76     return artifact_types;
77   }
78
79   public void setArtifact_types(Map<String, ArtifactType> artifact_types) {
80     this.artifact_types = artifact_types;
81   }
82
83   public Map<String, DataType> getData_types() {
84     return data_types;
85   }
86
87   public void setData_types(Map<String, DataType> data_types) {
88     this.data_types = data_types;
89   }
90
91   public Map<String, CapabilityType> getCapability_types() {
92     return capability_types;
93   }
94
95   public void setCapability_types(Map<String, CapabilityType> capability_types) {
96     this.capability_types = capability_types;
97   }
98
99   public Map<String, RelationshipType> getRelationship_types() {
100     return relationship_types;
101   }
102
103   public void setRelationship_types(Map<String, RelationshipType> relationship_types) {
104     this.relationship_types = relationship_types;
105   }
106
107   public Map<String, NodeType> getNode_types() {
108     return node_types;
109   }
110
111   public void setNode_types(Map<String, NodeType> node_types) {
112     this.node_types = node_types;
113   }
114
115   public Map<String, GroupType> getGroup_types() {
116     return group_types;
117   }
118
119   public void setGroup_types(Map<String, GroupType> group_types) {
120     this.group_types = group_types;
121   }
122
123   public Map<String, Object> getInterface_types() {
124     return interface_types;
125   }
126
127   public void setInterface_types(Map<String, Object> interface_types) {
128     this.interface_types = interface_types;
129   }
130
131   public Map<String, PolicyType> getPolicy_types() {
132     return policy_types;
133   }
134
135   public void setPolicy_types(Map<String, PolicyType> policy_types) {
136     this.policy_types = policy_types;
137   }
138
139   public TopologyTemplate getTopology_template() {
140     return topology_template;
141   }
142
143   public void setTopology_template(TopologyTemplate topology_template) {
144     this.topology_template = topology_template;
145   }
146
147   public Map<String, AnnotationType> getAnnotation_types() {
148     return annotation_types;
149   }
150
151   public void setAnnotation_types(Map<String, AnnotationType> annotation_types) {
152     this.annotation_types = annotation_types;
153   }
154
155 }