Fix for radio buttons
[sdc.git] / asdc-tests / src / main / java / org / openecomp / sdc / ci / tests / datatypes / ResourceRespJavaObject.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.ci.tests.datatypes;
22
23 import java.util.List;
24
25 import org.openecomp.sdc.be.model.category.CategoryDefinition;
26
27 public class ResourceRespJavaObject {
28         String uniqueId;
29         String name;
30         String version;
31         String creatorUserId;
32         String creatorFullName;
33         String lastUpdaterUserId;
34         String lastUpdaterFullName;
35         String description;
36         String icon;
37         List<String> tags;
38         String isHighestVersion;
39         String creationDate;
40         String lastUpdateDate;
41         // String category;
42         String lifecycleState;
43         List<String> derivedFrom;
44         String vendorName;
45         String vendorRelease;
46         String contactId;
47         String abstractt;
48         String highestVersion;
49         List<String> artifacts;
50         List<String> interfaces;
51         String uuid;
52         String cost;
53         String licenseType;
54         String resourceType;
55         List<CategoryDefinition> categories;
56
57         public String getResourceType() {
58                 return resourceType;
59         }
60
61         public void setResourceType(String resourceType) {
62                 this.resourceType = resourceType;
63         }
64
65         public ResourceRespJavaObject(String uniqueId, String resourceName, String resourceVersion, String creatorUserId,
66                         String creatorFullName, String lastUpdaterUserId, String lastUpdaterFullName, String description,
67                         String icon, List<String> tags, String isHighestVersion, String creationDate, String lastUpdateDate,
68                         String category, String lifecycleState, List<String> derivedFrom, String vendorName, String vendorRelease,
69                         String contactId, String abstractt, String highestVersion, List<String> artifacts, List<String> interfaces,
70                         String uuid, String cost, String licenseType, String resourceType) {
71                 super();
72                 this.uniqueId = uniqueId;
73                 this.name = resourceName;
74                 this.version = resourceVersion;
75                 this.creatorUserId = creatorUserId;
76                 this.creatorFullName = creatorFullName;
77                 this.lastUpdaterUserId = lastUpdaterUserId;
78                 this.lastUpdaterFullName = lastUpdaterFullName;
79                 this.description = description;
80                 this.icon = icon;
81                 this.tags = tags;
82                 this.isHighestVersion = isHighestVersion;
83                 this.creationDate = creationDate;
84                 this.lastUpdateDate = lastUpdateDate;
85                 // this.category = category;
86                 this.lifecycleState = lifecycleState;
87                 this.derivedFrom = derivedFrom;
88                 this.vendorName = vendorName;
89                 this.vendorRelease = vendorRelease;
90                 this.contactId = contactId;
91                 this.abstractt = abstractt;
92                 this.highestVersion = highestVersion;
93                 this.artifacts = artifacts;
94                 this.interfaces = interfaces;
95                 this.uuid = uuid;
96                 this.cost = cost;
97                 this.licenseType = licenseType;
98                 this.resourceType = resourceType;
99         }
100
101         public void setUuid(String uuid) {
102                 this.uuid = uuid;
103         }
104
105         public String getCost() {
106                 return cost;
107         }
108
109         public void setCost(String cost) {
110                 this.cost = cost;
111         }
112
113         public String getLicenseType() {
114                 return licenseType;
115         }
116
117         public void setLicenseType(String licenseType) {
118                 this.licenseType = licenseType;
119         }
120
121         public String getUuid() {
122                 return uuid;
123         }
124
125         public String setUuid() {
126                 return uuid;
127         }
128
129         public List<String> getInterfaces() {
130                 return interfaces;
131         }
132
133         public void setInterfaces(List<String> interfaces) {
134                 this.interfaces = interfaces;
135         }
136
137         public List<String> getArtifacts() {
138                 return artifacts;
139         }
140
141         public void setArtifacts(List<String> artifacts) {
142                 this.artifacts = artifacts;
143         }
144
145         public ResourceRespJavaObject() {
146                 super();
147         }
148
149         public String getUniqueId() {
150                 return uniqueId;
151         }
152
153         public void setUniqueId(String uniqueId) {
154                 this.uniqueId = uniqueId;
155         }
156
157         public String getName() {
158                 return name;
159         }
160
161         public void setName(String resourceName) {
162                 this.name = resourceName;
163         }
164
165         public String getVersion() {
166                 return version;
167         }
168
169         public void setVersion(String resourceVersion) {
170                 this.version = resourceVersion;
171         }
172
173         public String getCreatorUserId() {
174                 return creatorUserId;
175         }
176
177         public void setCreatorUserId(String creatorUserId) {
178                 this.creatorUserId = creatorUserId;
179         }
180
181         public String getCreatorFullName() {
182                 return creatorFullName;
183         }
184
185         public void setCreatorFullName(String creatorFullName) {
186                 this.creatorFullName = creatorFullName;
187         }
188
189         public String getLastUpdaterUserId() {
190                 return lastUpdaterUserId;
191         }
192
193         public void setLastUpdaterUserId(String lastUpdaterUserId) {
194                 this.lastUpdaterUserId = lastUpdaterUserId;
195         }
196
197         public String getLastUpdaterFullName() {
198                 return lastUpdaterFullName;
199         }
200
201         public void setLastUpdaterFullName(String lastUpdaterFullName) {
202                 this.lastUpdaterFullName = lastUpdaterFullName;
203         }
204
205         public String getDescription() {
206                 return description;
207         }
208
209         public void setDescription(String description) {
210                 this.description = description;
211         }
212
213         public String getIcon() {
214                 return icon;
215         }
216
217         public void setIcon(String icon) {
218                 this.icon = icon;
219         }
220
221         public List<String> getTags() {
222                 return tags;
223         }
224
225         public void setTags(List<String> tags) {
226                 this.tags = tags;
227         }
228
229         public String getIsHighestVersion() {
230                 return isHighestVersion;
231         }
232
233         public void setIsHighestVersion(String isHighestVersion) {
234                 this.isHighestVersion = isHighestVersion;
235         }
236
237         public String getCreationDate() {
238                 return creationDate;
239         }
240
241         public void setCreationDate(String creationDate) {
242                 this.creationDate = creationDate;
243         }
244
245         public String getLastUpdateDate() {
246                 return lastUpdateDate;
247         }
248
249         public void setLastUpdateDate(String lastUpdateDate) {
250                 this.lastUpdateDate = lastUpdateDate;
251         }
252
253         // public String getCategory() {
254         // return category;
255         // }
256         // public void setCategory(String category) {
257         // this.category = category;
258         // }
259         public String getLifecycleState() {
260                 return lifecycleState;
261         }
262
263         public void setLifecycleState(String lifecycleState) {
264                 this.lifecycleState = lifecycleState;
265         }
266
267         public List<String> getDerivedFrom() {
268                 return derivedFrom;
269         }
270
271         public void setDerivedFrom(List<String> derivedFrom) {
272                 this.derivedFrom = derivedFrom;
273         }
274
275         public String getVendorName() {
276                 return vendorName;
277         }
278
279         public void setVendorName(String vendorName) {
280                 this.vendorName = vendorName;
281         }
282
283         public String getVendorRelease() {
284                 return vendorRelease;
285         }
286
287         public void setVendorRelease(String vendorRelease) {
288                 this.vendorRelease = vendorRelease;
289         }
290
291         public String getContactId() {
292                 return contactId;
293         }
294
295         public void setContactId(String contactId) {
296                 this.contactId = contactId;
297         }
298
299         public String getAbstractt() {
300                 return abstractt;
301         }
302
303         public void setAbstractt(String abstractt) {
304                 this.abstractt = abstractt;
305         }
306
307         public String getHighestVersion() {
308                 return highestVersion;
309         }
310
311         public void setHighestVersion(String highestVersion) {
312                 this.highestVersion = highestVersion;
313         }
314
315         public List<CategoryDefinition> getCategories() {
316                 return categories;
317         }
318
319         public void setCategories(List<CategoryDefinition> categories) {
320                 this.categories = categories;
321         }
322
323         @Override
324         public String toString() {
325                 return "ResourceRespJavaObject [uniqueId=" + uniqueId + ", resourceName=" + name + ", resourceVersion="
326                                 + version + ", creatorUserId=" + creatorUserId + ", creatorFullName=" + creatorFullName
327                                 + ", lastUpdaterUserId=" + lastUpdaterUserId + ", lastUpdaterFullName=" + lastUpdaterFullName
328                                 + ", description=" + description + ", icon=" + icon + ", tags=" + tags + ", isHighestVersion="
329                                 + isHighestVersion + ", creationDate=" + creationDate + ", lastUpdateDate=" + lastUpdateDate
330                                 + ", lifecycleState=" + lifecycleState + ", derivedFrom=" + derivedFrom + ", vendorName=" + vendorName
331                                 + ", vendorRelease=" + vendorRelease + ", contactId=" + contactId + ", abstractt=" + abstractt
332                                 + ", highestVersion=" + highestVersion + ", artifacts=" + artifacts + ", interfaces=" + interfaces
333                                 + ", uuid=" + uuid + ", cost=" + cost + ", licenseType=" + licenseType + ", resourceType="
334                                 + resourceType + "]";
335         }
336
337 }