2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdc.ci.tests.datatypes;
23 import java.util.List;
25 import org.openecomp.sdc.be.model.category.CategoryDefinition;
27 public class ResourceRespJavaObject {
32 String creatorFullName;
33 String lastUpdaterUserId;
34 String lastUpdaterFullName;
38 String isHighestVersion;
40 String lastUpdateDate;
42 String lifecycleState;
43 List<String> derivedFrom;
48 String highestVersion;
49 List<String> artifacts;
50 List<String> interfaces;
55 List<CategoryDefinition> categories;
57 public String getResourceType() {
61 public void setResourceType(String resourceType) {
62 this.resourceType = resourceType;
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) {
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;
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;
97 this.licenseType = licenseType;
98 this.resourceType = resourceType;
101 public void setUuid(String uuid) {
105 public String getCost() {
109 public void setCost(String cost) {
113 public String getLicenseType() {
117 public void setLicenseType(String licenseType) {
118 this.licenseType = licenseType;
121 public String getUuid() {
125 public String setUuid() {
129 public List<String> getInterfaces() {
133 public void setInterfaces(List<String> interfaces) {
134 this.interfaces = interfaces;
137 public List<String> getArtifacts() {
141 public void setArtifacts(List<String> artifacts) {
142 this.artifacts = artifacts;
145 public ResourceRespJavaObject() {
149 public String getUniqueId() {
153 public void setUniqueId(String uniqueId) {
154 this.uniqueId = uniqueId;
157 public String getName() {
161 public void setName(String resourceName) {
162 this.name = resourceName;
165 public String getVersion() {
169 public void setVersion(String resourceVersion) {
170 this.version = resourceVersion;
173 public String getCreatorUserId() {
174 return creatorUserId;
177 public void setCreatorUserId(String creatorUserId) {
178 this.creatorUserId = creatorUserId;
181 public String getCreatorFullName() {
182 return creatorFullName;
185 public void setCreatorFullName(String creatorFullName) {
186 this.creatorFullName = creatorFullName;
189 public String getLastUpdaterUserId() {
190 return lastUpdaterUserId;
193 public void setLastUpdaterUserId(String lastUpdaterUserId) {
194 this.lastUpdaterUserId = lastUpdaterUserId;
197 public String getLastUpdaterFullName() {
198 return lastUpdaterFullName;
201 public void setLastUpdaterFullName(String lastUpdaterFullName) {
202 this.lastUpdaterFullName = lastUpdaterFullName;
205 public String getDescription() {
209 public void setDescription(String description) {
210 this.description = description;
213 public String getIcon() {
217 public void setIcon(String icon) {
221 public List<String> getTags() {
225 public void setTags(List<String> tags) {
229 public String getIsHighestVersion() {
230 return isHighestVersion;
233 public void setIsHighestVersion(String isHighestVersion) {
234 this.isHighestVersion = isHighestVersion;
237 public String getCreationDate() {
241 public void setCreationDate(String creationDate) {
242 this.creationDate = creationDate;
245 public String getLastUpdateDate() {
246 return lastUpdateDate;
249 public void setLastUpdateDate(String lastUpdateDate) {
250 this.lastUpdateDate = lastUpdateDate;
253 // public String getCategory() {
256 // public void setCategory(String category) {
257 // this.category = category;
259 public String getLifecycleState() {
260 return lifecycleState;
263 public void setLifecycleState(String lifecycleState) {
264 this.lifecycleState = lifecycleState;
267 public List<String> getDerivedFrom() {
271 public void setDerivedFrom(List<String> derivedFrom) {
272 this.derivedFrom = derivedFrom;
275 public String getVendorName() {
279 public void setVendorName(String vendorName) {
280 this.vendorName = vendorName;
283 public String getVendorRelease() {
284 return vendorRelease;
287 public void setVendorRelease(String vendorRelease) {
288 this.vendorRelease = vendorRelease;
291 public String getContactId() {
295 public void setContactId(String contactId) {
296 this.contactId = contactId;
299 public String getAbstractt() {
303 public void setAbstractt(String abstractt) {
304 this.abstractt = abstractt;
307 public String getHighestVersion() {
308 return highestVersion;
311 public void setHighestVersion(String highestVersion) {
312 this.highestVersion = highestVersion;
315 public List<CategoryDefinition> getCategories() {
319 public void setCategories(List<CategoryDefinition> categories) {
320 this.categories = categories;
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 + "]";