1
2
3
4
5 package gboat2.serviceflow.service.impl;
6
7
8
9
10
11
12
13
14
15 public class ProcessDefine {
16
17 private int priority;
18
19 private String processId;
20
21 public ProcessDefine(int priority,String processId){
22 this.priority = priority;
23 this.processId = processId;
24 }
25
26 public int getPriority() {
27 return priority;
28 }
29
30 public void setPriority(int priority) {
31 this.priority = priority;
32 }
33
34 public String getProcessId() {
35 return processId;
36 }
37
38 public void setProcessId(String processId) {
39 this.processId = processId;
40 }
41
42 @Override
43 public int hashCode(){
44 return processId.hashCode();
45 }
46 }