Remove unnecessary use of Calendar.getInstance()
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / bpmn / common / workflow / service / WorkflowResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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.openecomp.mso.bpmn.common.workflow.service;
22
23 import java.util.Map;
24
25 /**
26  * @version 1.0
27  * Synchronous workflow response bean 
28  *
29  */
30 public class WorkflowResponse {
31
32         private String response;
33         private String message;
34         private String processInstanceID;
35         private Map<String,String> variables;
36         private int messageCode;
37         
38         public String getResponse() {
39                 return response; 
40         }
41         public void setResponse(String response) {
42                 this.response = response;
43         }
44         public String getMessage() {
45                 return message;
46         }
47         public void setMessage(String message) {
48                 this.message = message;
49         }
50         public String getProcessInstanceID() {
51                 return processInstanceID;
52         }
53         public void setProcessInstanceID(String pID) {
54                 this.processInstanceID = pID;
55         }
56         public Map<String, String> getVariables() {
57                 return variables;
58         }
59         public void setVariables(Map<String, String> variables) {
60                 this.variables = variables;
61         }
62         public void setMessageCode(int messageCode) {
63                 this.messageCode = messageCode;
64         }
65         
66         public int getMessageCode() {
67                 return messageCode;
68         }
69 }