Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-openstack-adapters / src / main / java / org / onap / so / adapters / vnf / VfRollback.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.adapters.vnf;
22
23
24
25 import org.onap.so.entity.MsoRequest;
26
27 public class VfRollback {
28     private String vnfId;
29     private String tenantId;
30     private String cloudSiteId;
31     private boolean tenantCreated = false;
32     private boolean vnfCreated = false;
33     private MsoRequest msoRequest;
34     private String volumeGroupName;
35     private String volumeGroupId;
36     private String requestType;
37     private String volumeGroupHeatStackId;
38     private String baseGroupHeatStackId;
39     private boolean isBase = false;
40     private String vfModuleStackId;
41
42
43     public String getVnfId() {
44         return vnfId;
45     }
46
47     public void setVnfId(String vnfId) {
48         this.vnfId = vnfId;
49     }
50
51     public String getTenantId() {
52         return tenantId;
53     }
54
55     public void setTenantId(String tenantId) {
56         this.tenantId = tenantId;
57     }
58
59     public String getCloudSiteId() {
60         return cloudSiteId;
61     }
62
63     public void setCloudSiteId(String cloudId) {
64         this.cloudSiteId = cloudId;
65     }
66
67     public boolean getTenantCreated() {
68         return tenantCreated;
69     }
70
71     public void setTenantCreated(boolean tenantCreated) {
72         this.tenantCreated = tenantCreated;
73     }
74
75     public boolean getVnfCreated() {
76         return vnfCreated;
77     }
78
79     public void setVnfCreated(boolean vnfCreated) {
80         this.vnfCreated = vnfCreated;
81     }
82
83     public MsoRequest getMsoRequest() {
84         return msoRequest;
85     }
86
87     public void setMsoRequest(MsoRequest msoRequest) {
88         this.msoRequest = msoRequest;
89     }
90
91     public String getVolumeGroupName() {
92         return this.volumeGroupName;
93     }
94
95     public void setVolumeGroupName(String volumeGroupName) {
96         this.volumeGroupName = volumeGroupName;
97     }
98
99     public String getVolumeGroupId() {
100         return this.volumeGroupId;
101     }
102
103     public void setVolumeGroupId(String volumeGroupId) {
104         this.volumeGroupId = volumeGroupId;
105     }
106
107     public String getRequestType() {
108         return this.requestType;
109     }
110
111     public void setRequestType(String requestType) {
112         this.requestType = requestType;
113     }
114
115     public String getVolumeGroupHeatStackId() {
116         return this.volumeGroupHeatStackId;
117     }
118
119     public void setVolumeGroupHeatStackId(String volumeGroupHeatStackId) {
120         this.volumeGroupHeatStackId = volumeGroupHeatStackId;
121     }
122
123     public String getBaseGroupHeatStackId() {
124         return this.baseGroupHeatStackId;
125     }
126
127     public void setBaseGroupHeatStackId(String baseGroupHeatStackId) {
128         this.baseGroupHeatStackId = baseGroupHeatStackId;
129     }
130
131     public boolean isBase() {
132         return this.isBase;
133     }
134
135     public void setIsBase(boolean isBase) {
136         this.isBase = isBase;
137     }
138
139     public String getVfModuleStackId() {
140         return this.vfModuleStackId;
141     }
142
143     public void setVfModuleStackId(String vfModuleStackId) {
144         this.vfModuleStackId = vfModuleStackId;
145     }
146
147     @Override
148     public String toString() {
149         return "VfRollback: cloud=" + cloudSiteId + ", tenant=" + tenantId + ", vnf=" + vnfId + ", tenantCreated="
150                 + tenantCreated + ", vnfCreated=" + vnfCreated + ", requestType = " + requestType
151                 + ", volumeGroupHeatStackId = " + this.volumeGroupHeatStackId;
152     }
153 }