Change the header to SO
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / serviceinstancebeans / ExceptionType.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 //
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 
26 //
27
28
29 package org.openecomp.mso.apihandlerinfra.serviceinstancebeans;
30
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
39
40 /**
41  * <p>Java class for exceptionType complex type.
42  * 
43  * <p>The following schema fragment specifies the expected content contained within this class.
44  * 
45  * <pre>
46  * &lt;complexType name="exceptionType">
47  *   &lt;complexContent>
48  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49  *       &lt;sequence>
50  *         &lt;element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
51  *         &lt;element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
52  *         &lt;element name="variables" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="50" minOccurs="0"/>
53  *       &lt;/sequence>
54  *     &lt;/restriction>
55  *   &lt;/complexContent>
56  * &lt;/complexType>
57  * </pre>
58  * 
59  * 
60  */
61 @XmlAccessorType(XmlAccessType.FIELD)
62 @XmlType(name = "exceptionType", propOrder = {
63     "messageId",
64     "text",
65     "variables"
66 })
67 @XmlSeeAlso({
68     ServiceException.class,
69     PolicyException.class
70 })
71 public class ExceptionType {
72
73     @XmlElement(required = true)
74     protected String messageId;
75     @XmlElement(required = true)
76     protected String text;
77     protected List<String> variables;
78
79     /**
80      * Gets the value of the messageId property.
81      * 
82      * @return
83      *     possible object is
84      *     {@link String }
85      *     
86      */
87     public String getMessageId() {
88         return messageId;
89     }
90
91     /**
92      * Sets the value of the messageId property.
93      * 
94      * @param value
95      *     allowed object is
96      *     {@link String }
97      *     
98      */
99     public void setMessageId(String value) {
100         this.messageId = value;
101     }
102
103     /**
104      * Gets the value of the text property.
105      * 
106      * @return
107      *     possible object is
108      *     {@link String }
109      *     
110      */
111     public String getText() {
112         return text;
113     }
114
115     /**
116      * Sets the value of the text property.
117      * 
118      * @param value
119      *     allowed object is
120      *     {@link String }
121      *     
122      */
123     public void setText(String value) {
124         this.text = value;
125     }
126
127     /**
128      * Gets the value of the variables property.
129      * 
130      * <p>
131      * This accessor method returns a reference to the live list,
132      * not a snapshot. Therefore any modification you make to the
133      * returned list will be present inside the JAXB object.
134      * This is why there is not a <CODE>set</CODE> method for the variables property.
135      * 
136      * <p>
137      * For example, to add a new item, do as follows:
138      * <pre>
139      *    getVariables().add(newItem);
140      * </pre>
141      * 
142      * 
143      * <p>
144      * Objects of the following type(s) are allowed in the list
145      * {@link String }
146      * 
147      * 
148      */
149     public List<String> getVariables() {
150         if (variables == null) {
151             variables = new ArrayList<String>();
152         }
153         return this.variables;
154     }
155
156 }