2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 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=========================================================
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
24 // Any modifications to this file will be lost upon recompilation of the source schema.
25 // Generated on: 2015.02.11 at 04:54:29 PM EST
29 package org.openecomp.aai.domain.restServiceException;
31 import java.util.ArrayList;
32 import java.util.List;
33 import javax.xml.bind.annotation.XmlAccessType;
34 import javax.xml.bind.annotation.XmlAccessorType;
35 import javax.xml.bind.annotation.XmlElement;
36 import javax.xml.bind.annotation.XmlRootElement;
37 import javax.xml.bind.annotation.XmlType;
41 * <p>Java class for anonymous complex type.
43 * <p>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="requestError">
53 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55 * <element name="serviceException">
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 = {
95 @XmlRootElement(name = "Fault")
98 @XmlElement(required = true)
99 protected Fault.RequestError requestError;
102 * Gets the value of the requestError property.
106 * {@link Fault.RequestError }
109 public Fault.RequestError getRequestError() {
114 * Sets the value of the requestError property.
118 * {@link Fault.RequestError }
121 public void setRequestError(Fault.RequestError value) {
122 this.requestError = value;
127 * <p>Java class for anonymous complex type.
129 * <p>The following schema fragment specifies the expected content contained within this class.
133 * <complexContent>
134 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
136 * <element name="serviceException">
138 * <complexContent>
139 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
141 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
142 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
143 * <element name="variables">
145 * <complexContent>
146 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
148 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
151 * </complexContent>
156 * </complexContent>
161 * </complexContent>
167 @XmlAccessorType(XmlAccessType.FIELD)
168 @XmlType(name = "", propOrder = {
171 public static class RequestError {
173 @XmlElement(required = true)
174 protected Fault.RequestError.ServiceException serviceException;
177 * Gets the value of the serviceException property.
181 * {@link Fault.RequestError.ServiceException }
184 public Fault.RequestError.ServiceException getServiceException() {
185 return serviceException;
189 * Sets the value of the serviceException property.
193 * {@link Fault.RequestError.ServiceException }
196 public void setServiceException(Fault.RequestError.ServiceException value) {
197 this.serviceException = value;
202 * <p>Java class for anonymous complex type.
204 * <p>The following schema fragment specifies the expected content contained within this class.
208 * <complexContent>
209 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
211 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
212 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
213 * <element name="variables">
215 * <complexContent>
216 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
218 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
221 * </complexContent>
226 * </complexContent>
232 @XmlAccessorType(XmlAccessType.FIELD)
233 @XmlType(name = "", propOrder = {
238 public static class ServiceException {
240 @XmlElement(required = true)
241 protected String messageId;
242 @XmlElement(required = true)
243 protected String text;
244 @XmlElement(required = true)
245 protected Fault.RequestError.ServiceException.Variables variables;
248 * Gets the value of the messageId property.
255 public String getMessageId() {
260 * Sets the value of the messageId property.
267 public void setMessageId(String value) {
268 this.messageId = value;
272 * Gets the value of the text property.
279 public String getText() {
284 * Sets the value of the text property.
291 public void setText(String value) {
296 * Gets the value of the variables property.
300 * {@link Fault.RequestError.ServiceException.Variables }
303 public Fault.RequestError.ServiceException.Variables getVariables() {
308 * Sets the value of the variables property.
312 * {@link Fault.RequestError.ServiceException.Variables }
315 public void setVariables(Fault.RequestError.ServiceException.Variables value) {
316 this.variables = value;
321 * <p>Java class for anonymous complex type.
323 * <p>The following schema fragment specifies the expected content contained within this class.
327 * <complexContent>
328 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
330 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
333 * </complexContent>
339 @XmlAccessorType(XmlAccessType.FIELD)
340 @XmlType(name = "", propOrder = {
343 public static class Variables {
345 protected List<String> variable;
348 * Gets the value of the variable property.
351 * This accessor method returns a reference to the live list,
352 * not a snapshot. Therefore any modification you make to the
353 * returned list will be present inside the JAXB object.
354 * This is why there is not a <CODE>set</CODE> method for the variable property.
357 * For example, to add a new item, do as follows:
359 * getVariable().add(newItem);
364 * Objects of the following type(s) are allowed in the list
367 * @return the variable
369 public List<String> getVariable() {
370 if (variable == null) {
371 variable = new ArrayList<String>();
373 return this.variable;