push addional code
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-software-products-rest / vendor-software-products-rest-types / src / main / java / org / openecomp / sdcrests / vendorsoftwareproducts / types / VspDescriptionDto.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.sdcrests.vendorsoftwareproducts.types;
22
23 import org.openecomp.sdc.vendorsoftwareproduct.types.LicensingData;
24
25 import javax.validation.constraints.NotNull;
26
27 public class VspDescriptionDto {
28   @NotNull
29   private String name;
30   @NotNull
31   private String description;
32   private String icon;
33   @NotNull
34   private String category;
35   @NotNull
36   private String subCategory;
37   @NotNull
38   private String vendorName;
39   @NotNull
40   private String vendorId;            // this will be populated with vlm id
41   private String licensingVersion;    // this will be populated with vlm version
42   private LicensingData licensingData;
43
44   public String getName() {
45     return name;
46   }
47
48   public void setName(String name) {
49     this.name = name;
50   }
51
52   public String getDescription() {
53     return description;
54   }
55
56   public void setDescription(String description) {
57     this.description = description;
58   }
59
60   public String getIcon() {
61     return this.icon;
62   }
63
64   public void setIcon(String icon) {
65     this.icon = icon;
66   }
67
68   public String getCategory() {
69     return category;
70   }
71
72   public void setCategory(String category) {
73     this.category = category;
74   }
75
76   public String getSubCategory() {
77     return subCategory;
78   }
79
80   public void setSubCategory(String subCategory) {
81     this.subCategory = subCategory;
82   }
83
84   public String getVendorName() {
85     return vendorName;
86   }
87
88   public void setVendorName(String vendorName) {
89     this.vendorName = vendorName;
90   }
91
92   public String getVendorId() {
93     return vendorId;
94   }
95
96   public void setVendorId(String vendorId) {
97     this.vendorId = vendorId;
98   }
99
100   public String getLicensingVersion() {
101     return licensingVersion;
102   }
103
104   public void setLicensingVersion(String licensingVersion) {
105     this.licensingVersion = licensingVersion;
106   }
107
108   public LicensingData getLicensingData() {
109     return licensingData;
110   }
111
112   public void setLicensingData(LicensingData licensingData) {
113     this.licensingData = licensingData;
114   }
115 }