2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
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
27 package org.onap.aai.domain.restResponseInfo;
29 import java.util.ArrayList;
30 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;
40 * Java class for anonymous complex type.
43 * The following schema fragment specifies the expected content contained within this class.
48 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50 * <element name="responseMessages" minOccurs="0">
53 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55 * <element name="responseMessage" maxOccurs="unbounded" minOccurs="0">
58 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
60 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
61 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
62 * <element name="variables">
65 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
67 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
70 * </complexContent>
75 * </complexContent>
80 * </complexContent>
85 * </complexContent>
91 @XmlAccessorType(XmlAccessType.FIELD)
92 @XmlType(name = "", propOrder = {"responseMessages"})
93 @XmlRootElement(name = "Info")
96 protected ResponseMessages responseMessages;
99 * Gets the value of the responseMessages property.
103 * {@link ResponseMessages }
106 public ResponseMessages getResponseMessages() {
107 return responseMessages;
111 * Sets the value of the responseMessages property.
115 * {@link ResponseMessages }
118 public void setResponseMessages(ResponseMessages value) {
119 this.responseMessages = value;
124 * Java class for anonymous complex type.
127 * The following schema fragment specifies the expected content contained within this class.
131 * <complexContent>
132 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
134 * <element name="responseMessage" maxOccurs="unbounded" minOccurs="0">
136 * <complexContent>
137 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
139 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
140 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
141 * <element name="variables">
143 * <complexContent>
144 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
146 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
149 * </complexContent>
154 * </complexContent>
159 * </complexContent>
165 @XmlAccessorType(XmlAccessType.FIELD)
166 @XmlType(name = "", propOrder = {"responseMessage"})
167 public static class ResponseMessages {
169 protected List<ResponseMessage> responseMessage;
172 * Gets the value of the responseMessage property.
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.
181 * For example, to add a new item, do as follows:
184 * getResponseMessage().add(newItem);
189 * Objects of the following type(s) are allowed in the list
190 * {@link ResponseMessage }
192 * @return the response message
194 public List<ResponseMessage> getResponseMessage() {
195 if (responseMessage == null) {
196 responseMessage = new ArrayList<ResponseMessage>();
198 return this.responseMessage;
203 * Java class for anonymous complex type.
206 * The following schema fragment specifies the expected content contained within this class.
210 * <complexContent>
211 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
213 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
214 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
215 * <element name="variables">
217 * <complexContent>
218 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
220 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
223 * </complexContent>
228 * </complexContent>
234 @XmlAccessorType(XmlAccessType.FIELD)
235 @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
236 public static class ResponseMessage {
238 @XmlElement(required = true)
239 protected String messageId;
240 @XmlElement(required = true)
241 protected String text;
242 @XmlElement(required = true)
243 protected Variables variables;
246 * Gets the value of the messageId property.
253 public String getMessageId() {
258 * Sets the value of the messageId property.
265 public void setMessageId(String value) {
266 this.messageId = value;
270 * Gets the value of the text property.
277 public String getText() {
282 * Sets the value of the text property.
289 public void setText(String value) {
294 * Gets the value of the variables property.
301 public Variables getVariables() {
306 * Sets the value of the variables property.
313 public void setVariables(Variables value) {
314 this.variables = value;
319 * Java class for anonymous complex type.
322 * The following schema fragment specifies the expected content contained within this class.
326 * <complexContent>
327 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
329 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
332 * </complexContent>
338 @XmlAccessorType(XmlAccessType.FIELD)
339 @XmlType(name = "", propOrder = {"variable"})
340 public static class Variables {
342 protected List<String> variable;
345 * Gets the value of the variable property.
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.
354 * For example, to add a new item, do as follows:
357 * getVariable().add(newItem);
362 * Objects of the following type(s) are allowed in the list
365 * @return the variable
367 public List<String> getVariable() {
368 if (variable == null) {
369 variable = new ArrayList<String>();
371 return this.variable;