Merge "CDS client gRPC SSL/TLS support"
[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
45     public WorkflowResourceIds() {
46         super();
47     }
48
49     public WorkflowResourceIds(WorkflowResourceIds workflowResourceIds) {
50         this.serviceInstanceId = workflowResourceIds.serviceInstanceId;
51         this.pnfId = workflowResourceIds.pnfId;
52         this.vnfId = workflowResourceIds.vnfId;
53         this.networkId = workflowResourceIds.networkId;
54         this.volumeGroupId = workflowResourceIds.volumeGroupId;
55         this.vfModuleId = workflowResourceIds.vfModuleId;
56         this.networkCollectionId = workflowResourceIds.networkCollectionId;
57         this.configurationId = workflowResourceIds.configurationId;
58         this.instanceGroupId = workflowResourceIds.instanceGroupId;
59     }
60
61
62     @Override
63     public String toString() {
64         return new ToStringBuilder(this).append("serviceInstanceId", serviceInstanceId).append("pnfId", pnfId)
65                 .append("vnfId", vnfId).append("networkId", networkId).append("volumeGroupId", volumeGroupId)
66                 .append("vfModuleId", vfModuleId).append("networkCollectionId", networkCollectionId)
67                 .append("configurationId", configurationId).append("instanceGroupId", instanceGroupId).toString();
68     }
69
70
71     public String getServiceInstanceId() {
72         return serviceInstanceId;
73     }
74
75     public void setServiceInstanceId(String serviceInstanceId) {
76         this.serviceInstanceId = serviceInstanceId;
77     }
78
79     public String getPnfId() {
80         return pnfId;
81     }
82
83     public void setPnfId(String pnfId) {
84         this.pnfId = pnfId;
85     }
86
87     public String getVnfId() {
88         return vnfId;
89     }
90
91     public void setVnfId(String vnfId) {
92         this.vnfId = vnfId;
93     }
94
95     public String getNetworkId() {
96         return networkId;
97     }
98
99     public void setNetworkId(String networkId) {
100         this.networkId = networkId;
101     }
102
103     public String getVolumeGroupId() {
104         return volumeGroupId;
105     }
106
107     public void setVolumeGroupId(String volumeGroupId) {
108         this.volumeGroupId = volumeGroupId;
109     }
110
111     public String getVfModuleId() {
112         return vfModuleId;
113     }
114
115     public void setVfModuleId(String vfModuleId) {
116         this.vfModuleId = vfModuleId;
117     }
118
119     public String getNetworkCollectionId() {
120         return networkCollectionId;
121     }
122
123     public void setNetworkCollectionId(String networkCollectionId) {
124         this.networkCollectionId = networkCollectionId;
125     }
126
127     public String getConfigurationId() {
128         return configurationId;
129     }
130
131     public void setConfigurationId(String configurationId) {
132         this.configurationId = configurationId;
133     }
134
135     public String getInstanceGroupId() {
136         return instanceGroupId;
137     }
138
139     public void setInstanceGroupId(String instanceGroupId) {
140         this.instanceGroupId = instanceGroupId;
141     }
142 }