e154375d3da3efd610187b29bb93960641d65c4e
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Samsung Electronics Co., Ltd. All rights reserved.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * SPDX-License-Identifier: Apache-2.0
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.bpmn.infrastructure.workflow.tasks;
22
23 import java.util.List;
24 import org.camunda.bpm.engine.delegate.DelegateExecution;
25 import org.onap.so.bpmn.servicedecomposition.entities.BuildingBlockBase;
26 import org.onap.so.bpmn.servicedecomposition.entities.WorkflowResourceIds;
27 import org.onap.so.db.catalog.beans.macro.OrchestrationFlow;
28 import org.onap.so.serviceinstancebeans.RequestDetails;
29 import org.onap.so.serviceinstancebeans.ServiceInstancesRequest;
30 import java.io.Serializable;
31 import java.util.List;
32
33 public class ConfigBuildingBlocksDataObject extends BuildingBlockBase<ConfigBuildingBlocksDataObject>
34         implements Serializable {
35
36     private static final long serialVersionUID = 3L;
37     private DelegateExecution execution;
38     private List<OrchestrationFlow> orchFlows;
39     private Resource resourceKey;
40     private ServiceInstancesRequest sIRequest;
41
42     public ServiceInstancesRequest getsIRequest() {
43         return sIRequest;
44     }
45
46     public ConfigBuildingBlocksDataObject setsIRequest(ServiceInstancesRequest sIRequest) {
47         this.sIRequest = sIRequest;
48         return this;
49     }
50
51     public List<OrchestrationFlow> getOrchFlows() {
52         return orchFlows;
53     }
54
55     public ConfigBuildingBlocksDataObject setOrchFlows(List<OrchestrationFlow> orchFlows) {
56         this.orchFlows = orchFlows;
57         return this;
58     }
59
60     public Resource getResourceKey() {
61         return resourceKey;
62     }
63
64     public ConfigBuildingBlocksDataObject setResourceKey(Resource resourceKey) {
65         this.resourceKey = resourceKey;
66         return this;
67     }
68
69     public DelegateExecution getExecution() {
70         return execution;
71     }
72
73     public ConfigBuildingBlocksDataObject setExecution(DelegateExecution execution) {
74         this.execution = execution;
75         return this;
76     }
77
78
79
80 }