Merge "Pass error message in the exception when thrown from CDS-Adapter"
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / bpmn / servicedecomposition / entities / WorkflowResourceIds.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2018 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Modifications Copyright (c) 2019 Nokia
8  * ================================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.onap.so.bpmn.servicedecomposition.entities;
24
25 import java.io.Serializable;
26 import org.apache.commons.lang3.builder.ToStringBuilder;
27
28 public class WorkflowResourceIds implements Serializable {
29
30     /**
31      * 
32      */
33     private static final long serialVersionUID = 8591599114353940105L;
34     private String serviceInstanceId;
35     private String pnfId;
36     private String vnfId;
37     private String networkId;
38     private String volumeGroupId;
39     private String vfModuleId;
40     private String networkCollectionId;
41     private String configurationId;
42     private String instanceGroupId;
43
44     @Override
45     public String toString() {
46         return new ToStringBuilder(this).append("serviceInstanceId", serviceInstanceId).append("pnfId", pnfId)
47                 .append("vnfId", vnfId).append("networkId", networkId).append("volumeGroupId", volumeGroupId)
48                 .append("vfModuleId", vfModuleId).append("networkCollectionId", networkCollectionId)
49                 .append("configurationId", configurationId).toString();
50     }
51
52     public String getServiceInstanceId() {
53         return serviceInstanceId;
54     }
55
56     public void setServiceInstanceId(String serviceInstanceId) {
57         this.serviceInstanceId = serviceInstanceId;
58     }
59
60     public String getPnfId() {
61         return pnfId;
62     }
63
64     public void setPnfId(String pnfId) {
65         this.pnfId = pnfId;
66     }
67
68     public String getVnfId() {
69         return vnfId;
70     }
71
72     public void setVnfId(String vnfId) {
73         this.vnfId = vnfId;
74     }
75
76     public String getNetworkId() {
77         return networkId;
78     }
79
80     public void setNetworkId(String networkId) {
81         this.networkId = networkId;
82     }
83
84     public String getVolumeGroupId() {
85         return volumeGroupId;
86     }
87
88     public void setVolumeGroupId(String volumeGroupId) {
89         this.volumeGroupId = volumeGroupId;
90     }
91
92     public String getVfModuleId() {
93         return vfModuleId;
94     }
95
96     public void setVfModuleId(String vfModuleId) {
97         this.vfModuleId = vfModuleId;
98     }
99
100     public String getNetworkCollectionId() {
101         return networkCollectionId;
102     }
103
104     public void setNetworkCollectionId(String networkCollectionId) {
105         this.networkCollectionId = networkCollectionId;
106     }
107
108     public String getConfigurationId() {
109         return configurationId;
110     }
111
112     public void setConfigurationId(String configurationId) {
113         this.configurationId = configurationId;
114     }
115
116     public String getInstanceGroupId() {
117         return instanceGroupId;
118     }
119
120     public void setInstanceGroupId(String instanceGroupId) {
121         this.instanceGroupId = instanceGroupId;
122     }
123 }