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