Refactor ErrorLogHelper
[aai/aai-common.git] / aai-els-onap-logging / src / main / java / org / onap / aai / domain / restServiceException / Fault.java
diff --git a/aai-els-onap-logging/src/main/java/org/onap/aai/domain/restServiceException/Fault.java b/aai-els-onap-logging/src/main/java/org/onap/aai/domain/restServiceException/Fault.java
deleted file mode 100644 (file)
index 36a8cb7..0000000
+++ /dev/null
@@ -1,372 +0,0 @@
-/**
- * ============LICENSE_START=======================================================
- * org.onap.aai
- * ================================================================================
- * Copyright © 2017-2018 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=========================================================
- */
-//
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
-// Any modifications to this file will be lost upon recompilation of the source schema.
-// Generated on: 2015.02.11 at 04:54:29 PM EST
-//
-
-package org.onap.aai.domain.restServiceException;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.xml.bind.annotation.*;
-
-/**
- * <p>
- * Java class for anonymous complex type.
- *
- * <p>
- * The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * &lt;complexType>
- *   &lt;complexContent>
- *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       &lt;sequence>
- *         &lt;element name="requestError">
- *           &lt;complexType>
- *             &lt;complexContent>
- *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 &lt;sequence>
- *                   &lt;element name="serviceException">
- *                     &lt;complexType>
- *                       &lt;complexContent>
- *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                           &lt;sequence>
- *                             &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                             &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                             &lt;element name="variables">
- *                               &lt;complexType>
- *                                 &lt;complexContent>
- *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                     &lt;sequence>
- *                                       &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *                                     &lt;/sequence>
- *                                   &lt;/restriction>
- *                                 &lt;/complexContent>
- *                               &lt;/complexType>
- *                             &lt;/element>
- *                           &lt;/sequence>
- *                         &lt;/restriction>
- *                       &lt;/complexContent>
- *                     &lt;/complexType>
- *                   &lt;/element>
- *                 &lt;/sequence>
- *               &lt;/restriction>
- *             &lt;/complexContent>
- *           &lt;/complexType>
- *         &lt;/element>
- *       &lt;/sequence>
- *     &lt;/restriction>
- *   &lt;/complexContent>
- * &lt;/complexType>
- * </pre>
- *
- *
- */
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {"requestError"})
-@XmlRootElement(name = "Fault")
-public class Fault {
-
-    @XmlElement(required = true)
-    protected RequestError requestError;
-
-    /**
-     * Gets the value of the requestError property.
-     *
-     * @return
-     *         possible object is
-     *         {@link RequestError }
-     *
-     */
-    public RequestError getRequestError() {
-        return requestError;
-    }
-
-    /**
-     * Sets the value of the requestError property.
-     *
-     * @param value
-     *        allowed object is
-     *        {@link RequestError }
-     *
-     */
-    public void setRequestError(RequestError value) {
-        this.requestError = value;
-    }
-
-    /**
-     * <p>
-     * Java class for anonymous complex type.
-     *
-     * <p>
-     * The following schema fragment specifies the expected content contained within this class.
-     *
-     * <pre>
-     * &lt;complexType>
-     *   &lt;complexContent>
-     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       &lt;sequence>
-     *         &lt;element name="serviceException">
-     *           &lt;complexType>
-     *             &lt;complexContent>
-     *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 &lt;sequence>
-     *                   &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                   &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *                   &lt;element name="variables">
-     *                     &lt;complexType>
-     *                       &lt;complexContent>
-     *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           &lt;sequence>
-     *                             &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
-     *                           &lt;/sequence>
-     *                         &lt;/restriction>
-     *                       &lt;/complexContent>
-     *                     &lt;/complexType>
-     *                   &lt;/element>
-     *                 &lt;/sequence>
-     *               &lt;/restriction>
-     *             &lt;/complexContent>
-     *           &lt;/complexType>
-     *         &lt;/element>
-     *       &lt;/sequence>
-     *     &lt;/restriction>
-     *   &lt;/complexContent>
-     * &lt;/complexType>
-     * </pre>
-     *
-     *
-     */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {"serviceException"})
-    public static class RequestError {
-
-        @XmlElement(required = true)
-        protected ServiceException serviceException;
-
-        /**
-         * Gets the value of the serviceException property.
-         *
-         * @return
-         *         possible object is
-         *         {@link ServiceException }
-         *
-         */
-        public ServiceException getServiceException() {
-            return serviceException;
-        }
-
-        /**
-         * Sets the value of the serviceException property.
-         *
-         * @param value
-         *        allowed object is
-         *        {@link ServiceException }
-         *
-         */
-        public void setServiceException(ServiceException value) {
-            this.serviceException = value;
-        }
-
-        /**
-         * <p>
-         * Java class for anonymous complex type.
-         *
-         * <p>
-         * The following schema fragment specifies the expected content contained within this class.
-         *
-         * <pre>
-         * &lt;complexType>
-         *   &lt;complexContent>
-         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       &lt;sequence>
-         *         &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *         &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
-         *         &lt;element name="variables">
-         *           &lt;complexType>
-         *             &lt;complexContent>
-         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 &lt;sequence>
-         *                   &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
-         *                 &lt;/sequence>
-         *               &lt;/restriction>
-         *             &lt;/complexContent>
-         *           &lt;/complexType>
-         *         &lt;/element>
-         *       &lt;/sequence>
-         *     &lt;/restriction>
-         *   &lt;/complexContent>
-         * &lt;/complexType>
-         * </pre>
-         *
-         *
-         */
-        @XmlAccessorType(XmlAccessType.FIELD)
-        @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
-        public static class ServiceException {
-
-            @XmlElement(required = true)
-            protected String messageId;
-            @XmlElement(required = true)
-            protected String text;
-            @XmlElement(required = true)
-            protected Variables variables;
-
-            /**
-             * Gets the value of the messageId property.
-             *
-             * @return
-             *         possible object is
-             *         {@link String }
-             *
-             */
-            public String getMessageId() {
-                return messageId;
-            }
-
-            /**
-             * Sets the value of the messageId property.
-             *
-             * @param value
-             *        allowed object is
-             *        {@link String }
-             *
-             */
-            public void setMessageId(String value) {
-                this.messageId = value;
-            }
-
-            /**
-             * Gets the value of the text property.
-             *
-             * @return
-             *         possible object is
-             *         {@link String }
-             *
-             */
-            public String getText() {
-                return text;
-            }
-
-            /**
-             * Sets the value of the text property.
-             *
-             * @param value
-             *        allowed object is
-             *        {@link String }
-             *
-             */
-            public void setText(String value) {
-                this.text = value;
-            }
-
-            /**
-             * Gets the value of the variables property.
-             *
-             * @return
-             *         possible object is
-             *         {@link Variables }
-             *
-             */
-            public Variables getVariables() {
-                return variables;
-            }
-
-            /**
-             * Sets the value of the variables property.
-             *
-             * @param value
-             *        allowed object is
-             *        {@link Variables }
-             *
-             */
-            public void setVariables(Variables value) {
-                this.variables = value;
-            }
-
-            /**
-             * <p>
-             * Java class for anonymous complex type.
-             *
-             * <p>
-             * The following schema fragment specifies the expected content contained within this class.
-             *
-             * <pre>
-             * &lt;complexType>
-             *   &lt;complexContent>
-             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       &lt;sequence>
-             *         &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
-             *       &lt;/sequence>
-             *     &lt;/restriction>
-             *   &lt;/complexContent>
-             * &lt;/complexType>
-             * </pre>
-             *
-             *
-             */
-            @XmlAccessorType(XmlAccessType.FIELD)
-            @XmlType(name = "", propOrder = {"variable"})
-            public static class Variables {
-
-                protected List<String> variable;
-
-                /**
-                 * Gets the value of the variable property.
-                 *
-                 * <p>
-                 * This accessor method returns a reference to the live list,
-                 * not a snapshot. Therefore any modification you make to the
-                 * returned list will be present inside the JAXB object.
-                 * This is why there is not a <CODE>set</CODE> method for the variable property.
-                 *
-                 * <p>
-                 * For example, to add a new item, do as follows:
-                 *
-                 * <pre>
-                 * getVariable().add(newItem);
-                 * </pre>
-                 *
-                 *
-                 * <p>
-                 * Objects of the following type(s) are allowed in the list
-                 * {@link String }
-                 *
-                 * @return the variable
-                 */
-                public List<String> getVariable() {
-                    if (variable == null) {
-                        variable = new ArrayList<String>();
-                    }
-                    return this.variable;
-                }
-
-            }
-
-        }
-
-    }
-
-}