Added oparent to sdc main
[sdc.git] / ui-ci / src / main / java / org / openecomp / sdc / ci / tests / datatypes / PortMirrioringConfigurationObject.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.sdc.ci.tests.datatypes;
22
23 import org.openecomp.sdc.be.model.Service;
24
25 import java.util.HashMap;
26 import java.util.Map;
27
28 public class PortMirrioringConfigurationObject {
29
30     private ServiceReqDetails serviceReqDetails;
31     private String vmmeSourceName;
32     private String vprobeSourceName;
33     private CanvasManager canvasManager;
34     private CanvasElement serviceElementVmmeSourceName;
35     private CanvasElement serviceElementVprobeCollector;
36     private  CanvasElement portMirroringConfigurationElement;
37     private Service service;
38     private Service serviceContainerVmme_Source;
39     private Service serviceContainerVprobe_Collector;
40     private Map<String, String> capPropValues = new HashMap<>();
41
42     public Map<String, String> getCapPropValues() {
43         return capPropValues;
44     }
45
46     public void setCapPropValues(Map<String, String> capPropValues) {
47         this.capPropValues = capPropValues;
48     }
49
50
51
52     public PortMirrioringConfigurationObject(ServiceReqDetails serviceReqDetails, String vmmeSourceName, String vprobeSourceName,
53                                              CanvasManager canvasManager, CanvasElement serviceElementVmmeSourceName,
54                                              CanvasElement serviceElementVprobeCollector, Service service, CanvasElement portMirroringConfigurationElement,
55                                              Service serviceContainerVmme_Source, Service serviceContainerVprobe_Collector )
56     {
57         this.serviceReqDetails = serviceReqDetails;
58         this.vmmeSourceName = vmmeSourceName;
59         this.vprobeSourceName = vprobeSourceName;
60         this.canvasManager = canvasManager;
61         this.serviceElementVmmeSourceName = serviceElementVmmeSourceName;
62         this.serviceElementVprobeCollector = serviceElementVprobeCollector;
63         this.service = service;
64         this.portMirroringConfigurationElement = portMirroringConfigurationElement;
65         this.serviceContainerVmme_Source = serviceContainerVmme_Source;
66         this.serviceContainerVprobe_Collector = serviceContainerVprobe_Collector;
67     }
68
69     public Service getServiceContainerVmme_Source() {
70         return serviceContainerVmme_Source;
71     }
72
73     public Service getServiceContainerVprobe_Collector() {
74         return serviceContainerVprobe_Collector;
75     }
76
77     public CanvasElement getPortMirroringConfigurationElement() {
78         return portMirroringConfigurationElement;
79     }
80
81     public ServiceReqDetails getServiceReqDetails() {
82         return serviceReqDetails;
83     }
84
85     public String getVmmeSourceName() {
86         return vmmeSourceName;
87     }
88
89     public String getVprobeSourceName() {
90         return vprobeSourceName;
91     }
92
93     public CanvasManager getCanvasManager() {
94         return canvasManager;
95     }
96
97     public CanvasElement getServiceElementVmmeSourceName() {
98         return serviceElementVmmeSourceName;
99     }
100
101     public CanvasElement getServiceElementVprobeCollector() {
102         return serviceElementVprobeCollector;
103     }
104
105     public Service getService() {
106         return service;
107     }
108 }