2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 * ============LICENSE_END=========================================================
24 package org.onap.sdnc.config.audit.node;
29 public class Parameters
34 public String getPayloadX() {
37 public void setPayloadX(String payloadX) {
38 this.payloadX = payloadX;
43 public String getPayloadXtype() {
46 public void setPayloadXtype(String payloadXtype) {
47 this.payloadXtype = payloadXtype;
52 public String getPayloadY() {
55 public void setPayloadY(String payloadY) {
56 this.payloadY = payloadY;
61 public String getPayloadYtype() {
64 public void setPayloadYtype(String payloadYtype) {
65 this.payloadYtype = payloadYtype;
68 String compareDataType;
70 public String getCompareDataType() {
71 return compareDataType;
73 public void setCompareDataType(String compareDataType) {
74 this.compareDataType = compareDataType;
79 public String getCompareType() {
82 public void setCompareType(String compareType) {
83 this.compareType = compareType;
86 String requestIdentifier;
88 public String getRequestIdentifier() {
89 return requestIdentifier;
91 public void setRequestIdentifier(String requestIdentifier) {
92 this.requestIdentifier = requestIdentifier;
94 public Parameters(Map<String, String> inParams)
96 this.compareType = inParams.get("compareType");
97 this.compareDataType = inParams.get("compareDataType");
98 this.payloadX= inParams.get("sourceData");
99 this.payloadY= inParams.get("targetData");
100 this.payloadXtype = inParams.get("sourceDataType");
101 this.payloadYtype = inParams.get("targetDataType");
102 this.requestIdentifier = inParams.get("requestIdentifier");