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.onap.so.serviceinstancebeans;
23 import org.apache.commons.lang3.builder.ToStringBuilder;
25 import com.fasterxml.jackson.annotation.JsonInclude;
26 import com.fasterxml.jackson.annotation.JsonInclude.Include;
28 @JsonInclude(Include.NON_DEFAULT)
29 public class InstanceReferences {
31 protected String serviceInstanceId;
32 protected String serviceInstanceName;
33 protected String vnfInstanceId;
34 protected String vnfInstanceName;
35 protected String vfModuleInstanceId;
36 protected String vfModuleInstanceName;
37 protected String volumeGroupInstanceId;
38 protected String volumeGroupInstanceName;
39 protected String networkInstanceId;
40 protected String networkInstanceName;
41 protected String requestorId;
44 public String getServiceInstanceId() {
45 return serviceInstanceId;
47 public void setServiceInstanceId(String serviceInstanceId) {
48 this.serviceInstanceId = serviceInstanceId;
50 public String getServiceInstanceName() {
51 return serviceInstanceName;
53 public void setServiceInstanceName(String serviceInstanceName) {
54 this.serviceInstanceName = serviceInstanceName;
56 public String getVnfInstanceId() {
59 public void setVnfInstanceId(String vnfInstanceId) {
60 this.vnfInstanceId = vnfInstanceId;
62 public String getVnfInstanceName() {
63 return vnfInstanceName;
65 public void setVnfInstanceName(String vnfInstanceName) {
66 this.vnfInstanceName = vnfInstanceName;
68 public String getVfModuleInstanceId() {
69 return vfModuleInstanceId;
71 public void setVfModuleInstanceId(String vfModuleInstanceId) {
72 this.vfModuleInstanceId = vfModuleInstanceId;
74 public String getVfModuleInstanceName() {
75 return vfModuleInstanceName;
77 public void setVfModuleInstanceName(String vfModuleInstanceName) {
78 this.vfModuleInstanceName = vfModuleInstanceName;
80 public String getVolumeGroupInstanceId() {
81 return volumeGroupInstanceId;
83 public void setVolumeGroupInstanceId(String volumeGroupInstanceId) {
84 this.volumeGroupInstanceId = volumeGroupInstanceId;
86 public String getVolumeGroupInstanceName() {
87 return volumeGroupInstanceName;
89 public void setVolumeGroupInstanceName(String volumeGroupInstanceName) {
90 this.volumeGroupInstanceName = volumeGroupInstanceName;
92 public String getNetworkInstanceId() {
93 return networkInstanceId;
95 public void setNetworkInstanceId(String networkInstanceId) {
96 this.networkInstanceId = networkInstanceId;
98 public String getNetworkInstanceName() {
99 return networkInstanceName;
101 public void setNetworkInstanceName(String networkInstanceName) {
102 this.networkInstanceName = networkInstanceName;
105 public String getRequestorId() {
109 public void setRequestorId(String requestorId) {
110 this.requestorId = requestorId;
113 public String toString() {
114 return new ToStringBuilder(this).append("serviceInstanceId", serviceInstanceId)
115 .append("serviceInstanceName", serviceInstanceName).append("vnfInstanceId", vnfInstanceId)
116 .append("vnfInstanceName", vnfInstanceName).append("vfModuleInstanceId", vfModuleInstanceId)
117 .append("vfModuleInstanceName", vfModuleInstanceName)
118 .append("volumeGroupInstanceId", volumeGroupInstanceId)
119 .append("volumeGroupInstanceName", volumeGroupInstanceName)
120 .append("networkInstanceId", networkInstanceId).append("networkInstanceName", networkInstanceName)
121 .append("requestorId", requestorId).toString();