[VID-6] Initial rebase push
[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 service ecomp naming. */\r
65         private String serviceEcompNaming;\r
66         \r
67         /** The ecomp generated naming - duplicate for serviceEcompNaming */\r
68         private boolean ecompGeneratedNaming;\r
69         \r
70         /** The naming policy */\r
71         private String namingPolicy;\r
72         \r
73         /** The service homing. */\r
74         private boolean serviceHoming;\r
75         \r
76         /** The vf module model name. */\r
77         //ToscaMetadata for VF Modules\r
78         private String vfModuleModelName;\r
79         \r
80         /** The vf module model invariant UUID. */\r
81         private String vfModuleModelInvariantUUID;\r
82         \r
83         /** The vf module model customization UUID. */\r
84         private String vfModuleModelCustomizationUUID;\r
85         \r
86         /** The vf module model UUID. */\r
87         private String vfModuleModelUUID;\r
88         \r
89         /** The vf module model version. */\r
90         private String vfModuleModelVersion;\r
91         \r
92         /**\r
93          * Instantiates a new tosca metadata.\r
94          */\r
95         public ToscaMetadata() {}\r
96         \r
97         /**\r
98          * Gets the type.\r
99          *\r
100          * @return the type\r
101          */\r
102         public String getType() {\r
103                 return type;\r
104         }\r
105         \r
106         /**\r
107          * Gets the invariant UUID.\r
108          *\r
109          * @return the invariant UUID\r
110          */\r
111         public String getInvariantUUID() {\r
112                   return invariantUUID;\r
113         }\r
114         /**\r
115          * Gets the customization UUID.\r
116          *\r
117          * @return the customization UUID\r
118          */\r
119         public String getCustomizationUUID() {\r
120                   return customizationUUID;\r
121         }\r
122         /**\r
123          * Gets the uuid.\r
124          *\r
125          * @return the uuid\r
126          */\r
127         public String getUUID() {\r
128                 return uuid;\r
129         }\r
130 \r
131         /**\r
132          * Gets the version.\r
133          *\r
134          * @return the version\r
135          */\r
136         public String getVersion() {\r
137                 return version;\r
138         }\r
139 \r
140         /**\r
141          * Gets the name.\r
142          *\r
143          * @return the name\r
144          */\r
145         public String getName() {\r
146                 return name;\r
147         }\r
148 \r
149         /**\r
150          * Gets the description.\r
151          *\r
152          * @return the description\r
153          */\r
154         public String getDescription() {\r
155                 return description;\r
156         }\r
157 \r
158         /**\r
159          * Gets the category.\r
160          *\r
161          * @return the category\r
162          */\r
163         public String getCategory() {\r
164                 return category;\r
165         }\r
166 \r
167         /**\r
168          * Gets the subcategory.\r
169          *\r
170          * @return the subcategory\r
171          */\r
172         public String getSubcategory() {\r
173                 return subcategory;\r
174         }\r
175 \r
176         /**\r
177          * Gets the resource vendor.\r
178          *\r
179          * @return the resource vendor\r
180          */\r
181         public String getResourceVendor() {\r
182                 return resourceVendor;\r
183         }\r
184 \r
185         /**\r
186          * Gets the resource vendor release.\r
187          *\r
188          * @return the resource vendor release\r
189          */\r
190         public String getResourceVendorRelease() {\r
191                 return resourceVendorRelease;\r
192         }\r
193 \r
194         /**\r
195          * Returns the value of service ecomp naming.\r
196          *\r
197          * @return serviceEcompNaming\r
198          */\r
199         public String getServiceEcompNaming() {\r
200                 return serviceEcompNaming;\r
201         }\r
202         /**\r
203          * Returns the value of the naming policy.\r
204          *\r
205          * @return namingPolicy\r
206          */\r
207         public String getNamingPolicy() {\r
208                 return namingPolicy;\r
209         }\r
210         /**\r
211          * Checks if is service homing.\r
212          *\r
213          * @return true, if is service homing\r
214          */\r
215         public boolean isServiceHoming() {\r
216                 return serviceHoming;\r
217         }\r
218         /**\r
219          * Checks if is ecomp generated naming.\r
220          *\r
221          * @return true, if ecomp generated naming is true\r
222          */\r
223         public boolean isEcompGeneratedNaming() {\r
224                 return ecompGeneratedNaming;\r
225         }\r
226         /**\r
227          * Sets the type.\r
228          *\r
229          * @param type the new type\r
230          */\r
231         public void setType(String type) {\r
232                 this.type = type;\r
233         }\r
234         \r
235         /**\r
236          * Sets the invariant UUID.\r
237          *\r
238          * @param invariantUUID the new invariant UUID\r
239          */\r
240         public void setInvariantUUID(String invariantUUID) {\r
241                 this.invariantUUID = invariantUUID;\r
242         }\r
243         /**\r
244          * Sets the naming policy.\r
245          *\r
246          * @param namingPolicy the new naming policy\r
247          */\r
248         public void setNamingPolicy(String namingPolicy) {\r
249                 this.namingPolicy = namingPolicy;\r
250         }\r
251         /**\r
252          * Sets the uuid.\r
253          *\r
254          * @param uuid the new uuid\r
255          */\r
256         public void setUUID(String uuid) {\r
257                 this.uuid = uuid;\r
258         }\r
259         /**\r
260          * Sets the customization uuid.\r
261          *\r
262          * @param u the new customization uuid\r
263          */\r
264         public void setCustomizationUUID(String u) {\r
265                 this.customizationUUID = u;\r
266         }\r
267         /**\r
268          * Sets the version.\r
269          *\r
270          * @param version the new version\r
271          */\r
272         public void setVersion(String version) {\r
273                 this.version = version;\r
274         }\r
275 \r
276         /**\r
277          * Sets the name.\r
278          *\r
279          * @param name the new name\r
280          */\r
281         public void setName(String name) {\r
282                 this.name = name;\r
283         }\r
284 \r
285         /**\r
286          * Sets the description.\r
287          *\r
288          * @param description the new description\r
289          */\r
290         public void setDescription(String description) {\r
291                 this.description = description;\r
292         }\r
293 \r
294         /**\r
295          * Sets the category.\r
296          *\r
297          * @param category the new category\r
298          */\r
299         public void setCategory(String category) {\r
300                 this.category = category;\r
301         }\r
302 \r
303         /**\r
304          * Sets the service ecomp naming.\r
305          *\r
306          * @param serviceEcompNaming the new service ecomp naming\r
307          */\r
308         public void setServiceEcompNaming(String serviceEcompNaming) {\r
309                 this.serviceEcompNaming = serviceEcompNaming;\r
310         }\r
311 \r
312         /**\r
313          * Sets the service homing.\r
314          *\r
315          * @param serviceHoming the new service homing\r
316          */\r
317         public void setServiceHoming(boolean serviceHoming) {\r
318                 this.serviceHoming = serviceHoming;\r
319         }\r
320         /**\r
321          * Sets the ecomp generated naming.\r
322          *\r
323          * @param ecompGeneratedNaming the new ecomp generated naming\r
324          */\r
325         public void setEcompGeneratedNaming(boolean ecompGeneratedNaming) {\r
326                 this.ecompGeneratedNaming = ecompGeneratedNaming;\r
327         }\r
328         /**\r
329          * Gets the template name.\r
330          *\r
331          * @return the template name\r
332          */\r
333         public String gettemplate_name() {\r
334                 return template_name;\r
335         }\r
336         \r
337         /**\r
338          * Sets the template name.\r
339          *\r
340          * @param template_name the new template name\r
341          */\r
342         public void settemplate_name(String template_name) {\r
343                 this.template_name = template_name;\r
344         }\r
345         \r
346         /**\r
347          * Sets the subcategory.\r
348          *\r
349          * @param subcategory the new subcategory\r
350          */\r
351         public void setSubcategory(String subcategory) {\r
352                 this.subcategory = subcategory;\r
353         }\r
354         \r
355         /**\r
356          * Sets the resource vendor.\r
357          *\r
358          * @param resourceVendor the new resource vendor\r
359          */\r
360         public void setResourceVendor(String resourceVendor) {\r
361                 this.resourceVendor = resourceVendor;\r
362         }\r
363 \r
364         /**\r
365          * Sets the resource vendor release.\r
366          *\r
367          * @param resourceVendorRelease the new resource vendor release\r
368          */\r
369         public void setResourceVendorRelease(String resourceVendorRelease) {\r
370                 this.resourceVendorRelease = resourceVendorRelease;\r
371         }\r
372 \r
373         /**\r
374          * Gets the vf module model name.\r
375          *\r
376          * @return the vf module model name\r
377          */\r
378         public String getVfModuleModelName() {\r
379                 return vfModuleModelName;\r
380         }\r
381 \r
382         /**\r
383          * Sets the vf module model name.\r
384          *\r
385          * @param vfModuleModelName the new vf module model name\r
386          */\r
387         public void setVfModuleModelName(String vfModuleModelName) {\r
388                 this.vfModuleModelName = vfModuleModelName;\r
389         }\r
390 \r
391         /**\r
392          * Gets the vf module model invariant UUID.\r
393          *\r
394          * @return the vf module model invariant UUID\r
395          */\r
396         public String getVfModuleModelInvariantUUID() {\r
397                 return vfModuleModelInvariantUUID;\r
398         }\r
399 \r
400         /**\r
401          * Sets the vf module model invariant UUID.\r
402          *\r
403          * @param vfModuleModelInvariantUUID the new vf module model invariant UUID\r
404          */\r
405         public void setVfModuleModelInvariantUUID(String vfModuleModelInvariantUUID) {\r
406                 this.vfModuleModelInvariantUUID = vfModuleModelInvariantUUID;\r
407         }\r
408 \r
409         /**\r
410          * Gets the vf module model UUID.\r
411          *\r
412          * @return the vf module model UUID\r
413          */\r
414         public String getVfModuleModelUUID() {\r
415                 return vfModuleModelUUID;\r
416         }\r
417 \r
418         /**\r
419          * Sets the vf module model UUID.\r
420          *\r
421          * @param vfModuleModelUUID the new vf module model UUID\r
422          */\r
423         public void setVfModuleModelUUID(String vfModuleModelUUID) {\r
424                 this.vfModuleModelUUID = vfModuleModelUUID;\r
425         }\r
426 \r
427         /**\r
428          * Gets the vf module model version.\r
429          *\r
430          * @return the vf module model version\r
431          */\r
432         public String getVfModuleModelVersion() {\r
433                 return vfModuleModelVersion;\r
434         }\r
435 \r
436         /**\r
437          * Sets the vf module model version.\r
438          *\r
439          * @param vfModuleModelVersion the new vf module model version\r
440          */\r
441         public void setVfModuleModelVersion(String vfModuleModelVersion) {\r
442                 this.vfModuleModelVersion = vfModuleModelVersion;\r
443         }\r
444         /**\r
445          * Sets the vf module customization uuid.\r
446          *\r
447          * @param u the new vf module model customization uuid\r
448          */\r
449         public void setVfModuleModelCustomizationUUID(String u) {\r
450                 this.vfModuleModelCustomizationUUID = u;\r
451         }\r
452         /**\r
453          * Gets the vf module model customization uuid.\r
454          *\r
455          * @return the vf module model customization uuid\r
456          */\r
457         public String getVfModuleModelCustomizationUUID() {\r
458                 \r
459                 return vfModuleModelCustomizationUUID;\r
460         }\r
461 }\r