36a8cb7943e3096e965ae0340ab506554163af1b
[aai/aai-common.git] / aai-els-onap-logging / src / main / java / org / onap / aai / domain / restServiceException / Fault.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 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
10  *
11  *    http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20 //
21 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
22 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
23 // Any modifications to this file will be lost upon recompilation of the source schema.
24 // Generated on: 2015.02.11 at 04:54:29 PM EST
25 //
26
27 package org.onap.aai.domain.restServiceException;
28
29 import java.util.ArrayList;
30 import java.util.List;
31
32 import javax.xml.bind.annotation.*;
33
34 /**
35  * <p>
36  * Java class for anonymous complex type.
37  *
38  * <p>
39  * The following schema fragment specifies the expected content contained within this class.
40  *
41  * <pre>
42  * &lt;complexType>
43  *   &lt;complexContent>
44  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45  *       &lt;sequence>
46  *         &lt;element name="requestError">
47  *           &lt;complexType>
48  *             &lt;complexContent>
49  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50  *                 &lt;sequence>
51  *                   &lt;element name="serviceException">
52  *                     &lt;complexType>
53  *                       &lt;complexContent>
54  *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55  *                           &lt;sequence>
56  *                             &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
57  *                             &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
58  *                             &lt;element name="variables">
59  *                               &lt;complexType>
60  *                                 &lt;complexContent>
61  *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
62  *                                     &lt;sequence>
63  *                                       &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
64  *                                     &lt;/sequence>
65  *                                   &lt;/restriction>
66  *                                 &lt;/complexContent>
67  *                               &lt;/complexType>
68  *                             &lt;/element>
69  *                           &lt;/sequence>
70  *                         &lt;/restriction>
71  *                       &lt;/complexContent>
72  *                     &lt;/complexType>
73  *                   &lt;/element>
74  *                 &lt;/sequence>
75  *               &lt;/restriction>
76  *             &lt;/complexContent>
77  *           &lt;/complexType>
78  *         &lt;/element>
79  *       &lt;/sequence>
80  *     &lt;/restriction>
81  *   &lt;/complexContent>
82  * &lt;/complexType>
83  * </pre>
84  *
85  *
86  */
87 @XmlAccessorType(XmlAccessType.FIELD)
88 @XmlType(name = "", propOrder = {"requestError"})
89 @XmlRootElement(name = "Fault")
90 public class Fault {
91
92     @XmlElement(required = true)
93     protected RequestError requestError;
94
95     /**
96      * Gets the value of the requestError property.
97      *
98      * @return
99      *         possible object is
100      *         {@link RequestError }
101      *
102      */
103     public RequestError getRequestError() {
104         return requestError;
105     }
106
107     /**
108      * Sets the value of the requestError property.
109      *
110      * @param value
111      *        allowed object is
112      *        {@link RequestError }
113      *
114      */
115     public void setRequestError(RequestError value) {
116         this.requestError = value;
117     }
118
119     /**
120      * <p>
121      * Java class for anonymous complex type.
122      *
123      * <p>
124      * The following schema fragment specifies the expected content contained within this class.
125      *
126      * <pre>
127      * &lt;complexType>
128      *   &lt;complexContent>
129      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
130      *       &lt;sequence>
131      *         &lt;element name="serviceException">
132      *           &lt;complexType>
133      *             &lt;complexContent>
134      *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
135      *                 &lt;sequence>
136      *                   &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
137      *                   &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
138      *                   &lt;element name="variables">
139      *                     &lt;complexType>
140      *                       &lt;complexContent>
141      *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
142      *                           &lt;sequence>
143      *                             &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
144      *                           &lt;/sequence>
145      *                         &lt;/restriction>
146      *                       &lt;/complexContent>
147      *                     &lt;/complexType>
148      *                   &lt;/element>
149      *                 &lt;/sequence>
150      *               &lt;/restriction>
151      *             &lt;/complexContent>
152      *           &lt;/complexType>
153      *         &lt;/element>
154      *       &lt;/sequence>
155      *     &lt;/restriction>
156      *   &lt;/complexContent>
157      * &lt;/complexType>
158      * </pre>
159      *
160      *
161      */
162     @XmlAccessorType(XmlAccessType.FIELD)
163     @XmlType(name = "", propOrder = {"serviceException"})
164     public static class RequestError {
165
166         @XmlElement(required = true)
167         protected ServiceException serviceException;
168
169         /**
170          * Gets the value of the serviceException property.
171          *
172          * @return
173          *         possible object is
174          *         {@link ServiceException }
175          *
176          */
177         public ServiceException getServiceException() {
178             return serviceException;
179         }
180
181         /**
182          * Sets the value of the serviceException property.
183          *
184          * @param value
185          *        allowed object is
186          *        {@link ServiceException }
187          *
188          */
189         public void setServiceException(ServiceException value) {
190             this.serviceException = value;
191         }
192
193         /**
194          * <p>
195          * Java class for anonymous complex type.
196          *
197          * <p>
198          * The following schema fragment specifies the expected content contained within this class.
199          *
200          * <pre>
201          * &lt;complexType>
202          *   &lt;complexContent>
203          *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
204          *       &lt;sequence>
205          *         &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
206          *         &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
207          *         &lt;element name="variables">
208          *           &lt;complexType>
209          *             &lt;complexContent>
210          *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
211          *                 &lt;sequence>
212          *                   &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
213          *                 &lt;/sequence>
214          *               &lt;/restriction>
215          *             &lt;/complexContent>
216          *           &lt;/complexType>
217          *         &lt;/element>
218          *       &lt;/sequence>
219          *     &lt;/restriction>
220          *   &lt;/complexContent>
221          * &lt;/complexType>
222          * </pre>
223          *
224          *
225          */
226         @XmlAccessorType(XmlAccessType.FIELD)
227         @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
228         public static class ServiceException {
229
230             @XmlElement(required = true)
231             protected String messageId;
232             @XmlElement(required = true)
233             protected String text;
234             @XmlElement(required = true)
235             protected Variables variables;
236
237             /**
238              * Gets the value of the messageId property.
239              *
240              * @return
241              *         possible object is
242              *         {@link String }
243              *
244              */
245             public String getMessageId() {
246                 return messageId;
247             }
248
249             /**
250              * Sets the value of the messageId property.
251              *
252              * @param value
253              *        allowed object is
254              *        {@link String }
255              *
256              */
257             public void setMessageId(String value) {
258                 this.messageId = value;
259             }
260
261             /**
262              * Gets the value of the text property.
263              *
264              * @return
265              *         possible object is
266              *         {@link String }
267              *
268              */
269             public String getText() {
270                 return text;
271             }
272
273             /**
274              * Sets the value of the text property.
275              *
276              * @param value
277              *        allowed object is
278              *        {@link String }
279              *
280              */
281             public void setText(String value) {
282                 this.text = value;
283             }
284
285             /**
286              * Gets the value of the variables property.
287              *
288              * @return
289              *         possible object is
290              *         {@link Variables }
291              *
292              */
293             public Variables getVariables() {
294                 return variables;
295             }
296
297             /**
298              * Sets the value of the variables property.
299              *
300              * @param value
301              *        allowed object is
302              *        {@link Variables }
303              *
304              */
305             public void setVariables(Variables value) {
306                 this.variables = value;
307             }
308
309             /**
310              * <p>
311              * Java class for anonymous complex type.
312              *
313              * <p>
314              * The following schema fragment specifies the expected content contained within this class.
315              *
316              * <pre>
317              * &lt;complexType>
318              *   &lt;complexContent>
319              *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
320              *       &lt;sequence>
321              *         &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
322              *       &lt;/sequence>
323              *     &lt;/restriction>
324              *   &lt;/complexContent>
325              * &lt;/complexType>
326              * </pre>
327              *
328              *
329              */
330             @XmlAccessorType(XmlAccessType.FIELD)
331             @XmlType(name = "", propOrder = {"variable"})
332             public static class Variables {
333
334                 protected List<String> variable;
335
336                 /**
337                  * Gets the value of the variable property.
338                  *
339                  * <p>
340                  * This accessor method returns a reference to the live list,
341                  * not a snapshot. Therefore any modification you make to the
342                  * returned list will be present inside the JAXB object.
343                  * This is why there is not a <CODE>set</CODE> method for the variable property.
344                  *
345                  * <p>
346                  * For example, to add a new item, do as follows:
347                  *
348                  * <pre>
349                  * getVariable().add(newItem);
350                  * </pre>
351                  *
352                  *
353                  * <p>
354                  * Objects of the following type(s) are allowed in the list
355                  * {@link String }
356                  *
357                  * @return the variable
358                  */
359                 public List<String> getVariable() {
360                     if (variable == null) {
361                         variable = new ArrayList<String>();
362                     }
363                     return this.variable;
364                 }
365
366             }
367
368         }
369
370     }
371
372 }