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