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;
24 import java.util.List;
26 public class ServiceRespJavaObject {
30 String creatorFullName;
31 String lastUpdaterUserId;
32 String lastUpdaterFullName;
39 ArrayList<String> tags;
41 String lastUpdateDate;
45 String lifecycleState;
46 String highestVersion;
47 ArrayList<String> artifacts;
48 ArrayList<String> ResourceInstances;
49 ArrayList<String> ResourceInstancesRelations;
51 public ServiceRespJavaObject() {
53 // TODO Auto-generated constructor stub
56 public ServiceRespJavaObject(String category, String creatorUserId, String creatorFullName,
57 String lastUpdaterUserId, String lastUpdaterFullName, String serviceName, String version,
58 String creationDate, String icon, String name, String description, ArrayList<String> tags, String uniqueId,
59 String lastUpdateDate, String contactId, String vendorName, String vendorRelease, String lifecycleState,
60 String highestVersion, ArrayList<String> artifacts, ArrayList<String> resourceInstances,
61 ArrayList<String> resourceInstancesRelations) {
63 this.category = category;
64 this.creatorUserId = creatorUserId;
65 this.creatorFullName = creatorFullName;
66 this.lastUpdaterUserId = lastUpdaterUserId;
67 this.lastUpdaterFullName = lastUpdaterFullName;
68 this.serviceName = serviceName;
69 this.version = version;
70 this.creationDate = creationDate;
73 this.description = description;
75 this.uniqueId = uniqueId;
76 this.lastUpdateDate = lastUpdateDate;
77 this.contactId = contactId;
78 this.vendorName = vendorName;
79 this.vendorRelease = vendorRelease;
80 this.lifecycleState = lifecycleState;
81 this.highestVersion = highestVersion;
82 this.artifacts = artifacts;
83 ResourceInstances = resourceInstances;
84 ResourceInstancesRelations = resourceInstancesRelations;
87 public String getCategory() {
91 public void setCategory(String category) {
92 this.category = category;
95 public String getCreatorUserId() {
99 public void setCreatorUserId(String creatorUserId) {
100 this.creatorUserId = creatorUserId;
103 public String getCreatorFullName() {
104 return creatorFullName;
107 public void setCreatorFullName(String creatorFullName) {
108 this.creatorFullName = creatorFullName;
111 public String getLastUpdaterUserId() {
112 return lastUpdaterUserId;
115 public void setLastUpdaterUserId(String lastUpdaterUserId) {
116 this.lastUpdaterUserId = lastUpdaterUserId;
119 public String getLastUpdaterFullName() {
120 return lastUpdaterFullName;
123 public void setLastUpdaterFullName(String lastUpdaterFullName) {
124 this.lastUpdaterFullName = lastUpdaterFullName;
127 public String getVersion() {
131 public void setVersion(String version) {
132 this.version = version;
135 public String getCreationDate() {
139 public void setCreationDate(String creationDate) {
140 this.creationDate = creationDate;
143 public String getIcon() {
147 public void setIcon(String icon) {
151 public String getName() {
155 public void setName(String name) {
159 public String getDescription() {
163 public void setDescription(String description) {
164 this.description = description;
167 public ArrayList<String> getTags() {
171 public void setTags(ArrayList<String> tags) {
175 public String getUniqueId() {
179 public void setUniqueId(String uniqueId) {
180 this.uniqueId = uniqueId;
183 public String getLastUpdateDate() {
184 return lastUpdateDate;
187 public void setLastUpdateDate(String lastUpdateDate) {
188 this.lastUpdateDate = lastUpdateDate;
191 public String getContactId() {
195 public void setContactId(String contactId) {
196 this.contactId = contactId;
199 public String getVendorName() {
203 public void setVendorName(String vendorName) {
204 this.vendorName = vendorName;
207 public String getVendorRelease() {
208 return vendorRelease;
211 public void setVendorRelease(String vendorRelease) {
212 this.vendorRelease = vendorRelease;
215 public String getLifecycleState() {
216 return lifecycleState;
219 public void setLifecycleState(String lifecycleState) {
220 this.lifecycleState = lifecycleState;
223 public String getHighestVersion() {
224 return highestVersion;
227 public void setHighestVersion(String highest) {
228 this.highestVersion = highest;
231 public ArrayList<String> getArtifacts() {
235 public void setArtifacts(ArrayList<String> artifacts) {
236 this.artifacts = artifacts;
239 public ArrayList<String> getResourceInstances() {
240 return ResourceInstances;
243 public void setResourceInstances(ArrayList<String> resourceInstances) {
244 ResourceInstances = resourceInstances;
247 public ArrayList<String> getResourceInstancesRelations() {
248 return ResourceInstancesRelations;
251 public void setResourceInstancesRelations(ArrayList<String> resourceInstancesRelations) {
252 ResourceInstancesRelations = resourceInstancesRelations;
256 public String toString() {
257 return "ServiceRespJavaObject [category=" + category + ", creatorUserId=" + creatorUserId + ", creatorFullName="
258 + creatorFullName + ", lastUpdaterUserId=" + lastUpdaterUserId + ", lastUpdaterFullName="
259 + lastUpdaterFullName + ", serviceName=" + serviceName + ", version=" + version + ", creationDate="
260 + creationDate + ", icon=" + icon + ", name=" + name + ", description=" + description + ", tags=" + tags
261 + ", uniqueId=" + uniqueId + ", lastUpdateDate=" + lastUpdateDate + ", contactId=" + contactId
262 + ", vendorName=" + vendorName + ", vendorRelease=" + vendorRelease + ", lifecycleState="
263 + lifecycleState + ", lifecycleState=" + lifecycleState + ", artifacts=" + artifacts
264 + ", ResourceInstances=" + ResourceInstances + ", ResourceInstancesRelations="
265 + ResourceInstancesRelations + "]";