Merge "Reorder modifiers"
[so.git] / adapters / mso-adapter-utils / src / main / java / org / openecomp / mso / adapters / vdu / CloudInfo.java
1 /*-\r
2  * ============LICENSE_START=======================================================\r
3  * ONAP - SO\r
4  * ================================================================================\r
5  * Copyright (C) 2018 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 package org.openecomp.mso.adapters.vdu;\r
22 \r
23 /**\r
24  * Cloud information structure for deploying/managing a VDU.  Includes the cloud site\r
25  * as well as tenant information within the site.  Currently this is defined as a \r
26  * cloud site ID. which would map to a CloudConfig entry.\r
27  * Perhaps the CloudConfig entry itself should be provided, instead of requiring each\r
28  * plug-in to query it.\r
29  * \r
30  * The meaning of 'tenant' may differ by cloud provider, but every cloud supports some\r
31  * sort of tenant partitioning.\r
32  * \r
33  */\r
34 public class CloudInfo {\r
35         \r
36         private String cloudSiteId;\r
37         private String tenantId;        \r
38         private String tenantName;//bpmn query and pass\r
39         \r
40         public CloudInfo() {\r
41         }\r
42         \r
43         public CloudInfo (String cloudSiteId, String tenantId, String tenantName) {\r
44                 this.cloudSiteId = cloudSiteId;\r
45                 this.tenantId = tenantId;\r
46                 this.tenantName = tenantName;\r
47         }\r
48         \r
49         public String getCloudSiteId() {\r
50                 return cloudSiteId;\r
51         }\r
52         public void setCloudSiteId(String cloudSiteId) {\r
53                 this.cloudSiteId = cloudSiteId;\r
54         }\r
55         public String getTenantId() {\r
56                 return tenantId;\r
57         }\r
58         public void setTenantId(String tenantId) {\r
59                 this.tenantId = tenantId;\r
60         }\r
61         public String getTenantName() {\r
62                 return tenantName;\r
63         }\r
64         public void setTenantName(String tenantName) {\r
65                 this.tenantName = tenantName;\r
66         }\r
67         \r
68         \r
69 }