[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / common / openecomp-tosca-datatype / 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.List;
24 import java.util.Map;
25
26
27
28 public class ServiceTemplate implements Template {
29
30   private String tosca_definitions_version;
31   private Map<String, String> metadata;
32   private String description;
33   private List<Map<String, Import>> imports;
34   private Map<String, ArtifactType> artifact_types;
35   private Map<String, DataType> data_types;
36   private Map<String, CapabilityType> capability_types;
37   private Map<String, Object> interface_types;
38   private Map<String, RelationshipType> relationship_types;
39   private Map<String, NodeType> node_types;
40   private Map<String, GroupType> group_types;
41   private Map<String, PolicyType> policy_types;
42   private TopologyTemplate topology_template;
43
44   public String getTosca_definitions_version() {
45     return tosca_definitions_version;
46   }
47
48   public void setTosca_definitions_version(String tosca_definitions_version) {
49     this.tosca_definitions_version = tosca_definitions_version;
50   }
51
52   public Map<String, String> getMetadata() {
53     return metadata;
54   }
55
56   public void setMetadata(Map<String, String> metadata) {
57     this.metadata = metadata;
58   }
59
60   public String getDescription() {
61     return description;
62   }
63
64   public void setDescription(String description) {
65     this.description = description;
66   }
67
68   public List<Map<String, Import>> getImports() {
69     return imports;
70   }
71
72   public void setImports(
73       List<Map<String, Import>> imports) {
74     this.imports = imports;
75   }
76
77   public Map<String, ArtifactType> getArtifact_types() {
78     return artifact_types;
79   }
80
81   public void setArtifact_types(Map<String, ArtifactType> artifact_types) {
82     this.artifact_types = artifact_types;
83   }
84
85   public Map<String, DataType> getData_types() {
86     return data_types;
87   }
88
89   public void setData_types(Map<String, DataType> data_types) {
90     this.data_types = data_types;
91   }
92
93   public Map<String, CapabilityType> getCapability_types() {
94     return capability_types;
95   }
96
97   public void setCapability_types(Map<String, CapabilityType> capability_types) {
98     this.capability_types = capability_types;
99   }
100
101   public Map<String, RelationshipType> getRelationship_types() {
102     return relationship_types;
103   }
104
105   public void setRelationship_types(Map<String, RelationshipType> relationship_types) {
106     this.relationship_types = relationship_types;
107   }
108
109   public Map<String, NodeType> getNode_types() {
110     return node_types;
111   }
112
113   public void setNode_types(Map<String, NodeType> node_types) {
114     this.node_types = node_types;
115   }
116
117   public Map<String, GroupType> getGroup_types() {
118     return group_types;
119   }
120
121   public void setGroup_types(Map<String, GroupType> group_types) {
122     this.group_types = group_types;
123   }
124
125   public Map<String, Object> getInterface_types() {
126     return interface_types;
127   }
128
129   public void setInterface_types(Map<String, Object> interface_types) {
130     this.interface_types = interface_types;
131   }
132
133   public Map<String, PolicyType> getPolicy_types() {
134     return policy_types;
135   }
136
137   public void setPolicy_types(Map<String, PolicyType> policy_types) {
138     this.policy_types = policy_types;
139   }
140
141   public TopologyTemplate getTopology_template() {
142     return topology_template;
143   }
144
145   public void setTopology_template(TopologyTemplate topology_template) {
146     this.topology_template = topology_template;
147   }
148 }