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