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.02.11 at 04:54:29 PM EST
27 package org.onap.aai.domain.restServiceException;
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="requestError">
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <element name="serviceException">
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 = {"requestError"})
89 @XmlRootElement(name = "Fault")
92 @XmlElement(required = true)
93 protected RequestError requestError;
96 * Gets the value of the requestError property.
100 * {@link RequestError }
103 public RequestError getRequestError() {
108 * Sets the value of the requestError property.
112 * {@link RequestError }
115 public void setRequestError(RequestError value) {
116 this.requestError = value;
121 * Java class for anonymous complex type.
124 * The following schema fragment specifies the expected content contained within this class.
128 * <complexContent>
129 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
131 * <element name="serviceException">
133 * <complexContent>
134 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
136 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
137 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
138 * <element name="variables">
140 * <complexContent>
141 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
143 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
146 * </complexContent>
151 * </complexContent>
156 * </complexContent>
162 @XmlAccessorType(XmlAccessType.FIELD)
163 @XmlType(name = "", propOrder = {"serviceException"})
164 public static class RequestError {
166 @XmlElement(required = true)
167 protected ServiceException serviceException;
170 * Gets the value of the serviceException property.
174 * {@link ServiceException }
177 public ServiceException getServiceException() {
178 return serviceException;
182 * Sets the value of the serviceException property.
186 * {@link ServiceException }
189 public void setServiceException(ServiceException value) {
190 this.serviceException = value;
195 * Java class for anonymous complex type.
198 * The following schema fragment specifies the expected content contained within this class.
202 * <complexContent>
203 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
205 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
206 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
207 * <element name="variables">
209 * <complexContent>
210 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
212 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
215 * </complexContent>
220 * </complexContent>
226 @XmlAccessorType(XmlAccessType.FIELD)
227 @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
228 public static class ServiceException {
230 @XmlElement(required = true)
231 protected String messageId;
232 @XmlElement(required = true)
233 protected String text;
234 @XmlElement(required = true)
235 protected Variables variables;
238 * Gets the value of the messageId property.
245 public String getMessageId() {
250 * Sets the value of the messageId property.
257 public void setMessageId(String value) {
258 this.messageId = value;
262 * Gets the value of the text property.
269 public String getText() {
274 * Sets the value of the text property.
281 public void setText(String value) {
286 * Gets the value of the variables property.
293 public Variables getVariables() {
298 * Sets the value of the variables property.
305 public void setVariables(Variables value) {
306 this.variables = value;
311 * Java class for anonymous complex type.
314 * The following schema fragment specifies the expected content contained within this class.
318 * <complexContent>
319 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
321 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
324 * </complexContent>
330 @XmlAccessorType(XmlAccessType.FIELD)
331 @XmlType(name = "", propOrder = {"variable"})
332 public static class Variables {
334 protected List<String> variable;
337 * Gets the value of the variable property.
340 * This accessor method returns a reference to the live list,
341 * not a snapshot. Therefore any modification you make to the
342 * returned list will be present inside the JAXB object.
343 * This is why there is not a <CODE>set</CODE> method for the variable property.
346 * For example, to add a new item, do as follows:
349 * getVariable().add(newItem);
354 * Objects of the following type(s) are allowed in the list
357 * @return the variable
359 public List<String> getVariable() {
360 if (variable == null) {
361 variable = new ArrayList<String>();
363 return this.variable;