Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / 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.onap.so.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 import com.fasterxml.jackson.annotation.JsonRootName;
37
38
39 /**
40  * <p>
41  * Java class for anonymous complex type.
42  * 
43  * <p>
44  * The following schema fragment specifies the expected content contained within this class.
45  * 
46  * <pre>
47  * &lt;complexType>
48  *   &lt;complexContent>
49  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50  *       &lt;sequence>
51  *         &lt;choice>
52  *           &lt;element name="policyException" type="{http://org.onap/so/request/types/v1}policyException"/>
53  *           &lt;element name="serviceException" type="{http://org.onap/so/request/types/v1}serviceException"/>
54  *         &lt;/choice>
55  *       &lt;/sequence>
56  *     &lt;/restriction>
57  *   &lt;/complexContent>
58  * &lt;/complexType>
59  * </pre>
60  * 
61  * 
62  */
63 @XmlAccessorType(XmlAccessType.FIELD)
64 @XmlType(name = "", propOrder = {"policyException", "serviceException"})
65 @XmlRootElement(name = "requestError")
66 @JsonRootName(value = "requestError")
67 public class RequestError {
68
69     protected PolicyException policyException;
70     protected ServiceException serviceException;
71
72     /**
73      * Gets the value of the policyException property.
74      * 
75      * @return possible object is {@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 allowed object is {@link PolicyException }
86      * 
87      */
88     public void setPolicyException(PolicyException value) {
89         this.policyException = value;
90     }
91
92     /**
93      * Gets the value of the serviceException property.
94      * 
95      * @return possible object is {@link ServiceException }
96      * 
97      */
98     public ServiceException getServiceException() {
99         return serviceException;
100     }
101
102     /**
103      * Sets the value of the serviceException property.
104      * 
105      * @param value allowed object is {@link ServiceException }
106      * 
107      */
108     public void setServiceException(ServiceException value) {
109         this.serviceException = value;
110     }
111
112     @Override
113     public String toString() {
114         return new ToStringBuilder(this).append("policyException", policyException)
115                 .append("serviceException", serviceException).toString();
116     }
117
118 }