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.7
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: 2016.05.03 at 03:56:30 PM CDT
29 package org.onap.so.serviceinstancebeans;
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.XmlSeeAlso;
37 import javax.xml.bind.annotation.XmlType;
38 import org.apache.commons.lang3.builder.ToStringBuilder;
43 * Java class for exceptionType complex type.
46 * The following schema fragment specifies the expected content contained within this class.
49 * <complexType name="exceptionType">
51 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
53 * <element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
54 * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
55 * <element name="variables" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="50" minOccurs="0"/>
58 * </complexContent>
64 @XmlAccessorType(XmlAccessType.FIELD)
65 @XmlType(name = "exceptionType", propOrder = {"messageId", "text", "variables"})
66 @XmlSeeAlso({ServiceException.class, PolicyException.class})
67 public class ExceptionType {
69 @XmlElement(required = true)
70 protected String messageId;
71 @XmlElement(required = true)
72 protected String text;
73 protected List<String> variables;
76 * Gets the value of the messageId property.
78 * @return possible object is {@link String }
81 public String getMessageId() {
86 * Sets the value of the messageId property.
88 * @param value allowed object is {@link String }
91 public void setMessageId(String value) {
92 this.messageId = value;
96 * Gets the value of the text property.
98 * @return possible object is {@link String }
101 public String getText() {
106 * Sets the value of the text property.
108 * @param value allowed object is {@link String }
111 public void setText(String value) {
116 * Gets the value of the variables property.
119 * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to
120 * the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for
121 * the variables property.
124 * For example, to add a new item, do as follows:
127 * getVariables().add(newItem);
132 * Objects of the following type(s) are allowed in the list {@link String }
136 public List<String> getVariables() {
137 if (variables == null) {
138 variables = new ArrayList<>();
140 return this.variables;
143 public void setVariables(List<String> variables) {
144 this.variables = variables;
148 public String toString() {
149 return new ToStringBuilder(this).append("messageId", messageId).append("text", text)
150 .append("variables", variables).toString();