fix bug - Error 500 while adding an Operation
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / impl / ActivationRequestInformation.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 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.openecomp.sdc.be.components.impl;
22
23 import com.google.common.annotations.VisibleForTesting;
24 import org.openecomp.sdc.be.model.Service;
25
26 /**
27  * Created by chaya on 10/22/2017.
28  */
29 public class ActivationRequestInformation {
30     private Service serviceToActivate;
31     private String workloadContext;
32     private String tenant;
33
34     @VisibleForTesting
35     ActivationRequestInformation() {}
36
37     public ActivationRequestInformation(Service serviceToActivate, String workloadContext, String tenant) {
38         this.serviceToActivate = serviceToActivate;
39         this.workloadContext = workloadContext;
40         this.tenant = tenant;
41     }
42
43     public String getTenant() {
44         return tenant;
45     }
46
47     public void setTenant(String tenant) {
48         this.tenant = tenant;
49     }
50
51     public Service getServiceToActivate() {
52         return serviceToActivate;
53     }
54
55     public void setServiceToActivate(Service serviceToActivate) {
56         this.serviceToActivate = serviceToActivate;
57     }
58
59     public String getWorkloadContext() {
60         return workloadContext;
61     }
62
63     public void setWorkloadContext(String workloadContext) {
64         this.workloadContext = workloadContext;
65     }
66 }