Merge "Reorder modifiers"
[so.git] / common / src / main / java / org / openecomp / mso / serviceinstancebeans / RequestError.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.04.07 at 08:25:52 AM CDT 
26 //
27
28
29 package org.openecomp.mso.serviceinstancebeans;
30
31 import javax.xml.bind.annotation.XmlAccessType;
32 import javax.xml.bind.annotation.XmlAccessorType;
33 import javax.xml.bind.annotation.XmlRootElement;
34 import javax.xml.bind.annotation.XmlType;
35 import org.apache.commons.lang3.builder.ToStringBuilder;
36
37
38 /**
39  * <p>Java class for anonymous complex type.
40  * 
41  * <p>The following schema fragment specifies the expected content contained within this class.
42  * 
43  * <pre>
44  * &lt;complexType>
45  *   &lt;complexContent>
46  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
47  *       &lt;sequence>
48  *         &lt;choice>
49  *           &lt;element name="policyException" type="{http://org.openecomp/mso/request/types/v1}policyException"/>
50  *           &lt;element name="serviceException" type="{http://org.openecomp/mso/request/types/v1}serviceException"/>
51  *         &lt;/choice>
52  *       &lt;/sequence>
53  *     &lt;/restriction>
54  *   &lt;/complexContent>
55  * &lt;/complexType>
56  * </pre>
57  * 
58  * 
59  */
60 @XmlAccessorType(XmlAccessType.FIELD)
61 @XmlType(name = "", propOrder = {
62     "policyException",
63     "serviceException"
64 })
65 @XmlRootElement(name = "requestError")
66 public class RequestError {
67
68     protected PolicyException policyException;
69     protected ServiceException serviceException;
70
71     /**
72      * Gets the value of the policyException property.
73      * 
74      * @return
75      *     possible object is
76      *     {@link PolicyException }
77      *     
78      */
79     public PolicyException getPolicyException() {
80         return policyException;
81     }
82
83     /**
84      * Sets the value of the policyException property.
85      * 
86      * @param value
87      *     allowed object is
88      *     {@link PolicyException }
89      *     
90      */
91     public void setPolicyException(PolicyException value) {
92         this.policyException = value;
93     }
94
95     /**
96      * Gets the value of the serviceException property.
97      * 
98      * @return
99      *     possible object is
100      *     {@link ServiceException }
101      *     
102      */
103     public ServiceException getServiceException() {
104         return serviceException;
105     }
106
107     /**
108      * Sets the value of the serviceException property.
109      * 
110      * @param value
111      *     allowed object is
112      *     {@link ServiceException }
113      *     
114      */
115     public void setServiceException(ServiceException value) {
116         this.serviceException = value;
117     }
118
119         @Override
120         public String toString() {
121                 return new ToStringBuilder(this).append("policyException", policyException)
122                                 .append("serviceException", serviceException).toString();
123         }
124
125 }