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.*;
36 * Java class for anonymous complex type.
39 * The following schema fragment specifies the expected content contained within this class.
44 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46 * <element name="responseMessages" minOccurs="0">
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <element name="responseMessage" maxOccurs="unbounded" minOccurs="0">
54 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
57 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
58 * <element name="variables">
61 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
63 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
66 * </complexContent>
71 * </complexContent>
76 * </complexContent>
81 * </complexContent>
87 @XmlAccessorType(XmlAccessType.FIELD)
88 @XmlType(name = "", propOrder = {"responseMessages"})
89 @XmlRootElement(name = "Info")
92 protected ResponseMessages responseMessages;
95 * Gets the value of the responseMessages property.
99 * {@link ResponseMessages }
102 public ResponseMessages getResponseMessages() {
103 return responseMessages;
107 * Sets the value of the responseMessages property.
111 * {@link ResponseMessages }
114 public void setResponseMessages(ResponseMessages value) {
115 this.responseMessages = value;
120 * Java class for anonymous complex type.
123 * The following schema fragment specifies the expected content contained within this class.
127 * <complexContent>
128 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
130 * <element name="responseMessage" maxOccurs="unbounded" minOccurs="0">
132 * <complexContent>
133 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
135 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
136 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
137 * <element name="variables">
139 * <complexContent>
140 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
142 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
145 * </complexContent>
150 * </complexContent>
155 * </complexContent>
161 @XmlAccessorType(XmlAccessType.FIELD)
162 @XmlType(name = "", propOrder = {"responseMessage"})
163 public static class ResponseMessages {
165 protected List<ResponseMessage> responseMessage;
168 * Gets the value of the responseMessage property.
171 * This accessor method returns a reference to the live list,
172 * not a snapshot. Therefore any modification you make to the
173 * returned list will be present inside the JAXB object.
174 * This is why there is not a <CODE>set</CODE> method for the responseMessage property.
177 * For example, to add a new item, do as follows:
180 * getResponseMessage().add(newItem);
185 * Objects of the following type(s) are allowed in the list
186 * {@link ResponseMessage }
188 * @return the response message
190 public List<ResponseMessage> getResponseMessage() {
191 if (responseMessage == null) {
192 responseMessage = new ArrayList<>();
194 return this.responseMessage;
199 * Java class for anonymous complex type.
202 * The following schema fragment specifies the expected content contained within this class.
206 * <complexContent>
207 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
209 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
210 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
211 * <element name="variables">
213 * <complexContent>
214 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
216 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
219 * </complexContent>
224 * </complexContent>
230 @XmlAccessorType(XmlAccessType.FIELD)
231 @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
232 public static class ResponseMessage {
234 @XmlElement(required = true)
235 protected String messageId;
236 @XmlElement(required = true)
237 protected String text;
238 @XmlElement(required = true)
239 protected Variables variables;
242 * Gets the value of the messageId property.
249 public String getMessageId() {
254 * Sets the value of the messageId property.
261 public void setMessageId(String value) {
262 this.messageId = value;
266 * Gets the value of the text property.
273 public String getText() {
278 * Sets the value of the text property.
285 public void setText(String value) {
290 * Gets the value of the variables property.
297 public Variables getVariables() {
302 * Sets the value of the variables property.
309 public void setVariables(Variables value) {
310 this.variables = value;
315 * Java class for anonymous complex type.
318 * The following schema fragment specifies the expected content contained within this class.
322 * <complexContent>
323 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
325 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
328 * </complexContent>
334 @XmlAccessorType(XmlAccessType.FIELD)
335 @XmlType(name = "", propOrder = {"variable"})
336 public static class Variables {
338 protected List<String> variable;
341 * Gets the value of the variable property.
344 * This accessor method returns a reference to the live list,
345 * not a snapshot. Therefore any modification you make to the
346 * returned list will be present inside the JAXB object.
347 * This is why there is not a <CODE>set</CODE> method for the variable property.
350 * For example, to add a new item, do as follows:
353 * getVariable().add(newItem);
358 * Objects of the following type(s) are allowed in the list
361 * @return the variable
363 public List<String> getVariable() {
364 if (variable == null) {
365 variable = new ArrayList<>();
367 return this.variable;