abd301fa4d0661a777ffac6fe8bfdb392aff07f2
[so.git] /
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 org.onap.so.serviceinstancebeans.RequestDetails;
25
26 public class ExecuteBuildingBlock implements Serializable {
27
28     private static final long serialVersionUID = 2L;
29     private BuildingBlock buildingBlock;
30     private String requestId;
31     private String apiVersion;
32     private String resourceId;
33     private String requestAction;
34     private String vnfType;
35     private Boolean aLaCarte;
36     private Boolean homing = false;
37     private WorkflowResourceIds workflowResourceIds;
38     private RequestDetails requestDetails;
39     private ConfigurationResourceKeys configurationResourceKeys;
40
41     public BuildingBlock getBuildingBlock() {
42         return buildingBlock;
43     }
44
45     public ExecuteBuildingBlock setBuildingBlock(BuildingBlock buildingBlock) {
46         this.buildingBlock = buildingBlock;
47         return this;
48     }
49
50     public String getRequestId() {
51         return requestId;
52     }
53
54     public ExecuteBuildingBlock setRequestId(String requestId) {
55         this.requestId = requestId;
56         return this;
57     }
58
59     public String getApiVersion() {
60         return apiVersion;
61     }
62
63     public ExecuteBuildingBlock setApiVersion(String apiVersion) {
64         this.apiVersion = apiVersion;
65         return this;
66     }
67
68     public String getResourceId() {
69         return resourceId;
70     }
71
72     public ExecuteBuildingBlock setResourceId(String resourceId) {
73         this.resourceId = resourceId;
74         return this;
75     }
76
77     public String getRequestAction() {
78         return requestAction;
79     }
80
81     public ExecuteBuildingBlock setRequestAction(String requestAction) {
82         this.requestAction = requestAction;
83         return this;
84     }
85
86     public Boolean isaLaCarte() {
87         return aLaCarte;
88     }
89
90     public ExecuteBuildingBlock setaLaCarte(Boolean aLaCarte) {
91         this.aLaCarte = aLaCarte;
92         return this;
93     }
94
95     public String getVnfType() {
96         return vnfType;
97     }
98
99     public ExecuteBuildingBlock setVnfType(String vnfType) {
100         this.vnfType = vnfType;
101         return this;
102     }
103
104     public Boolean isHoming() {
105         return homing;
106     }
107
108     public ExecuteBuildingBlock setHoming(Boolean homing) {
109         this.homing = homing;
110         return this;
111     }
112
113     public WorkflowResourceIds getWorkflowResourceIds() {
114         return workflowResourceIds;
115     }
116
117     public ExecuteBuildingBlock setWorkflowResourceIds(WorkflowResourceIds workflowResourceIds) {
118         this.workflowResourceIds = workflowResourceIds;
119         return this;
120     }
121
122     public RequestDetails getRequestDetails() {
123         return requestDetails;
124     }
125
126     public ExecuteBuildingBlock setRequestDetails(RequestDetails requestDetails) {
127         this.requestDetails = requestDetails;
128         return this;
129     }
130
131     public ConfigurationResourceKeys getConfigurationResourceKeys() {
132         return configurationResourceKeys;
133     }
134
135     public ExecuteBuildingBlock setConfigurationResourceKeys(ConfigurationResourceKeys configurationResourceKeys) {
136         this.configurationResourceKeys = configurationResourceKeys;
137         return this;
138     }
139 }