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