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