Added the "@Override" annotation 35/19235/3
authorRamanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
Tue, 17 Oct 2017 09:41:59 +0000 (15:11 +0530)
committerRamanjaneya Reddy <ramanjaneya.palleti@huawei.com>
Wed, 18 Oct 2017 11:20:36 +0000 (11:20 +0000)
Issue-id: SO-224
Change-Id: I98e6b2de01514f2e2c705c9f880057bb977ff075
Signed-off-by: Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/MsoRequest.java

index 72f8810..c3912b4 100644 (file)
-/*-\r
- * ============LICENSE_START=======================================================\r
- * ONAP - SO\r
- * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ============LICENSE_END=========================================================\r
- */\r
-\r
-package org.openecomp.mso.bpmn.common.adapter.vnf;\r
-\r
-import javax.xml.bind.annotation.XmlAccessType;\r
-import javax.xml.bind.annotation.XmlAccessorType;\r
-import javax.xml.bind.annotation.XmlType;\r
-\r
-\r
-/**\r
- * <p>Java class for msoRequest complex type.\r
- * \r
- * <p>The following schema fragment specifies the expected content contained within this class.\r
- * \r
- * <pre>\r
- * &lt;complexType name="msoRequest">\r
- *   &lt;complexContent>\r
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">\r
- *       &lt;sequence>\r
- *         &lt;element name="requestId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>\r
- *         &lt;element name="serviceInstanceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>\r
- *       &lt;/sequence>\r
- *     &lt;/restriction>\r
- *   &lt;/complexContent>\r
- * &lt;/complexType>\r
- * </pre>\r
- * \r
- * \r
- */\r
-@XmlAccessorType(XmlAccessType.FIELD)\r
-@XmlType(name = "msoRequest", propOrder = {\r
-    "requestId",\r
-    "serviceInstanceId"\r
-})\r
-public class MsoRequest {\r
-\r
-    protected String requestId;\r
-    protected String serviceInstanceId;\r
-\r
-    /**\r
-     * Gets the value of the requestId property.\r
-     * \r
-     * @return\r
-     *     possible object is\r
-     *     {@link String }\r
-     *     \r
-     */\r
-    public String getRequestId() {\r
-        return requestId;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the requestId property.\r
-     * \r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link String }\r
-     *     \r
-     */\r
-    public void setRequestId(String value) {\r
-        this.requestId = value;\r
-    }\r
-\r
-    /**\r
-     * Gets the value of the serviceInstanceId property.\r
-     * \r
-     * @return\r
-     *     possible object is\r
-     *     {@link String }\r
-     *     \r
-     */\r
-    public String getServiceInstanceId() {\r
-        return serviceInstanceId;\r
-    }\r
-\r
-    /**\r
-     * Sets the value of the serviceInstanceId property.\r
-     * \r
-     * @param value\r
-     *     allowed object is\r
-     *     {@link String }\r
-     *     \r
-     */\r
-    public void setServiceInstanceId(String value) {\r
-        this.serviceInstanceId = value;\r
-    }\r
-    \r
-    public String toString() {\r
-       String request = "";\r
-       request =\r
-       "<requestId>"+requestId+"</requestId>" + '\n' +\r
-       "<serviceInstanceId>"+serviceInstanceId+"</serviceInstanceId>";\r
-       return request; \r
-    }\r
-\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.mso.bpmn.common.adapter.vnf;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for msoRequest complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="msoRequest">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="requestId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="serviceInstanceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "msoRequest", propOrder = {
+    "requestId",
+    "serviceInstanceId"
+})
+public class MsoRequest {
+
+    protected String requestId;
+    protected String serviceInstanceId;
+
+    /**
+     * Gets the value of the requestId property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getRequestId() {
+        return requestId;
+    }
+
+    /**
+     * Sets the value of the requestId property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setRequestId(String value) {
+        this.requestId = value;
+    }
+
+    /**
+     * Gets the value of the serviceInstanceId property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getServiceInstanceId() {
+        return serviceInstanceId;
+    }
+
+    /**
+     * Sets the value of the serviceInstanceId property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setServiceInstanceId(String value) {
+        this.serviceInstanceId = value;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder request = new StringBuilder();
+        request.append("<requestId>"+requestId+"</requestId>");
+        request.append('\n');
+        request.append("<serviceInstanceId>"+serviceInstanceId+"</serviceInstanceId>");
+        return request.toString();
+    }
+
+}