Replaced all tabs with spaces in java and pom.xml
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / onap / so / bpmn / servicedecomposition / entities / GeneralBuildingBlock.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.servicedecomposition.entities;
22
23 import java.io.Serializable;
24 import java.util.Map;
25 import org.onap.so.bpmn.servicedecomposition.bbobjects.CloudRegion;
26 import org.onap.so.bpmn.servicedecomposition.bbobjects.Customer;
27 import org.onap.so.bpmn.servicedecomposition.bbobjects.ServiceInstance;
28 import org.onap.so.bpmn.servicedecomposition.bbobjects.Tenant;
29 import org.onap.so.bpmn.servicedecomposition.generalobjects.OrchestrationContext;
30 import org.onap.so.bpmn.servicedecomposition.generalobjects.RequestContext;
31
32 public class GeneralBuildingBlock implements Serializable {
33     private static final String INVALID_INPUT_MISSING =
34             "Expected building block input of \"%s\" not found in decomposition";
35     private static final String INVALID_INPUT_CLASS_CAST =
36             "Expected building block input of \"%s\" was the wrong object type in the decomposition";
37
38     private static final long serialVersionUID = -429247436428110843L;
39
40     private RequestContext requestContext;
41     private OrchestrationContext orchContext;
42     private Map<String, String> userInput;
43     private CloudRegion cloudRegion;
44     private Tenant tenant;
45
46     private Customer customer;
47     private ServiceInstance serviceInstance;
48
49
50     public Tenant getTenant() {
51         return tenant;
52     }
53
54     public void setTenant(Tenant tenant) {
55         this.tenant = tenant;
56     }
57
58     public CloudRegion getCloudRegion() {
59         return cloudRegion;
60     }
61
62     public void setCloudRegion(CloudRegion cloudRegion) {
63         this.cloudRegion = cloudRegion;
64     }
65
66     public RequestContext getRequestContext() {
67         return requestContext;
68     }
69
70     public void setRequestContext(RequestContext requestContext) {
71         this.requestContext = requestContext;
72     }
73
74     public OrchestrationContext getOrchContext() {
75         return orchContext;
76     }
77
78     public void setOrchContext(OrchestrationContext orchContext) {
79         this.orchContext = orchContext;
80     }
81
82     public Map<String, String> getUserInput() {
83         return userInput;
84     }
85
86     public void setUserInput(Map<String, String> userInput) {
87         this.userInput = userInput;
88     }
89
90     public Customer getCustomer() {
91         return customer;
92     }
93
94     public void setCustomer(Customer customer) {
95         this.customer = customer;
96     }
97
98     public ServiceInstance getServiceInstance() {
99         return serviceInstance;
100     }
101
102     public void setServiceInstance(ServiceInstance serviceInstance) {
103         this.serviceInstance = serviceInstance;
104     }
105 }