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;
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.XmlSeeAlso;
38 import javax.xml.bind.annotation.XmlType;
40 import org.apache.commons.lang3.builder.ToStringBuilder;
44 * <p>Java class for exceptionType complex type.
46 * <p>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 = {
71 ServiceException.class,
74 public class ExceptionType {
76 @XmlElement(required = true)
77 protected String messageId;
78 @XmlElement(required = true)
79 protected String text;
80 protected List<String> variables;
83 * Gets the value of the messageId property.
90 public String getMessageId() {
95 * Sets the value of the messageId property.
102 public void setMessageId(String value) {
103 this.messageId = value;
107 * Gets the value of the text property.
114 public String getText() {
119 * Sets the value of the text property.
126 public void setText(String value) {
131 * Gets the value of the variables property.
134 * This accessor method returns a reference to the live list,
135 * not a snapshot. Therefore any modification you make to the
136 * returned list will be present inside the JAXB object.
137 * This is why there is not a <CODE>set</CODE> method for the variables property.
140 * For example, to add a new item, do as follows:
142 * getVariables().add(newItem);
147 * Objects of the following type(s) are allowed in the list
152 public List<String> getVariables() {
153 if (variables == null) {
154 variables = new ArrayList<>();
156 return this.variables;
159 public void setVariables(List<String> variables) {
160 this.variables = variables;
164 public String toString() {
165 return new ToStringBuilder(this).append("messageId", messageId).append("text", text)
166 .append("variables", variables).toString();