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