2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 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 public class VendorSoftwareProductObject extends VendorSoftwareProductObjectReqDetails {
26 private String componentId;
27 private String attContact;
28 private String version;
30 public VendorSoftwareProductObject(){super();}
32 public VendorSoftwareProductObject(String vspId, String componentId, String attContact, String version) {
34 this.componentId = componentId;
35 this.attContact = attContact;
36 this.version = version;
39 public VendorSoftwareProductObject(String name, String description, String category, String subCategory, String vendorId, String vendorName, String licensingVersion, LicensingData licensingData, String onboardingMethod, String networkPackageName, String onboardingOrigin, String icon, String vspId, String componentId, String attContact, String version) {
40 super(name, description, category, subCategory, vendorId, vendorName, licensingVersion, licensingData, onboardingMethod, networkPackageName, onboardingOrigin, icon);
42 this.componentId = componentId;
43 this.attContact = attContact;
44 this.version = version;
47 public String getVspId() {
51 public void setVspId(String vspId) {
55 public String getComponentId() {
59 public void setComponentId(String componentId) {
60 this.componentId = componentId;
63 public String getAttContact() {
67 public void setAttContact(String attContact) {
68 this.attContact = attContact;
71 public String getVersion() {
75 public void setVersion(String version) {
76 this.version = version;
80 public String toString() {
81 return "VendorSoftwareProductObject{" +
82 "vspId='" + vspId + '\'' +
83 ", componentId='" + componentId + '\'' +
84 ", attContact='" + attContact + '\'' +
85 ", version='" + version + '\'' +