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