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
28 package org.onap.aai.domain.restServiceException;
30 import java.util.ArrayList;
31 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 * <p>Java class for anonymous complex type.
42 * <p>The following schema fragment specifies the expected content contained within this class.
47 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49 * <element name="requestError">
52 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
54 * <element name="serviceException">
57 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
59 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
60 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
61 * <element name="variables">
64 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
66 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
69 * </complexContent>
74 * </complexContent>
79 * </complexContent>
84 * </complexContent>
90 @XmlAccessorType(XmlAccessType.FIELD)
91 @XmlType(name = "", propOrder = {
94 @XmlRootElement(name = "Fault")
97 @XmlElement(required = true)
98 protected RequestError requestError;
101 * Gets the value of the requestError property.
105 * {@link RequestError }
108 public RequestError getRequestError() {
113 * Sets the value of the requestError property.
117 * {@link RequestError }
120 public void setRequestError(RequestError value) {
121 this.requestError = value;
126 * <p>Java class for anonymous complex type.
128 * <p>The following schema fragment specifies the expected content contained within this class.
132 * <complexContent>
133 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
135 * <element name="serviceException">
137 * <complexContent>
138 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
140 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
141 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
142 * <element name="variables">
144 * <complexContent>
145 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
147 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
150 * </complexContent>
155 * </complexContent>
160 * </complexContent>
166 @XmlAccessorType(XmlAccessType.FIELD)
167 @XmlType(name = "", propOrder = {
170 public static class RequestError {
172 @XmlElement(required = true)
173 protected ServiceException serviceException;
176 * Gets the value of the serviceException property.
180 * {@link ServiceException }
183 public ServiceException getServiceException() {
184 return serviceException;
188 * Sets the value of the serviceException property.
192 * {@link ServiceException }
195 public void setServiceException(ServiceException value) {
196 this.serviceException = value;
201 * <p>Java class for anonymous complex type.
203 * <p>The following schema fragment specifies the expected content contained within this class.
207 * <complexContent>
208 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
210 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
211 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
212 * <element name="variables">
214 * <complexContent>
215 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
217 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
220 * </complexContent>
225 * </complexContent>
231 @XmlAccessorType(XmlAccessType.FIELD)
232 @XmlType(name = "", propOrder = {
237 public static class ServiceException {
239 @XmlElement(required = true)
240 protected String messageId;
241 @XmlElement(required = true)
242 protected String text;
243 @XmlElement(required = true)
244 protected Variables variables;
247 * Gets the value of the messageId property.
254 public String getMessageId() {
259 * Sets the value of the messageId property.
266 public void setMessageId(String value) {
267 this.messageId = value;
271 * Gets the value of the text property.
278 public String getText() {
283 * Sets the value of the text property.
290 public void setText(String value) {
295 * Gets the value of the variables property.
302 public Variables getVariables() {
307 * Sets the value of the variables property.
314 public void setVariables(Variables value) {
315 this.variables = value;
320 * <p>Java class for anonymous complex type.
322 * <p>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 = {
342 public static class Variables {
344 protected List<String> variable;
347 * Gets the value of the variable property.
350 * This accessor method returns a reference to the live list,
351 * not a snapshot. Therefore any modification you make to the
352 * returned list will be present inside the JAXB object.
353 * This is why there is not a <CODE>set</CODE> method for the variable property.
356 * For example, to add a new item, do as follows:
358 * getVariable().add(newItem);
363 * Objects of the following type(s) are allowed in the list
366 * @return the variable
368 public List<String> getVariable() {
369 if (variable == null) {
370 variable = new ArrayList<String>();
372 return this.variable;