Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / mso-infrastructure-bpmn / src / main / java / org / onap / so / bpmn / common / adapter / vnf / VnfRollback.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 package org.onap.so.bpmn.common.adapter.vnf;
22
23 import javax.xml.bind.annotation.XmlAccessType;
24 import javax.xml.bind.annotation.XmlAccessorType;
25 import javax.xml.bind.annotation.XmlType;
26
27
28 /**
29  * <p>
30  * Java class for vnfRollback complex type.
31  * 
32  * <p>
33  * The following schema fragment specifies the expected content contained within this class.
34  * 
35  * <pre>
36  * &lt;complexType name="vnfRollback">
37  *   &lt;complexContent>
38  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39  *       &lt;sequence>
40  *         &lt;element name="cloudSiteId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
41  *         &lt;element name="cloudOwner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
42  *         &lt;element name="msoRequest" type="{http://org.onap.so/vnfNotify}msoRequest" minOccurs="0"/>
43  *         &lt;element name="tenantCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
44  *         &lt;element name="tenantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
45  *         &lt;element name="vnfCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
46  *         &lt;element name="vnfId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
47  *       &lt;/sequence>
48  *     &lt;/restriction>
49  *   &lt;/complexContent>
50  * &lt;/complexType>
51  * </pre>
52  * 
53  * 
54  */
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "vnfRollback",
57         propOrder = {"cloudSiteId", "cloudOwner", "msoRequest", "tenantCreated", "tenantId", "vnfCreated", "vnfId"})
58 public class VnfRollback {
59
60     protected String cloudSiteId;
61     protected String cloudOwner;
62     protected MsoRequest msoRequest;
63     protected boolean tenantCreated;
64     protected String tenantId;
65     protected boolean vnfCreated;
66     protected String vnfId;
67
68     /**
69      * Gets the value of the cloudSiteId property.
70      * 
71      * @return possible object is {@link String }
72      * 
73      */
74     public String getCloudSiteId() {
75         return cloudSiteId;
76     }
77
78     /**
79      * Sets the value of the cloudSiteId property.
80      * 
81      * @param value allowed object is {@link String }
82      * 
83      */
84     public void setCloudSiteId(String value) {
85         this.cloudSiteId = value;
86     }
87
88     /**
89      * Gets the value of the cloudOwner property.
90      * 
91      * @return possible object is {@link String }
92      * 
93      */
94     public String getCloudOwner() {
95         return cloudOwner;
96     }
97
98     /**
99      * Sets the value of the cloudOwner property.
100      * 
101      * @param value allowed object is {@link String }
102      * 
103      */
104     public void setCloudOwner(String value) {
105         this.cloudOwner = value;
106     }
107
108     /**
109      * Gets the value of the msoRequest property.
110      * 
111      * @return possible object is {@link MsoRequest }
112      * 
113      */
114     public MsoRequest getMsoRequest() {
115         return msoRequest;
116     }
117
118     /**
119      * Sets the value of the msoRequest property.
120      * 
121      * @param value allowed object is {@link MsoRequest }
122      * 
123      */
124     public void setMsoRequest(MsoRequest value) {
125         this.msoRequest = value;
126     }
127
128     /**
129      * Gets the value of the tenantCreated property.
130      * 
131      */
132     public boolean isTenantCreated() {
133         return tenantCreated;
134     }
135
136     /**
137      * Sets the value of the tenantCreated property.
138      * 
139      */
140     public void setTenantCreated(boolean value) {
141         this.tenantCreated = value;
142     }
143
144     /**
145      * Gets the value of the tenantId property.
146      * 
147      * @return possible object is {@link String }
148      * 
149      */
150     public String getTenantId() {
151         return tenantId;
152     }
153
154     /**
155      * Sets the value of the tenantId property.
156      * 
157      * @param value allowed object is {@link String }
158      * 
159      */
160     public void setTenantId(String value) {
161         this.tenantId = value;
162     }
163
164     /**
165      * Gets the value of the vnfCreated property.
166      * 
167      */
168     public boolean isVnfCreated() {
169         return vnfCreated;
170     }
171
172     /**
173      * Sets the value of the vnfCreated property.
174      * 
175      */
176     public void setVnfCreated(boolean value) {
177         this.vnfCreated = value;
178     }
179
180     /**
181      * Gets the value of the vnfId property.
182      * 
183      * @return possible object is {@link String }
184      * 
185      */
186     public String getVnfId() {
187         return vnfId;
188     }
189
190     /**
191      * Sets the value of the vnfId property.
192      * 
193      * @param value allowed object is {@link String }
194      * 
195      */
196     public void setVnfId(String value) {
197         this.vnfId = value;
198     }
199
200     public String toString() {
201         String msoRequestElement = msoRequest == null ? "" : "<msoRequest>" + msoRequest + "</msoRequest>" + '\n';
202
203         return "<cloudSiteId>" + cloudSiteId + "</cloudSiteId>" + '\n' + "<cloudOwner>" + cloudOwner + "</cloudOwner>"
204                 + '\n' + msoRequestElement + "<tenantCreated>" + tenantCreated + "</tenantCreated>" + '\n'
205                 + "<tenantId>" + tenantId + "</tenantId>" + '\n' + "<vnfCreated>" + vnfCreated + "</vnfCreated>" + '\n'
206                 + "<vnfId>" + vnfId + "</vnfId>";
207     }
208 }