2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.mso.bpmn.common.adapter.vnf;
23 import javax.xml.bind.annotation.XmlAccessType;
24 import javax.xml.bind.annotation.XmlAccessorType;
25 import javax.xml.bind.annotation.XmlType;
29 * <p>Java class for vnfRollback complex type.
31 * <p>The following schema fragment specifies the expected content contained within this class.
34 * <complexType name="vnfRollback">
36 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 * <element name="cloudSiteId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
39 * <element name="msoRequest" type="{http://org.openecomp.mso/vnfNotify}msoRequest" minOccurs="0"/>
40 * <element name="tenantCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
41 * <element name="tenantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
42 * <element name="vnfCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
43 * <element name="vnfId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
46 * </complexContent>
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "vnfRollback", propOrder = {
61 public class VnfRollback {
63 protected String cloudSiteId;
64 protected MsoRequest msoRequest;
65 protected boolean tenantCreated;
66 protected String tenantId;
67 protected boolean vnfCreated;
68 protected String vnfId;
71 * Gets the value of the cloudSiteId property.
78 public String getCloudSiteId() {
83 * Sets the value of the cloudSiteId property.
90 public void setCloudSiteId(String value) {
91 this.cloudSiteId = value;
95 * Gets the value of the msoRequest property.
102 public MsoRequest getMsoRequest() {
107 * Sets the value of the msoRequest property.
111 * {@link MsoRequest }
114 public void setMsoRequest(MsoRequest value) {
115 this.msoRequest = value;
119 * Gets the value of the tenantCreated property.
122 public boolean isTenantCreated() {
123 return tenantCreated;
127 * Sets the value of the tenantCreated property.
130 public void setTenantCreated(boolean value) {
131 this.tenantCreated = value;
135 * Gets the value of the tenantId property.
142 public String getTenantId() {
147 * Sets the value of the tenantId property.
154 public void setTenantId(String value) {
155 this.tenantId = value;
159 * Gets the value of the vnfCreated property.
162 public boolean isVnfCreated() {
167 * Sets the value of the vnfCreated property.
170 public void setVnfCreated(boolean value) {
171 this.vnfCreated = value;
175 * Gets the value of the vnfId property.
182 public String getVnfId() {
187 * Sets the value of the vnfId property.
194 public void setVnfId(String value) {
198 public String toString() {
199 String msoRequestElement = msoRequest == null ? ""
200 : "<msoRequest>"+msoRequest+"</msoRequest>" + '\n';
203 "<cloudSiteId>"+cloudSiteId+"</cloudSiteId>" + '\n' +
205 "<tenantCreated>"+tenantCreated+"</tenantCreated>" + '\n' +
206 "<tenantId>"+tenantId+"</tenantId>" + '\n' +
207 "<vnfCreated>"+vnfCreated+"</vnfCreated>" + '\n' +
208 "<vnfId>"+vnfId+"</vnfId>";