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.ArrayList;
25 public class ServiceRespJavaObject {
29 String creatorFullName;
30 String lastUpdaterUserId;
31 String lastUpdaterFullName;
38 ArrayList<String> tags;
40 String lastUpdateDate;
44 String lifecycleState;
45 String highestVersion;
46 ArrayList<String> artifacts;
47 ArrayList<String> ResourceInstances;
48 ArrayList<String> ResourceInstancesRelations;
50 public ServiceRespJavaObject() {
52 // TODO Auto-generated constructor stub
55 public ServiceRespJavaObject(String category, String creatorUserId, String creatorFullName,
56 String lastUpdaterUserId, String lastUpdaterFullName, String serviceName, String version,
57 String creationDate, String icon, String name, String description, ArrayList<String> tags, String uniqueId,
58 String lastUpdateDate, String contactId, String vendorName, String vendorRelease, String lifecycleState,
59 String highestVersion, ArrayList<String> artifacts, ArrayList<String> resourceInstances,
60 ArrayList<String> resourceInstancesRelations) {
62 this.category = category;
63 this.creatorUserId = creatorUserId;
64 this.creatorFullName = creatorFullName;
65 this.lastUpdaterUserId = lastUpdaterUserId;
66 this.lastUpdaterFullName = lastUpdaterFullName;
67 this.serviceName = serviceName;
68 this.version = version;
69 this.creationDate = creationDate;
72 this.description = description;
74 this.uniqueId = uniqueId;
75 this.lastUpdateDate = lastUpdateDate;
76 this.contactId = contactId;
77 this.vendorName = vendorName;
78 this.vendorRelease = vendorRelease;
79 this.lifecycleState = lifecycleState;
80 this.highestVersion = highestVersion;
81 this.artifacts = artifacts;
82 ResourceInstances = resourceInstances;
83 ResourceInstancesRelations = resourceInstancesRelations;
86 public String getCategory() {
90 public void setCategory(String category) {
91 this.category = category;
94 public String getCreatorUserId() {
98 public void setCreatorUserId(String creatorUserId) {
99 this.creatorUserId = creatorUserId;
102 public String getCreatorFullName() {
103 return creatorFullName;
106 public void setCreatorFullName(String creatorFullName) {
107 this.creatorFullName = creatorFullName;
110 public String getLastUpdaterUserId() {
111 return lastUpdaterUserId;
114 public void setLastUpdaterUserId(String lastUpdaterUserId) {
115 this.lastUpdaterUserId = lastUpdaterUserId;
118 public String getLastUpdaterFullName() {
119 return lastUpdaterFullName;
122 public void setLastUpdaterFullName(String lastUpdaterFullName) {
123 this.lastUpdaterFullName = lastUpdaterFullName;
126 public String getVersion() {
130 public void setVersion(String version) {
131 this.version = version;
134 public String getCreationDate() {
138 public void setCreationDate(String creationDate) {
139 this.creationDate = creationDate;
142 public String getIcon() {
146 public void setIcon(String icon) {
150 public String getName() {
154 public void setName(String name) {
158 public String getDescription() {
162 public void setDescription(String description) {
163 this.description = description;
166 public ArrayList<String> getTags() {
170 public void setTags(ArrayList<String> tags) {
174 public String getUniqueId() {
178 public void setUniqueId(String uniqueId) {
179 this.uniqueId = uniqueId;
182 public String getLastUpdateDate() {
183 return lastUpdateDate;
186 public void setLastUpdateDate(String lastUpdateDate) {
187 this.lastUpdateDate = lastUpdateDate;
190 public String getContactId() {
194 public void setContactId(String contactId) {
195 this.contactId = contactId;
198 public String getVendorName() {
202 public void setVendorName(String vendorName) {
203 this.vendorName = vendorName;
206 public String getVendorRelease() {
207 return vendorRelease;
210 public void setVendorRelease(String vendorRelease) {
211 this.vendorRelease = vendorRelease;
214 public String getLifecycleState() {
215 return lifecycleState;
218 public void setLifecycleState(String lifecycleState) {
219 this.lifecycleState = lifecycleState;
222 public String getHighestVersion() {
223 return highestVersion;
226 public void setHighestVersion(String highest) {
227 this.highestVersion = highest;
230 public ArrayList<String> getArtifacts() {
234 public void setArtifacts(ArrayList<String> artifacts) {
235 this.artifacts = artifacts;
238 public ArrayList<String> getResourceInstances() {
239 return ResourceInstances;
242 public void setResourceInstances(ArrayList<String> resourceInstances) {
243 ResourceInstances = resourceInstances;
246 public ArrayList<String> getResourceInstancesRelations() {
247 return ResourceInstancesRelations;
250 public void setResourceInstancesRelations(ArrayList<String> resourceInstancesRelations) {
251 ResourceInstancesRelations = resourceInstancesRelations;
255 public String toString() {
256 return "ServiceRespJavaObject [category=" + category + ", creatorUserId=" + creatorUserId + ", creatorFullName="
257 + creatorFullName + ", lastUpdaterUserId=" + lastUpdaterUserId + ", lastUpdaterFullName="
258 + lastUpdaterFullName + ", serviceName=" + serviceName + ", version=" + version + ", creationDate="
259 + creationDate + ", icon=" + icon + ", name=" + name + ", description=" + description + ", tags=" + tags
260 + ", uniqueId=" + uniqueId + ", lastUpdateDate=" + lastUpdateDate + ", contactId=" + contactId
261 + ", vendorName=" + vendorName + ", vendorRelease=" + vendorRelease + ", lifecycleState="
262 + lifecycleState + ", lifecycleState=" + lifecycleState + ", artifacts=" + artifacts
263 + ", ResourceInstances=" + ResourceInstances + ", ResourceInstancesRelations="
264 + ResourceInstancesRelations + "]";