BpmResult.java
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package com.hotent.runtime.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.HashMap;
import java.util.Map;
import com.hotent.bpm.api.constant.DataType;
/**
* 流程执行结果
*
* @company 广州宏天软件股份有限公司
* @author zhangxianwen
* @email zhangxw@jee-soft.cn
* @date 2018年6月28日
*/
@ApiModel(value="流程执行结果")
public class BpmResult {
@ApiModelProperty(name="businessKey",notes="业务主键")
private String businessKey="";
@ApiModelProperty(name="dataType",notes="业务主键类型")
private DataType dataType=DataType.STRING;
@ApiModelProperty(name="vars",notes="流程变量数据")
private Map<String,Object> vars=new HashMap<String, Object>();
public String getBusinessKey() {
return businessKey;
}
public void setBusinessKey(String businessKey) {
this.businessKey = businessKey;
}
public DataType getDataType() {
return dataType;
}
public void setDataType(DataType dataType) {
this.dataType = dataType;
}
public Map<String, Object> getVars() {
return vars;
}
public void setVars(Map<String, Object> vars) {
this.vars = vars;
}
public void addVariable(String name,Object value){
this.vars.put(name, value);
}
}