b9450552a6604c87ee70fc4cb7fe985229927ef6
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / 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.apihandlerinfra.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
36
37 /**
38  * <p>Java class for anonymous complex type.
39  * 
40  * <p>The following schema fragment specifies the expected content contained within this class.
41  * 
42  * <pre>
43  * &lt;complexType>
44  *   &lt;complexContent>
45  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
46  *       &lt;sequence>
47  *         &lt;choice>
48  *           &lt;element name="policyException" type="{http://org.openecomp/mso/request/types/v1}policyException"/>
49  *           &lt;element name="serviceException" type="{http://org.openecomp/mso/request/types/v1}serviceException"/>
50  *         &lt;/choice>
51  *       &lt;/sequence>
52  *     &lt;/restriction>
53  *   &lt;/complexContent>
54  * &lt;/complexType>
55  * </pre>
56  * 
57  * 
58  */
59 @XmlAccessorType(XmlAccessType.FIELD)
60 @XmlType(name = "", propOrder = {
61     "policyException",
62     "serviceException"
63 })
64 @XmlRootElement(name = "requestError")
65 public class RequestError {
66
67     protected PolicyException policyException;
68     protected ServiceException serviceException;
69
70     /**
71      * Gets the value of the policyException property.
72      * 
73      * @return
74      *     possible object is
75      *     {@link PolicyException }
76      *     
77      */
78     public PolicyException getPolicyException() {
79         return policyException;
80     }
81
82     /**
83      * Sets the value of the policyException property.
84      * 
85      * @param value
86      *     allowed object is
87      *     {@link PolicyException }
88      *     
89      */
90     public void setPolicyException(PolicyException value) {
91         this.policyException = value;
92     }
93
94     /**
95      * Gets the value of the serviceException property.
96      * 
97      * @return
98      *     possible object is
99      *     {@link ServiceException }
100      *     
101      */
102     public ServiceException getServiceException() {
103         return serviceException;
104     }
105
106     /**
107      * Sets the value of the serviceException property.
108      * 
109      * @param value
110      *     allowed object is
111      *     {@link ServiceException }
112      *     
113      */
114     public void setServiceException(ServiceException value) {
115         this.serviceException = value;
116     }
117
118 }