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:39 PM EST
27 package org.onap.aai.domain.restPolicyException;
29 import javax.xml.bind.annotation.*;
30 import java.util.ArrayList;
31 import java.util.List;
35 * Java class for anonymous complex type.
38 * The following schema fragment specifies the expected content contained within this class.
43 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45 * <element name="requestError">
48 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50 * <element name="policyException">
53 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
55 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
56 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
57 * <element name="variables">
60 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
62 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
65 * </complexContent>
70 * </complexContent>
75 * </complexContent>
80 * </complexContent>
86 @XmlAccessorType(XmlAccessType.FIELD)
87 @XmlType(name = "", propOrder = {"requestError"})
88 @XmlRootElement(name = "Fault")
91 @XmlElement(required = true)
92 protected RequestError requestError;
95 * Gets the value of the requestError property.
99 * {@link RequestError }
102 public RequestError getRequestError() {
107 * Sets the value of the requestError property.
111 * {@link RequestError }
114 public void setRequestError(RequestError value) {
115 this.requestError = 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="policyException">
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 = {"policyException"})
163 public static class RequestError {
165 @XmlElement(required = true)
166 protected PolicyException policyException;
169 * Gets the value of the policyException property.
173 * {@link PolicyException }
176 public PolicyException getPolicyException() {
177 return policyException;
181 * Sets the value of the policyException property.
185 * {@link PolicyException }
188 public void setPolicyException(PolicyException value) {
189 this.policyException = value;
194 * Java class for anonymous complex type.
197 * The following schema fragment specifies the expected content contained within this class.
201 * <complexContent>
202 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
204 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
205 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
206 * <element name="variables">
208 * <complexContent>
209 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
211 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
214 * </complexContent>
219 * </complexContent>
225 @XmlAccessorType(XmlAccessType.FIELD)
226 @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
227 public static class PolicyException {
229 @XmlElement(required = true)
230 protected String messageId;
231 @XmlElement(required = true)
232 protected String text;
233 @XmlElement(required = true)
234 protected Variables variables;
237 * Gets the value of the messageId property.
244 public String getMessageId() {
249 * Sets the value of the messageId property.
256 public void setMessageId(String value) {
257 this.messageId = value;
261 * Gets the value of the text property.
268 public String getText() {
273 * Sets the value of the text property.
280 public void setText(String value) {
285 * Gets the value of the variables property.
292 public Variables getVariables() {
297 * Sets the value of the variables property.
304 public void setVariables(Variables value) {
305 this.variables = value;
310 * Java class for anonymous complex type.
313 * The following schema fragment specifies the expected content contained within this class.
317 * <complexContent>
318 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
320 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
323 * </complexContent>
329 @XmlAccessorType(XmlAccessType.FIELD)
330 @XmlType(name = "", propOrder = {"variable"})
331 public static class Variables {
333 protected List<String> variable;
336 * Gets the value of the variable property.
339 * This accessor method returns a reference to the live list,
340 * not a snapshot. Therefore any modification you make to the
341 * returned list will be present inside the JAXB object.
342 * This is why there is not a <CODE>set</CODE> method for the variable property.
345 * For example, to add a new item, do as follows:
348 * getVariable().add(newItem);
353 * Objects of the following type(s) are allowed in the list
356 * @return the variable
358 public List<String> getVariable() {
359 if (variable == null) {
360 variable = new ArrayList<>();
362 return this.variable;