[SDC-29] rebase continue work to align source
[sdc.git] / test-apis-ci / 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                 // TODO Auto-generated constructor stub
148         }
149
150         // public ResourceRespJavaObject(String uniqueId, String resourceName,
151         // String resourceVersion, String creatorUserId,
152         // String creatorFullName, String lastUpdaterUserId,
153         // String lastUpdaterFullName, String description, String icon,
154         // List<String> tags, String isHighestVersion, String creationDate,
155         // String lastUpdateDate, String category, String lifecycleState,
156         // List<String> derivedFrom, String vendorName, String vendorRelease,
157         // String contactId, String abstractt, String highestVersion) {
158         // super();
159         // this.uniqueId = uniqueId;
160         // this.resourceName = resourceName;
161         // this.resourceVersion = resourceVersion;
162         // this.creatorUserId = creatorUserId;
163         // this.creatorFullName = creatorFullName;
164         // this.lastUpdaterUserId = lastUpdaterUserId;
165         // this.lastUpdaterFullName = lastUpdaterFullName;
166         // this.description = description;
167         // this.icon = icon;
168         // this.tags = tags;
169         // this.isHighestVersion = isHighestVersion;
170         // this.creationDate = creationDate;
171         // this.lastUpdateDate = lastUpdateDate;
172         // this.category = category;
173         // this.lifecycleState = lifecycleState;
174         // this.derivedFrom = derivedFrom;
175         // this.vendorName = vendorName;
176         // this.vendorRelease = vendorRelease;
177         // this.contactId = contactId;
178         // this.abstractt = abstractt;
179         // this.highestVersion = highestVersion;
180         // }
181         public String getUniqueId() {
182                 return uniqueId;
183         }
184
185         public void setUniqueId(String uniqueId) {
186                 this.uniqueId = uniqueId;
187         }
188
189         public String getName() {
190                 return name;
191         }
192
193         public void setName(String resourceName) {
194                 this.name = resourceName;
195         }
196
197         public String getVersion() {
198                 return version;
199         }
200
201         public void setVersion(String resourceVersion) {
202                 this.version = resourceVersion;
203         }
204
205         public String getCreatorUserId() {
206                 return creatorUserId;
207         }
208
209         public void setCreatorUserId(String creatorUserId) {
210                 this.creatorUserId = creatorUserId;
211         }
212
213         public String getCreatorFullName() {
214                 return creatorFullName;
215         }
216
217         public void setCreatorFullName(String creatorFullName) {
218                 this.creatorFullName = creatorFullName;
219         }
220
221         public String getLastUpdaterUserId() {
222                 return lastUpdaterUserId;
223         }
224
225         public void setLastUpdaterUserId(String lastUpdaterUserId) {
226                 this.lastUpdaterUserId = lastUpdaterUserId;
227         }
228
229         public String getLastUpdaterFullName() {
230                 return lastUpdaterFullName;
231         }
232
233         public void setLastUpdaterFullName(String lastUpdaterFullName) {
234                 this.lastUpdaterFullName = lastUpdaterFullName;
235         }
236
237         public String getDescription() {
238                 return description;
239         }
240
241         public void setDescription(String description) {
242                 this.description = description;
243         }
244
245         public String getIcon() {
246                 return icon;
247         }
248
249         public void setIcon(String icon) {
250                 this.icon = icon;
251         }
252
253         public List<String> getTags() {
254                 return tags;
255         }
256
257         public void setTags(List<String> tags) {
258                 this.tags = tags;
259         }
260
261         public String getIsHighestVersion() {
262                 return isHighestVersion;
263         }
264
265         public void setIsHighestVersion(String isHighestVersion) {
266                 this.isHighestVersion = isHighestVersion;
267         }
268
269         public String getCreationDate() {
270                 return creationDate;
271         }
272
273         public void setCreationDate(String creationDate) {
274                 this.creationDate = creationDate;
275         }
276
277         public String getLastUpdateDate() {
278                 return lastUpdateDate;
279         }
280
281         public void setLastUpdateDate(String lastUpdateDate) {
282                 this.lastUpdateDate = lastUpdateDate;
283         }
284
285         // public String getCategory() {
286         // return category;
287         // }
288         // public void setCategory(String category) {
289         // this.category = category;
290         // }
291         public String getLifecycleState() {
292                 return lifecycleState;
293         }
294
295         public void setLifecycleState(String lifecycleState) {
296                 this.lifecycleState = lifecycleState;
297         }
298
299         public List<String> getDerivedFrom() {
300                 return derivedFrom;
301         }
302
303         public void setDerivedFrom(List<String> derivedFrom) {
304                 this.derivedFrom = derivedFrom;
305         }
306
307         public String getVendorName() {
308                 return vendorName;
309         }
310
311         public void setVendorName(String vendorName) {
312                 this.vendorName = vendorName;
313         }
314
315         public String getVendorRelease() {
316                 return vendorRelease;
317         }
318
319         public void setVendorRelease(String vendorRelease) {
320                 this.vendorRelease = vendorRelease;
321         }
322
323         public String getContactId() {
324                 return contactId;
325         }
326
327         public void setContactId(String contactId) {
328                 this.contactId = contactId;
329         }
330
331         public String getAbstractt() {
332                 return abstractt;
333         }
334
335         public void setAbstractt(String abstractt) {
336                 this.abstractt = abstractt;
337         }
338
339         public String getHighestVersion() {
340                 return highestVersion;
341         }
342
343         public void setHighestVersion(String highestVersion) {
344                 this.highestVersion = highestVersion;
345         }
346
347         public List<CategoryDefinition> getCategories() {
348                 return categories;
349         }
350
351         public void setCategories(List<CategoryDefinition> categories) {
352                 this.categories = categories;
353         }
354
355         @Override
356         public String toString() {
357                 return "ResourceRespJavaObject [uniqueId=" + uniqueId + ", resourceName=" + name + ", resourceVersion="
358                                 + version + ", creatorUserId=" + creatorUserId + ", creatorFullName=" + creatorFullName
359                                 + ", lastUpdaterUserId=" + lastUpdaterUserId + ", lastUpdaterFullName=" + lastUpdaterFullName
360                                 + ", description=" + description + ", icon=" + icon + ", tags=" + tags + ", isHighestVersion="
361                                 + isHighestVersion + ", creationDate=" + creationDate + ", lastUpdateDate=" + lastUpdateDate
362                                 + ", lifecycleState=" + lifecycleState + ", derivedFrom=" + derivedFrom + ", vendorName=" + vendorName
363                                 + ", vendorRelease=" + vendorRelease + ", contactId=" + contactId + ", abstractt=" + abstractt
364                                 + ", highestVersion=" + highestVersion + ", artifacts=" + artifacts + ", interfaces=" + interfaces
365                                 + ", uuid=" + uuid + ", cost=" + cost + ", licenseType=" + licenseType + ", resourceType="
366                                 + resourceType + "]";
367         }
368
369 }