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 java.util.ArrayList;
30 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 * Java class for anonymous complex type.
43 * 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="policyException">
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 = {"requestError"})
93 @XmlRootElement(name = "Fault")
96 @XmlElement(required = true)
97 protected RequestError requestError;
100 * Gets the value of the requestError property.
104 * {@link RequestError }
107 public RequestError getRequestError() {
112 * Sets the value of the requestError property.
116 * {@link RequestError }
119 public void setRequestError(RequestError value) {
120 this.requestError = value;
125 * Java class for anonymous complex type.
128 * 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="policyException">
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 = {"policyException"})
168 public static class RequestError {
170 @XmlElement(required = true)
171 protected PolicyException policyException;
174 * Gets the value of the policyException property.
178 * {@link PolicyException }
181 public PolicyException getPolicyException() {
182 return policyException;
186 * Sets the value of the policyException property.
190 * {@link PolicyException }
193 public void setPolicyException(PolicyException value) {
194 this.policyException = value;
199 * Java class for anonymous complex type.
202 * The following schema fragment specifies the expected content contained within this class.
206 * <complexContent>
207 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
209 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
210 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
211 * <element name="variables">
213 * <complexContent>
214 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
216 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
219 * </complexContent>
224 * </complexContent>
230 @XmlAccessorType(XmlAccessType.FIELD)
231 @XmlType(name = "", propOrder = {"messageId", "text", "variables"})
232 public static class PolicyException {
234 @XmlElement(required = true)
235 protected String messageId;
236 @XmlElement(required = true)
237 protected String text;
238 @XmlElement(required = true)
239 protected Variables variables;
242 * Gets the value of the messageId property.
249 public String getMessageId() {
254 * Sets the value of the messageId property.
261 public void setMessageId(String value) {
262 this.messageId = value;
266 * Gets the value of the text property.
273 public String getText() {
278 * Sets the value of the text property.
285 public void setText(String value) {
290 * Gets the value of the variables property.
297 public Variables getVariables() {
302 * Sets the value of the variables property.
309 public void setVariables(Variables value) {
310 this.variables = value;
315 * Java class for anonymous complex type.
318 * The following schema fragment specifies the expected content contained within this class.
322 * <complexContent>
323 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
325 * <element name="variable" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
328 * </complexContent>
334 @XmlAccessorType(XmlAccessType.FIELD)
335 @XmlType(name = "", propOrder = {"variable"})
336 public static class Variables {
338 protected List<String> variable;
341 * Gets the value of the variable property.
344 * This accessor method returns a reference to the live list,
345 * not a snapshot. Therefore any modification you make to the
346 * returned list will be present inside the JAXB object.
347 * This is why there is not a <CODE>set</CODE> method for the variable property.
350 * For example, to add a new item, do as follows:
353 * getVariable().add(newItem);
358 * Objects of the following type(s) are allowed in the list
361 * @return the variable
363 public List<String> getVariable() {
364 if (variable == null) {
365 variable = new ArrayList<String>();
367 return this.variable;