Merge "[VID-42] Revert att-abs-tpls.js removal commit"
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / asdc / beans / tosca / ToscaMetadata.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * VID\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.vid.asdc.beans.tosca;\r
22 \r
23 /**\r
24  * The Class ToscaMetadata.\r
25  */\r
26 public class ToscaMetadata {\r
27 \r
28         /** The template name. */\r
29         private String template_name;\r
30         \r
31         /** The invariant UUID. */\r
32         private String invariantUUID;\r
33         \r
34         /** The customization UUID. */\r
35         private String customizationUUID;\r
36         \r
37         /** The uuid. */\r
38         private String uuid;\r
39         \r
40         /** The version. */\r
41         private String version;\r
42         \r
43         /** The name. */\r
44         private String name;\r
45         \r
46         /** The description. */\r
47         private String description;\r
48         \r
49         /** The category. */\r
50         private String category;\r
51         \r
52         /** The subcategory. */\r
53         private String subcategory;\r
54         \r
55         /** The type. */\r
56         private String type;\r
57         \r
58         /** The resource vendor. */\r
59         private String resourceVendor;\r
60         \r
61         /** The resource vendor release. */\r
62         private String resourceVendorRelease;\r
63         \r
64         /** the resourceVendorModelNumber */\r
65         private String resourceVendorModelNumber;\r
66 \r
67         /** The service ecomp naming. */\r
68         private String serviceEcompNaming;\r
69         \r
70         /** The ecomp generated naming - duplicate for serviceEcompNaming */\r
71         private boolean ecompGeneratedNaming;\r
72         \r
73         /** The naming policy */\r
74         private String namingPolicy;\r
75         \r
76         /** The service homing. */\r
77         private boolean serviceHoming;\r
78         \r
79         /** The vf module model name. */\r
80         //ToscaMetadata for VF Modules\r
81         private String vfModuleModelName;\r
82         \r
83         /** The vf module model invariant UUID. */\r
84         private String vfModuleModelInvariantUUID;\r
85         \r
86         /** The vf module model customization UUID. */\r
87         private String vfModuleModelCustomizationUUID;\r
88         \r
89         /** The vf module model UUID. */\r
90         private String vfModuleModelUUID;\r
91         \r
92         /** The vf module model version. */\r
93         private String vfModuleModelVersion;\r
94 \r
95         /** serviceType */\r
96         private String serviceType;\r
97         /** serviceRole */\r
98         private String serviceRole;\r
99         \r
100         /**\r
101          * Instantiates a new tosca metadata.\r
102          */\r
103         public ToscaMetadata() {}\r
104         \r
105         /**\r
106          * Gets the type.\r
107          *\r
108          * @return the type\r
109          */\r
110         public String getType() {\r
111                 return type;\r
112         }\r
113         \r
114         /**\r
115          * Gets the invariant UUID.\r
116          *\r
117          * @return the invariant UUID\r
118          */\r
119         public String getInvariantUUID() {\r
120                   return invariantUUID;\r
121         }\r
122         /**\r
123          * Gets the customization UUID.\r
124          *\r
125          * @return the customization UUID\r
126          */\r
127         public String getCustomizationUUID() {\r
128                   return customizationUUID;\r
129         }\r
130         /**\r
131          * Gets the uuid.\r
132          *\r
133          * @return the uuid\r
134          */\r
135         public String getUUID() {\r
136                 return uuid;\r
137         }\r
138 \r
139         /**\r
140          * Gets the version.\r
141          *\r
142          * @return the version\r
143          */\r
144         public String getVersion() {\r
145                 return version;\r
146         }\r
147 \r
148         /**\r
149          * Gets the name.\r
150          *\r
151          * @return the name\r
152          */\r
153         public String getName() {\r
154                 return name;\r
155         }\r
156 \r
157         /**\r
158          * Gets the description.\r
159          *\r
160          * @return the description\r
161          */\r
162         public String getDescription() {\r
163                 return description;\r
164         }\r
165 \r
166         /**\r
167          * Gets the category.\r
168          *\r
169          * @return the category\r
170          */\r
171         public String getCategory() {\r
172                 return category;\r
173         }\r
174 \r
175         /**\r
176          * Gets the subcategory.\r
177          *\r
178          * @return the subcategory\r
179          */\r
180         public String getSubcategory() {\r
181                 return subcategory;\r
182         }\r
183 \r
184         /**\r
185          * Gets the resource vendor.\r
186          *\r
187          * @return the resource vendor\r
188          */\r
189         public String getResourceVendor() {\r
190                 return resourceVendor;\r
191         }\r
192 \r
193         /**\r
194          * Gets the resource vendor release.\r
195          *\r
196          * @return the resource vendor release\r
197          */\r
198         public String getResourceVendorRelease() {\r
199                 return resourceVendorRelease;\r
200         }\r
201 \r
202         /**\r
203          * Returns the value of service ecomp naming.\r
204          *\r
205          * @return serviceEcompNaming\r
206          */\r
207         public String getServiceEcompNaming() {\r
208                 return serviceEcompNaming;\r
209         }\r
210         /**\r
211          * Returns the value of the naming policy.\r
212          *\r
213          * @return namingPolicy\r
214          */\r
215         public String getNamingPolicy() {\r
216                 return namingPolicy;\r
217         }\r
218         /**\r
219          * Checks if is service homing.\r
220          *\r
221          * @return true, if is service homing\r
222          */\r
223         public boolean isServiceHoming() {\r
224                 return serviceHoming;\r
225         }\r
226         /**\r
227          * Checks if is ecomp generated naming.\r
228          *\r
229          * @return true, if ecomp generated naming is true\r
230          */\r
231         public boolean isEcompGeneratedNaming() {\r
232                 return ecompGeneratedNaming;\r
233         }\r
234         /**\r
235          * Sets the type.\r
236          *\r
237          * @param type the new type\r
238          */\r
239         public void setType(String type) {\r
240                 this.type = type;\r
241         }\r
242         \r
243         /**\r
244          * Sets the invariant UUID.\r
245          *\r
246          * @param invariantUUID the new invariant UUID\r
247          */\r
248         public void setInvariantUUID(String invariantUUID) {\r
249                 this.invariantUUID = invariantUUID;\r
250         }\r
251         /**\r
252          * Sets the naming policy.\r
253          *\r
254          * @param namingPolicy the new naming policy\r
255          */\r
256         public void setNamingPolicy(String namingPolicy) {\r
257                 this.namingPolicy = namingPolicy;\r
258         }\r
259         /**\r
260          * Sets the uuid.\r
261          *\r
262          * @param uuid the new uuid\r
263          */\r
264         public void setUUID(String uuid) {\r
265                 this.uuid = uuid;\r
266         }\r
267         /**\r
268          * Sets the customization uuid.\r
269          *\r
270          * @param u the new customization uuid\r
271          */\r
272         public void setCustomizationUUID(String u) {\r
273                 this.customizationUUID = u;\r
274         }\r
275         /**\r
276          * Sets the version.\r
277          *\r
278          * @param version the new version\r
279          */\r
280         public void setVersion(String version) {\r
281                 this.version = version;\r
282         }\r
283 \r
284         /**\r
285          * Sets the name.\r
286          *\r
287          * @param name the new name\r
288          */\r
289         public void setName(String name) {\r
290                 this.name = name;\r
291         }\r
292 \r
293         /**\r
294          * Sets the description.\r
295          *\r
296          * @param description the new description\r
297          */\r
298         public void setDescription(String description) {\r
299                 this.description = description;\r
300         }\r
301 \r
302         /**\r
303          * Sets the category.\r
304          *\r
305          * @param category the new category\r
306          */\r
307         public void setCategory(String category) {\r
308                 this.category = category;\r
309         }\r
310 \r
311         /**\r
312          * Sets the service ecomp naming.\r
313          *\r
314          * @param serviceEcompNaming the new service ecomp naming\r
315          */\r
316         public void setServiceEcompNaming(String serviceEcompNaming) {\r
317                 this.serviceEcompNaming = serviceEcompNaming;\r
318         }\r
319 \r
320         /**\r
321          * Sets the service homing.\r
322          *\r
323          * @param serviceHoming the new service homing\r
324          */\r
325         public void setServiceHoming(boolean serviceHoming) {\r
326                 this.serviceHoming = serviceHoming;\r
327         }\r
328         /**\r
329          * Sets the ecomp generated naming.\r
330          *\r
331          * @param ecompGeneratedNaming the new ecomp generated naming\r
332          */\r
333         public void setEcompGeneratedNaming(boolean ecompGeneratedNaming) {\r
334                 this.ecompGeneratedNaming = ecompGeneratedNaming;\r
335         }\r
336         /**\r
337          * Gets the template name.\r
338          *\r
339          * @return the template name\r
340          */\r
341         public String gettemplate_name() {\r
342                 return template_name;\r
343         }\r
344         \r
345         /**\r
346          * Sets the template name.\r
347          *\r
348          * @param template_name the new template name\r
349          */\r
350         public void settemplate_name(String template_name) {\r
351                 this.template_name = template_name;\r
352         }\r
353         \r
354         /**\r
355          * Sets the subcategory.\r
356          *\r
357          * @param subcategory the new subcategory\r
358          */\r
359         public void setSubcategory(String subcategory) {\r
360                 this.subcategory = subcategory;\r
361         }\r
362         \r
363         /**\r
364          * Sets the resource vendor.\r
365          *\r
366          * @param resourceVendor the new resource vendor\r
367          */\r
368         public void setResourceVendor(String resourceVendor) {\r
369                 this.resourceVendor = resourceVendor;\r
370         }\r
371 \r
372         /**\r
373          * Sets the resource vendor release.\r
374          *\r
375          * @param resourceVendorRelease the new resource vendor release\r
376          */\r
377         public void setResourceVendorRelease(String resourceVendorRelease) {\r
378                 this.resourceVendorRelease = resourceVendorRelease;\r
379         }\r
380 \r
381         /**\r
382          * Gets the vf module model name.\r
383          *\r
384          * @return the vf module model name\r
385          */\r
386         public String getVfModuleModelName() {\r
387                 return vfModuleModelName;\r
388         }\r
389 \r
390         /**\r
391          * Sets the vf module model name.\r
392          *\r
393          * @param vfModuleModelName the new vf module model name\r
394          */\r
395         public void setVfModuleModelName(String vfModuleModelName) {\r
396                 this.vfModuleModelName = vfModuleModelName;\r
397         }\r
398 \r
399         /**\r
400          * Gets the vf module model invariant UUID.\r
401          *\r
402          * @return the vf module model invariant UUID\r
403          */\r
404         public String getVfModuleModelInvariantUUID() {\r
405                 return vfModuleModelInvariantUUID;\r
406         }\r
407 \r
408         /**\r
409          * Sets the vf module model invariant UUID.\r
410          *\r
411          * @param vfModuleModelInvariantUUID the new vf module model invariant UUID\r
412          */\r
413         public void setVfModuleModelInvariantUUID(String vfModuleModelInvariantUUID) {\r
414                 this.vfModuleModelInvariantUUID = vfModuleModelInvariantUUID;\r
415         }\r
416 \r
417         /**\r
418          * Gets the vf module model UUID.\r
419          *\r
420          * @return the vf module model UUID\r
421          */\r
422         public String getVfModuleModelUUID() {\r
423                 return vfModuleModelUUID;\r
424         }\r
425 \r
426         /**\r
427          * Sets the vf module model UUID.\r
428          *\r
429          * @param vfModuleModelUUID the new vf module model UUID\r
430          */\r
431         public void setVfModuleModelUUID(String vfModuleModelUUID) {\r
432                 this.vfModuleModelUUID = vfModuleModelUUID;\r
433         }\r
434 \r
435         /**\r
436          * Gets the vf module model version.\r
437          *\r
438          * @return the vf module model version\r
439          */\r
440         public String getVfModuleModelVersion() {\r
441                 return vfModuleModelVersion;\r
442         }\r
443 \r
444         /**\r
445          * Sets the vf module model version.\r
446          *\r
447          * @param vfModuleModelVersion the new vf module model version\r
448          */\r
449         public void setVfModuleModelVersion(String vfModuleModelVersion) {\r
450                 this.vfModuleModelVersion = vfModuleModelVersion;\r
451         }\r
452         /**\r
453          * Sets the vf module customization uuid.\r
454          *\r
455          * @param u the new vf module model customization uuid\r
456          */\r
457         public void setVfModuleModelCustomizationUUID(String u) {\r
458                 this.vfModuleModelCustomizationUUID = u;\r
459         }\r
460         /**\r
461          * Gets the vf module model customization uuid.\r
462          *\r
463          * @return the vf module model customization uuid\r
464          */\r
465         public String getVfModuleModelCustomizationUUID() {\r
466                 \r
467                 return vfModuleModelCustomizationUUID;\r
468         }\r
469 \r
470         /** serviceType */\r
471         public String getServiceType() {\r
472                 return serviceType;\r
473         }\r
474         public void setServiceType(String serviceType) {\r
475                 this.serviceType= serviceType;\r
476         }\r
477         /** serviceRole */\r
478         public String getServiceRole() {\r
479                 return serviceRole;\r
480         }\r
481         public void setServiceRole(String serviceRole) {\r
482                 this.serviceRole= serviceRole;\r
483         }\r
484         /** resourceVendorModelNumber */\r
485         public String getResourceVendorModelNumber() {\r
486                 return resourceVendorModelNumber;\r
487         }\r
488         public void setResourceVendorModelNumber(String resourceVendorModelNumber) {\r
489                 this.resourceVendorModelNumber= resourceVendorModelNumber;\r
490         }\r
491 }\r