AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / serviceinstancebeans / RequestError.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ============LICENSE_END=========================================================\r
19  */\r
20 \r
21 //\r
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 \r
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
24 // Any modifications to this file will be lost upon recompilation of the source schema. \r
25 // Generated on: 2016.04.07 at 08:25:52 AM CDT \r
26 //\r
27 \r
28 \r
29 package org.openecomp.mso.serviceinstancebeans;\r
30 \r
31 import javax.xml.bind.annotation.XmlAccessType;\r
32 import javax.xml.bind.annotation.XmlAccessorType;\r
33 import javax.xml.bind.annotation.XmlRootElement;\r
34 import javax.xml.bind.annotation.XmlType;\r
35 \r
36 \r
37 /**\r
38  * <p>Java class for anonymous complex type.\r
39  * \r
40  * <p>The following schema fragment specifies the expected content contained within this class.\r
41  * \r
42  * <pre>\r
43  * &lt;complexType>\r
44  *   &lt;complexContent>\r
45  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">\r
46  *       &lt;sequence>\r
47  *         &lt;choice>\r
48  *           &lt;element name="policyException" type="{http://org.openecomp/mso/request/types/v1}policyException"/>\r
49  *           &lt;element name="serviceException" type="{http://org.openecomp/mso/request/types/v1}serviceException"/>\r
50  *         &lt;/choice>\r
51  *       &lt;/sequence>\r
52  *     &lt;/restriction>\r
53  *   &lt;/complexContent>\r
54  * &lt;/complexType>\r
55  * </pre>\r
56  * \r
57  * \r
58  */\r
59 @XmlAccessorType(XmlAccessType.FIELD)\r
60 @XmlType(name = "", propOrder = {\r
61     "policyException",\r
62     "serviceException"\r
63 })\r
64 @XmlRootElement(name = "requestError")\r
65 public class RequestError {\r
66 \r
67     protected PolicyException policyException;\r
68     protected ServiceException serviceException;\r
69 \r
70     /**\r
71      * Gets the value of the policyException property.\r
72      * \r
73      * @return\r
74      *     possible object is\r
75      *     {@link PolicyException }\r
76      *     \r
77      */\r
78     public PolicyException getPolicyException() {\r
79         return policyException;\r
80     }\r
81 \r
82     /**\r
83      * Sets the value of the policyException property.\r
84      * \r
85      * @param value\r
86      *     allowed object is\r
87      *     {@link PolicyException }\r
88      *     \r
89      */\r
90     public void setPolicyException(PolicyException value) {\r
91         this.policyException = value;\r
92     }\r
93 \r
94     /**\r
95      * Gets the value of the serviceException property.\r
96      * \r
97      * @return\r
98      *     possible object is\r
99      *     {@link ServiceException }\r
100      *     \r
101      */\r
102     public ServiceException getServiceException() {\r
103         return serviceException;\r
104     }\r
105 \r
106     /**\r
107      * Sets the value of the serviceException property.\r
108      * \r
109      * @param value\r
110      *     allowed object is\r
111      *     {@link ServiceException }\r
112      *     \r
113      */\r
114     public void setServiceException(ServiceException value) {\r
115         this.serviceException = value;\r
116     }\r
117 \r
118 }\r