1852485083db42d4f9f1024fa5e5a605ae90529e
[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.WorkflowResourceIds;
26 import org.onap.so.db.catalog.beans.macro.OrchestrationFlow;
27 import org.onap.so.serviceinstancebeans.RequestDetails;
28 import org.onap.so.serviceinstancebeans.ServiceInstancesRequest;
29
30 public class ConfigBuildingBlocksDataObject {
31
32     private ServiceInstancesRequest sIRequest;
33     private List<OrchestrationFlow> orchFlows;
34     private String requestId;
35     private Resource resourceKey;
36     private String apiVersion;
37     private String resourceId;
38     private String requestAction;
39     private boolean aLaCarte;
40     private String vnfType;
41     private WorkflowResourceIds workflowResourceIds;
42     private RequestDetails requestDetails;
43     private DelegateExecution execution;
44
45     public ServiceInstancesRequest getsIRequest() {
46         return sIRequest;
47     }
48
49     public ConfigBuildingBlocksDataObject setsIRequest(ServiceInstancesRequest sIRequest) {
50         this.sIRequest = sIRequest;
51         return this;
52     }
53
54     public List<OrchestrationFlow> getOrchFlows() {
55         return orchFlows;
56     }
57
58     public ConfigBuildingBlocksDataObject setOrchFlows(List<OrchestrationFlow> orchFlows) {
59         this.orchFlows = orchFlows;
60         return this;
61     }
62
63     public String getRequestId() {
64         return requestId;
65     }
66
67     public ConfigBuildingBlocksDataObject setRequestId(String requestId) {
68         this.requestId = requestId;
69         return this;
70     }
71
72     public Resource getResourceKey() {
73         return resourceKey;
74     }
75
76     public ConfigBuildingBlocksDataObject setResourceKey(Resource resourceKey) {
77         this.resourceKey = resourceKey;
78         return this;
79     }
80
81     public String getApiVersion() {
82         return apiVersion;
83     }
84
85     public ConfigBuildingBlocksDataObject setApiVersion(String apiVersion) {
86         this.apiVersion = apiVersion;
87         return this;
88     }
89
90     public String getResourceId() {
91         return resourceId;
92     }
93
94     public ConfigBuildingBlocksDataObject setResourceId(String resourceId) {
95         this.resourceId = resourceId;
96         return this;
97     }
98
99     public String getRequestAction() {
100         return requestAction;
101     }
102
103     public ConfigBuildingBlocksDataObject setRequestAction(String requestAction) {
104         this.requestAction = requestAction;
105         return this;
106     }
107
108     public boolean isaLaCarte() {
109         return aLaCarte;
110     }
111
112     public ConfigBuildingBlocksDataObject setaLaCarte(boolean aLaCarte) {
113         this.aLaCarte = aLaCarte;
114         return this;
115     }
116
117     public String getVnfType() {
118         return vnfType;
119     }
120
121     public ConfigBuildingBlocksDataObject setVnfType(String vnfType) {
122         this.vnfType = vnfType;
123         return this;
124     }
125
126     public WorkflowResourceIds getWorkflowResourceIds() {
127         return workflowResourceIds;
128     }
129
130     public ConfigBuildingBlocksDataObject setWorkflowResourceIds(WorkflowResourceIds workflowResourceIds) {
131         this.workflowResourceIds = workflowResourceIds;
132         return this;
133     }
134
135     public RequestDetails getRequestDetails() {
136         return requestDetails;
137     }
138
139     public ConfigBuildingBlocksDataObject setRequestDetails(RequestDetails requestDetails) {
140         this.requestDetails = requestDetails;
141         return this;
142     }
143
144     public DelegateExecution getExecution() {
145         return execution;
146     }
147
148     public ConfigBuildingBlocksDataObject setExecution(DelegateExecution execution) {
149         this.execution = execution;
150         return this;
151     }
152
153
154
155 }