8588bfbc5e290c35075866dee15c07395cb3661e
[appc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
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  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.onap.sdnc.config.audit.node;
26
27
28 import java.util.Map;
29
30 public class Parameters
31 {
32
33     String payloadX ;
34
35     public String getPayloadX() {
36         return payloadX;
37     }
38     public void setPayloadX(String payloadX) {
39         this.payloadX = payloadX;
40     }
41
42     String payloadXtype;
43
44     public String getPayloadXtype() {
45         return payloadXtype;
46     }
47     public void setPayloadXtype(String payloadXtype) {
48         this.payloadXtype = payloadXtype;
49     }
50
51     String payloadY ;
52
53     public String getPayloadY() {
54         return payloadY;
55     }
56     public void setPayloadY(String payloadY) {
57         this.payloadY = payloadY;
58     }
59
60     String payloadYtype;
61
62     public String getPayloadYtype() {
63         return payloadYtype;
64     }
65     public void setPayloadYtype(String payloadYtype) {
66         this.payloadYtype = payloadYtype;
67     }
68
69     String compareDataType;
70
71     public String getCompareDataType() {
72         return compareDataType;
73     }
74     public void setCompareDataType(String compareDataType) {
75         this.compareDataType = compareDataType;
76     }
77
78     String compareType;
79
80     public String getCompareType() {
81         return compareType;
82     }
83     public void setCompareType(String compareType) {
84         this.compareType = compareType;
85     }
86
87     String requestIdentifier;
88
89     public String getRequestIdentifier() {
90         return requestIdentifier;
91     }
92     public void setRequestIdentifier(String requestIdentifier) {
93         this.requestIdentifier = requestIdentifier;
94     }
95     public Parameters(Map<String, String> inParams)
96     {
97         this.compareType = inParams.get("compareType");
98         this.compareDataType = inParams.get("compareDataType");
99         this.payloadX= inParams.get("sourceData");
100         this.payloadY= inParams.get("targetData");
101         this.payloadXtype = inParams.get("sourceDataType");
102         this.payloadYtype = inParams.get("targetDataType");
103         this.requestIdentifier = inParams.get("requestIdentifier");
104
105     }
106 }