2 * ============LICENSE_START=======================================================
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
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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
25 package org.onap.sdnc.config.audit.node;
30 public class Parameters
35 public String getPayloadX() {
38 public void setPayloadX(String payloadX) {
39 this.payloadX = payloadX;
44 public String getPayloadXtype() {
47 public void setPayloadXtype(String payloadXtype) {
48 this.payloadXtype = payloadXtype;
53 public String getPayloadY() {
56 public void setPayloadY(String payloadY) {
57 this.payloadY = payloadY;
62 public String getPayloadYtype() {
65 public void setPayloadYtype(String payloadYtype) {
66 this.payloadYtype = payloadYtype;
69 String compareDataType;
71 public String getCompareDataType() {
72 return compareDataType;
74 public void setCompareDataType(String compareDataType) {
75 this.compareDataType = compareDataType;
80 public String getCompareType() {
83 public void setCompareType(String compareType) {
84 this.compareType = compareType;
87 String requestIdentifier;
89 public String getRequestIdentifier() {
90 return requestIdentifier;
92 public void setRequestIdentifier(String requestIdentifier) {
93 this.requestIdentifier = requestIdentifier;
95 public Parameters(Map<String, String> inParams)
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");