2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdnc.config.audit.node;
26 public class Parameters
31 public String getPayloadX() {
34 public void setPayloadX(String payloadX) {
35 this.payloadX = payloadX;
40 public String getPayloadXtype() {
43 public void setPayloadXtype(String payloadXtype) {
44 this.payloadXtype = payloadXtype;
49 public String getPayloadY() {
52 public void setPayloadY(String payloadY) {
53 this.payloadY = payloadY;
58 public String getPayloadYtype() {
61 public void setPayloadYtype(String payloadYtype) {
62 this.payloadYtype = payloadYtype;
65 String compareDataType;
67 public String getCompareDataType() {
68 return compareDataType;
70 public void setCompareDataType(String compareDataType) {
71 this.compareDataType = compareDataType;
76 public String getCompareType() {
79 public void setCompareType(String compareType) {
80 this.compareType = compareType;
83 String requestIdentifier;
85 public String getRequestIdentifier() {
86 return requestIdentifier;
88 public void setRequestIdentifier(String requestIdentifier) {
89 this.requestIdentifier = requestIdentifier;
91 public Parameters(Map<String, String> inParams)
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");