ProcessVO.java
1.03 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
package com.bootdo.activiti.vo;
import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.ProcessDefinition;
public class ProcessVO {
private String id;
private String name;
private String deploymentId;
public ProcessVO(Deployment processDefinition) {
this.setId(processDefinition.getId());
this.name = processDefinition.getName();
}
public ProcessVO(ProcessDefinition processDefinition) {
this.setId(processDefinition.getId());
this.name = processDefinition.getName();
this.deploymentId = processDefinition.getDeploymentId();
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDeploymentId() {
return deploymentId;
}
public void setDeploymentId(String deploymentId) {
this.deploymentId = deploymentId;
}
}