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.onap.so.adapters.sdnc;
24 import javax.xml.bind.annotation.XmlAccessType;
25 import javax.xml.bind.annotation.XmlAccessorType;
26 import javax.xml.bind.annotation.XmlElement;
27 import javax.xml.bind.annotation.XmlRootElement;
28 import javax.xml.bind.annotation.XmlType;
32 * <p>Java class for anonymous complex type.
34 * <p>The following schema fragment specifies the expected content contained within this class.
39 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 * <element name="RequestId" type="{http://www.w3.org/2001/XMLSchema}string"/>
42 * <element name="SvcInstanceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
43 * <element name="SvcAction" type="{http://www.w3.org/2001/XMLSchema}string"/>
44 * <element name="SvcOperation" type="{http://www.w3.org/2001/XMLSchema}string"/>
45 * <element name="CallbackUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
48 * </complexContent>
54 //BPEL to SDNCAdapter request header
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "", propOrder = {
64 @XmlRootElement(name = "RequestHeader")
65 public class RequestHeader {
67 @XmlElement(name = "RequestId", required = true)
68 protected String requestId;
69 @XmlElement(name = "SvcInstanceId")
70 protected String svcInstanceId;
71 @XmlElement(name = "SvcAction", required = true)
72 protected String svcAction;
73 @XmlElement(name = "SvcOperation", required = true)
74 protected String svcOperation;
75 @XmlElement(name = "CallbackUrl", required = true)
76 protected String callbackUrl;
77 @XmlElement(name = "MsoAction")
78 protected String msoAction;
81 * Gets the value of the requestId property.
88 public String getRequestId() {
93 * Sets the value of the requestId property.
100 public void setRequestId(String value) {
101 this.requestId = value;
104 public String getSvcInstanceId() {
105 return svcInstanceId;
108 public void setSvcInstanceId(String svcInstanceId) {
109 this.svcInstanceId = svcInstanceId;
113 * Gets the value of the svcAction property.
120 public String getSvcAction() {
125 * Sets the value of the svcAction property.
132 public void setSvcAction(String value) {
133 this.svcAction = value;
137 * Gets the value of the svcOperation property.
144 public String getSvcOperation() {
149 * Sets the value of the svcOperation property.
156 public void setSvcOperation(String value) {
157 this.svcOperation = value;
161 * Gets the value of the callbackUrl property.
168 public String getCallbackUrl() {
173 * Sets the value of the callbackUrl property.
180 public void setCallbackUrl(String value) {
181 this.callbackUrl = value;
185 * Gets the value of the callbackUrl property.
192 public String getMsoAction() {
197 * Sets the value of the callbackUrl property.
204 public void setMsoAction(String value) {
205 this.msoAction = value;
210 public String toString() {
211 return "RequestHeader [requestId=" + requestId +
212 ", svcInstanceId=" + svcInstanceId +
213 ", svcAction=" + svcAction +
214 ", svcOperation=" + svcOperation +
215 ", callbackUrl=" + callbackUrl +
216 ", msoAction=" + msoAction + "]";