Change the header to SO
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / bpmn / common / adapter / vnf / MsoRequest.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 package org.openecomp.mso.bpmn.common.adapter.vnf;\r
22 \r
23 import javax.xml.bind.annotation.XmlAccessType;\r
24 import javax.xml.bind.annotation.XmlAccessorType;\r
25 import javax.xml.bind.annotation.XmlType;\r
26 \r
27 \r
28 /**\r
29  * <p>Java class for msoRequest complex type.\r
30  * \r
31  * <p>The following schema fragment specifies the expected content contained within this class.\r
32  * \r
33  * <pre>\r
34  * &lt;complexType name="msoRequest">\r
35  *   &lt;complexContent>\r
36  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">\r
37  *       &lt;sequence>\r
38  *         &lt;element name="requestId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>\r
39  *         &lt;element name="serviceInstanceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>\r
40  *       &lt;/sequence>\r
41  *     &lt;/restriction>\r
42  *   &lt;/complexContent>\r
43  * &lt;/complexType>\r
44  * </pre>\r
45  * \r
46  * \r
47  */\r
48 @XmlAccessorType(XmlAccessType.FIELD)\r
49 @XmlType(name = "msoRequest", propOrder = {\r
50     "requestId",\r
51     "serviceInstanceId"\r
52 })\r
53 public class MsoRequest {\r
54 \r
55     protected String requestId;\r
56     protected String serviceInstanceId;\r
57 \r
58     /**\r
59      * Gets the value of the requestId property.\r
60      * \r
61      * @return\r
62      *     possible object is\r
63      *     {@link String }\r
64      *     \r
65      */\r
66     public String getRequestId() {\r
67         return requestId;\r
68     }\r
69 \r
70     /**\r
71      * Sets the value of the requestId property.\r
72      * \r
73      * @param value\r
74      *     allowed object is\r
75      *     {@link String }\r
76      *     \r
77      */\r
78     public void setRequestId(String value) {\r
79         this.requestId = value;\r
80     }\r
81 \r
82     /**\r
83      * Gets the value of the serviceInstanceId property.\r
84      * \r
85      * @return\r
86      *     possible object is\r
87      *     {@link String }\r
88      *     \r
89      */\r
90     public String getServiceInstanceId() {\r
91         return serviceInstanceId;\r
92     }\r
93 \r
94     /**\r
95      * Sets the value of the serviceInstanceId property.\r
96      * \r
97      * @param value\r
98      *     allowed object is\r
99      *     {@link String }\r
100      *     \r
101      */\r
102     public void setServiceInstanceId(String value) {\r
103         this.serviceInstanceId = value;\r
104     }\r
105     \r
106     public String toString() {\r
107         String request = "";\r
108         request =\r
109        "<requestId>"+requestId+"</requestId>" + '\n' +\r
110        "<serviceInstanceId>"+serviceInstanceId+"</serviceInstanceId>";\r
111         return request; \r
112     }\r
113 \r
114 }\r