2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 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
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=========================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
24 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
25 // Any modifications to this file will be lost upon recompilation of the source schema.
26 // Generated on: 2015.02.11 at 04:54:29 PM EST
30 package org.onap.aai.domain.restServiceException;
32 import java.util.ArrayList;
33 import java.util.List;
34 import javax.xml.bind.annotation.XmlAccessType;
35 import javax.xml.bind.annotation.XmlAccessorType;
36 import javax.xml.bind.annotation.XmlElement;
37 import javax.xml.bind.annotation.XmlRootElement;
38 import javax.xml.bind.annotation.XmlType;
42 * <p>Java class for anonymous complex type.
44 * <p>The following schema fragment specifies the expected content contained within this class.
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <element name="requestError">
54 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
56 * <element name="serviceException">
59 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
61 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
62 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
63 * <element name="variables">
66 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
68 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
71 * </complexContent>
76 * </complexContent>
81 * </complexContent>
86 * </complexContent>
92 @XmlAccessorType(XmlAccessType.FIELD)
93 @XmlType(name = "", propOrder = {
96 @XmlRootElement(name = "Fault")
99 @XmlElement(required = true)
100 protected Fault.RequestError requestError;
103 * Gets the value of the requestError property.
107 * {@link Fault.RequestError }
110 public Fault.RequestError getRequestError() {
115 * Sets the value of the requestError property.
119 * {@link Fault.RequestError }
122 public void setRequestError(Fault.RequestError value) {
123 this.requestError = value;
128 * <p>Java class for anonymous complex type.
130 * <p>The following schema fragment specifies the expected content contained within this class.
134 * <complexContent>
135 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
137 * <element name="serviceException">
139 * <complexContent>
140 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
142 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
143 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
144 * <element name="variables">
146 * <complexContent>
147 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
149 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
152 * </complexContent>
157 * </complexContent>
162 * </complexContent>
168 @XmlAccessorType(XmlAccessType.FIELD)
169 @XmlType(name = "", propOrder = {
172 public static class RequestError {
174 @XmlElement(required = true)
175 protected Fault.RequestError.ServiceException serviceException;
178 * Gets the value of the serviceException property.
182 * {@link Fault.RequestError.ServiceException }
185 public Fault.RequestError.ServiceException getServiceException() {
186 return serviceException;
190 * Sets the value of the serviceException property.
194 * {@link Fault.RequestError.ServiceException }
197 public void setServiceException(Fault.RequestError.ServiceException value) {
198 this.serviceException = value;
203 * <p>Java class for anonymous complex type.
205 * <p>The following schema fragment specifies the expected content contained within this class.
209 * <complexContent>
210 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
212 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
213 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
214 * <element name="variables">
216 * <complexContent>
217 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
219 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
222 * </complexContent>
227 * </complexContent>
233 @XmlAccessorType(XmlAccessType.FIELD)
234 @XmlType(name = "", propOrder = {
239 public static class ServiceException {
241 @XmlElement(required = true)
242 protected String messageId;
243 @XmlElement(required = true)
244 protected String text;
245 @XmlElement(required = true)
246 protected Fault.RequestError.ServiceException.Variables variables;
249 * Gets the value of the messageId property.
256 public String getMessageId() {
261 * Sets the value of the messageId property.
268 public void setMessageId(String value) {
269 this.messageId = value;
273 * Gets the value of the text property.
280 public String getText() {
285 * Sets the value of the text property.
292 public void setText(String value) {
297 * Gets the value of the variables property.
301 * {@link Fault.RequestError.ServiceException.Variables }
304 public Fault.RequestError.ServiceException.Variables getVariables() {
309 * Sets the value of the variables property.
313 * {@link Fault.RequestError.ServiceException.Variables }
316 public void setVariables(Fault.RequestError.ServiceException.Variables value) {
317 this.variables = value;
322 * <p>Java class for anonymous complex type.
324 * <p>The following schema fragment specifies the expected content contained within this class.
328 * <complexContent>
329 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
331 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
334 * </complexContent>
340 @XmlAccessorType(XmlAccessType.FIELD)
341 @XmlType(name = "", propOrder = {
344 public static class Variables {
346 protected List<String> variable;
349 * Gets the value of the variable property.
352 * This accessor method returns a reference to the live list,
353 * not a snapshot. Therefore any modification you make to the
354 * returned list will be present inside the JAXB object.
355 * This is why there is not a <CODE>set</CODE> method for the variable property.
358 * For example, to add a new item, do as follows:
360 * getVariable().add(newItem);
365 * Objects of the following type(s) are allowed in the list
368 * @return the variable
370 public List<String> getVariable() {
371 if (variable == null) {
372 variable = new ArrayList<String>();
374 return this.variable;