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