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