Update the license for 2017-2018 license
[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
28 package org.onap.aai.domain.restResponseInfo;
29
30 import java.util.ArrayList;
31 import java.util.List;
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 /**
40  * <p>Java class for anonymous complex type.
41  * 
42  * <p>The following schema fragment specifies the expected content contained within this class.
43  * 
44  * <pre>
45  * &lt;complexType>
46  *   &lt;complexContent>
47  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
48  *       &lt;sequence>
49  *         &lt;element name="responseMessages" minOccurs="0">
50  *           &lt;complexType>
51  *             &lt;complexContent>
52  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
53  *                 &lt;sequence>
54  *                   &lt;element name="responseMessage" maxOccurs="unbounded" minOccurs="0">
55  *                     &lt;complexType>
56  *                       &lt;complexContent>
57  *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
58  *                           &lt;sequence>
59  *                             &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
60  *                             &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
61  *                             &lt;element name="variables">
62  *                               &lt;complexType>
63  *                                 &lt;complexContent>
64  *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
65  *                                     &lt;sequence>
66  *                                       &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
67  *                                     &lt;/sequence>
68  *                                   &lt;/restriction>
69  *                                 &lt;/complexContent>
70  *                               &lt;/complexType>
71  *                             &lt;/element>
72  *                           &lt;/sequence>
73  *                         &lt;/restriction>
74  *                       &lt;/complexContent>
75  *                     &lt;/complexType>
76  *                   &lt;/element>
77  *                 &lt;/sequence>
78  *               &lt;/restriction>
79  *             &lt;/complexContent>
80  *           &lt;/complexType>
81  *         &lt;/element>
82  *       &lt;/sequence>
83  *     &lt;/restriction>
84  *   &lt;/complexContent>
85  * &lt;/complexType>
86  * </pre>
87  * 
88  * 
89  */
90 @XmlAccessorType(XmlAccessType.FIELD)
91 @XmlType(name = "", propOrder = {
92     "responseMessages"
93 })
94 @XmlRootElement(name = "Info")
95 public class Info {
96
97     protected Info.ResponseMessages responseMessages;
98
99     /**
100      * Gets the value of the responseMessages property.
101      * 
102      * @return
103      *     possible object is
104      *     {@link Info.ResponseMessages }
105      *     
106      */
107     public Info.ResponseMessages getResponseMessages() {
108         return responseMessages;
109     }
110
111     /**
112      * Sets the value of the responseMessages property.
113      * 
114      * @param value
115      *     allowed object is
116      *     {@link Info.ResponseMessages }
117      *     
118      */
119     public void setResponseMessages(Info.ResponseMessages value) {
120         this.responseMessages = value;
121     }
122
123
124     /**
125      * <p>Java class for anonymous complex type.
126      * 
127      * <p>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 = {
167         "responseMessage"
168     })
169     public static class ResponseMessages {
170
171         protected List<Info.ResponseMessages.ResponseMessage> responseMessage;
172
173         /**
174          * Gets the value of the responseMessage property.
175          * 
176          * <p>
177          * This accessor method returns a reference to the live list,
178          * not a snapshot. Therefore any modification you make to the
179          * returned list will be present inside the JAXB object.
180          * This is why there is not a <CODE>set</CODE> method for the responseMessage property.
181          * 
182          * <p>
183          * For example, to add a new item, do as follows:
184          * <pre>
185          *    getResponseMessage().add(newItem);
186          * </pre>
187          * 
188          * 
189          * <p>
190          * Objects of the following type(s) are allowed in the list
191          * {@link Info.ResponseMessages.ResponseMessage }
192          *
193          * @return the response message
194          */
195         public List<Info.ResponseMessages.ResponseMessage> getResponseMessage() {
196             if (responseMessage == null) {
197                 responseMessage = new ArrayList<Info.ResponseMessages.ResponseMessage>();
198             }
199             return this.responseMessage;
200         }
201
202
203         /**
204          * <p>Java class for anonymous complex type.
205          * 
206          * <p>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 = {
236             "messageId",
237             "text",
238             "variables"
239         })
240         public static class ResponseMessage {
241
242             @XmlElement(required = true)
243             protected String messageId;
244             @XmlElement(required = true)
245             protected String text;
246             @XmlElement(required = true)
247             protected Info.ResponseMessages.ResponseMessage.Variables variables;
248
249             /**
250              * Gets the value of the messageId property.
251              * 
252              * @return
253              *     possible object is
254              *     {@link String }
255              *     
256              */
257             public String getMessageId() {
258                 return messageId;
259             }
260
261             /**
262              * Sets the value of the messageId property.
263              * 
264              * @param value
265              *     allowed object is
266              *     {@link String }
267              *     
268              */
269             public void setMessageId(String value) {
270                 this.messageId = value;
271             }
272
273             /**
274              * Gets the value of the text property.
275              * 
276              * @return
277              *     possible object is
278              *     {@link String }
279              *     
280              */
281             public String getText() {
282                 return text;
283             }
284
285             /**
286              * Sets the value of the text property.
287              * 
288              * @param value
289              *     allowed object is
290              *     {@link String }
291              *     
292              */
293             public void setText(String value) {
294                 this.text = value;
295             }
296
297             /**
298              * Gets the value of the variables property.
299              * 
300              * @return
301              *     possible object is
302              *     {@link Info.ResponseMessages.ResponseMessage.Variables }
303              *     
304              */
305             public Info.ResponseMessages.ResponseMessage.Variables getVariables() {
306                 return variables;
307             }
308
309             /**
310              * Sets the value of the variables property.
311              * 
312              * @param value
313              *     allowed object is
314              *     {@link Info.ResponseMessages.ResponseMessage.Variables }
315              *     
316              */
317             public void setVariables(Info.ResponseMessages.ResponseMessage.Variables value) {
318                 this.variables = value;
319             }
320
321
322             /**
323              * <p>Java class for anonymous complex type.
324              * 
325              * <p>The following schema fragment specifies the expected content contained within this class.
326              * 
327              * <pre>
328              * &lt;complexType>
329              *   &lt;complexContent>
330              *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
331              *       &lt;sequence>
332              *         &lt;element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
333              *       &lt;/sequence>
334              *     &lt;/restriction>
335              *   &lt;/complexContent>
336              * &lt;/complexType>
337              * </pre>
338              * 
339              * 
340              */
341             @XmlAccessorType(XmlAccessType.FIELD)
342             @XmlType(name = "", propOrder = {
343                 "variable"
344             })
345             public static class Variables {
346
347                 protected List<String> variable;
348
349                 /**
350                  * Gets the value of the variable property.
351                  * 
352                  * <p>
353                  * This accessor method returns a reference to the live list,
354                  * not a snapshot. Therefore any modification you make to the
355                  * returned list will be present inside the JAXB object.
356                  * This is why there is not a <CODE>set</CODE> method for the variable property.
357                  * 
358                  * <p>
359                  * For example, to add a new item, do as follows:
360                  * <pre>
361                  *    getVariable().add(newItem);
362                  * </pre>
363                  * 
364                  * 
365                  * <p>
366                  * Objects of the following type(s) are allowed in the list
367                  * {@link String }
368                  *
369                  * @return the variable
370                  */
371                 public List<String> getVariable() {
372                     if (variable == null) {
373                         variable = new ArrayList<String>();
374                     }
375                     return this.variable;
376                 }
377
378             }
379
380         }
381
382     }
383
384 }