push addional code
[sdc.git] / openecomp-be / lib / openecomp-tosca-lib / src / main / java / org / openecomp / sdc / tosca / datatypes / model / ServiceTemplate.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.sdc.tosca.datatypes.model;
22
23 import java.util.Map;
24
25 public class ServiceTemplate implements Template {
26
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;
40
41   public String getTosca_definitions_version() {
42     return tosca_definitions_version;
43   }
44
45   public void setTosca_definitions_version(String toscaDefinitionsVersion) {
46     this.tosca_definitions_version = toscaDefinitionsVersion;
47   }
48
49   public Metadata getMetadata() {
50     return metadata;
51   }
52
53   public void setMetadata(Metadata metadata) {
54     this.metadata = metadata;
55   }
56
57   public String getDescription() {
58     return description;
59   }
60
61   public void setDescription(String description) {
62     this.description = description;
63   }
64
65   public Map<String, Import> getImports() {
66     return imports;
67   }
68
69   public void setImports(Map<String, Import> imports) {
70     this.imports = imports;
71   }
72
73   public Map<String, ArtifactType> getArtifact_types() {
74     return artifact_types;
75   }
76
77   public void setArtifact_types(Map<String, ArtifactType> artifactTypes) {
78     this.artifact_types = artifactTypes;
79   }
80
81   public Map<String, DataType> getData_types() {
82     return data_types;
83   }
84
85   public void setData_types(Map<String, DataType> dataTypes) {
86     this.data_types = dataTypes;
87   }
88
89   public Map<String, CapabilityType> getCapability_types() {
90     return capability_types;
91   }
92
93   public void setCapability_types(Map<String, CapabilityType> capabilityTypes) {
94     this.capability_types = capabilityTypes;
95   }
96
97   public Map<String, RelationshipType> getRelationship_types() {
98     return relationship_types;
99   }
100
101   public void setRelationship_types(Map<String, RelationshipType> relationshipTypes) {
102     this.relationship_types = relationshipTypes;
103   }
104
105   public Map<String, NodeType> getNode_types() {
106     return node_types;
107   }
108
109   public void setNode_types(Map<String, NodeType> nodeTypes) {
110     this.node_types = nodeTypes;
111   }
112
113   public Map<String, GroupType> getGroup_types() {
114     return group_types;
115   }
116
117   public void setGroup_types(Map<String, GroupType> groupTypes) {
118     this.group_types = groupTypes;
119   }
120
121   public Map<String, InterfaceType> getInterface_types() {
122     return interface_types;
123   }
124
125   public void setInterface_types(Map<String, InterfaceType> interfaceTypes) {
126     this.interface_types = interfaceTypes;
127   }
128
129   public Map<String, PolicyType> getPolicy_types() {
130     return policy_types;
131   }
132
133   public void setPolicy_types(Map<String, PolicyType> policyTypes) {
134     this.policy_types = policyTypes;
135   }
136
137   public TopologyTemplate getTopology_template() {
138     return topology_template;
139   }
140
141   public void setTopology_template(TopologyTemplate topologyTemplate) {
142     this.topology_template = topologyTemplate;
143   }
144 }