2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2019 Nordix Foundation.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.onap.so.aaisimulator.models;
22 import java.io.Serializable;
25 * @author waqas.ikram@ericsson.com
28 public class NodeServiceInstance implements Serializable {
30 private static final long serialVersionUID = -3314166327618070948L;
32 private String globalCustomerId;
33 private String serviceType;
34 private String serviceInstanceId;
35 private String resourceType;
36 private String resourceLink;
38 public NodeServiceInstance() {}
41 public NodeServiceInstance(final String globalCustomerId, final String serviceType, final String serviceInstanceId,
42 final String resourceType, final String resourceLink) {
43 this.globalCustomerId = globalCustomerId;
44 this.serviceType = serviceType;
45 this.serviceInstanceId = serviceInstanceId;
46 this.resourceType = resourceType;
47 this.resourceLink = resourceLink;
52 * @return the globalCustomerId
54 public String getGlobalCustomerId() {
55 return globalCustomerId;
60 * @param globalCustomerId the globalCustomerId to set
62 public void setGlobalCustomerId(final String globalCustomerId) {
63 this.globalCustomerId = globalCustomerId;
68 * @return the serviceType
70 public String getServiceType() {
76 * @param serviceType the serviceType to set
78 public void setServiceType(final String serviceType) {
79 this.serviceType = serviceType;
84 * @return the serviceInstanceId
86 public String getServiceInstanceId() {
87 return serviceInstanceId;
92 * @param serviceInstanceId the serviceInstanceId to set
94 public void setServiceInstanceId(final String serviceInstanceId) {
95 this.serviceInstanceId = serviceInstanceId;
100 * @return the resourceType
102 public String getResourceType() {
108 * @param resourceType the resourceType to set
110 public void setResourceType(final String resourceType) {
111 this.resourceType = resourceType;
116 * @return the resourceLink
118 public String getResourceLink() {
124 * @param resourceLink the resourceLink to set
126 public void setResourceLink(final String resourceLink) {
127 this.resourceLink = resourceLink;
132 public String toString() {
133 return "NodeServiceInstance [globalCustomerId=" + globalCustomerId + ", serviceType=" + serviceType
134 + ", serviceInstanceId=" + serviceInstanceId + ", resourceType=" + resourceType + ", resourceLink="
135 + resourceLink + "]";