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.mso.adapters.sdnc.impl;
24 import java.io.Serializable;
26 public class SDNCResponse implements Serializable {
28 private static final long serialVersionUID = 1L;
29 private String reqId = null;
30 private int respCode = 0;
31 private String respMsg = null;
32 private String sdncRespXml = null;
34 public SDNCResponse(String reqId) {
37 public SDNCResponse(String reqId, int respCode, String respMsg) {
39 this.respCode = respCode;
40 this.respMsg = respMsg;
43 public String getReqId() {
46 public void setReqId(String reqId) {
49 public int getRespCode() {
52 public void setRespCode(int respCode) {
53 this.respCode = respCode;
55 public String getRespMsg() {
58 public void setRespMsg(String respMsg) {
59 this.respMsg = respMsg;
61 public String getSdncRespXml() {
64 public void setSdncRespXml(String sdncRespXml) {
65 this.sdncRespXml = sdncRespXml;
69 public String toString() {
70 return "SDNCResponse [reqId=" + reqId + ", respCode=" + respCode
71 + ", respMsg=" + respMsg + ", sdncRespXml=" + sdncRespXml + "]";