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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
21 package org.onap.so.bpmn.infrastructure.workflow.tasks;
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;
30 public class ConfigBuildingBlocksDataObject {
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;
45 public ServiceInstancesRequest getsIRequest() {
49 public ConfigBuildingBlocksDataObject setsIRequest(ServiceInstancesRequest sIRequest) {
50 this.sIRequest = sIRequest;
54 public List<OrchestrationFlow> getOrchFlows() {
58 public ConfigBuildingBlocksDataObject setOrchFlows(List<OrchestrationFlow> orchFlows) {
59 this.orchFlows = orchFlows;
63 public String getRequestId() {
67 public ConfigBuildingBlocksDataObject setRequestId(String requestId) {
68 this.requestId = requestId;
72 public Resource getResourceKey() {
76 public ConfigBuildingBlocksDataObject setResourceKey(Resource resourceKey) {
77 this.resourceKey = resourceKey;
81 public String getApiVersion() {
85 public ConfigBuildingBlocksDataObject setApiVersion(String apiVersion) {
86 this.apiVersion = apiVersion;
90 public String getResourceId() {
94 public ConfigBuildingBlocksDataObject setResourceId(String resourceId) {
95 this.resourceId = resourceId;
99 public String getRequestAction() {
100 return requestAction;
103 public ConfigBuildingBlocksDataObject setRequestAction(String requestAction) {
104 this.requestAction = requestAction;
108 public boolean isaLaCarte() {
112 public ConfigBuildingBlocksDataObject setaLaCarte(boolean aLaCarte) {
113 this.aLaCarte = aLaCarte;
117 public String getVnfType() {
121 public ConfigBuildingBlocksDataObject setVnfType(String vnfType) {
122 this.vnfType = vnfType;
126 public WorkflowResourceIds getWorkflowResourceIds() {
127 return workflowResourceIds;
130 public ConfigBuildingBlocksDataObject setWorkflowResourceIds(WorkflowResourceIds workflowResourceIds) {
131 this.workflowResourceIds = workflowResourceIds;
135 public RequestDetails getRequestDetails() {
136 return requestDetails;
139 public ConfigBuildingBlocksDataObject setRequestDetails(RequestDetails requestDetails) {
140 this.requestDetails = requestDetails;
144 public DelegateExecution getExecution() {
148 public ConfigBuildingBlocksDataObject setExecution(DelegateExecution execution) {
149 this.execution = execution;