1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.engine.node; |
17 | |
|
18 | |
import java.util.HashMap; |
19 | |
import java.util.Map; |
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | 0 | public class NodeGraphContext { |
27 | |
|
28 | |
private RouteNodeInstance previousNodeInstance; |
29 | |
private RouteNodeInstance currentNodeInstance; |
30 | |
private RouteNodeInstance resultNodeInstance; |
31 | 0 | private Map<String, RouteNodeInstance> visited = new HashMap<String, RouteNodeInstance>(); |
32 | 0 | private Map<String, Integer> splitState = new HashMap<String, Integer>(); |
33 | |
|
34 | |
public RouteNodeInstance getCurrentNodeInstance() { |
35 | 0 | return currentNodeInstance; |
36 | |
} |
37 | |
public void setCurrentNodeInstance(RouteNodeInstance currentNodeInstance) { |
38 | 0 | this.currentNodeInstance = currentNodeInstance; |
39 | 0 | } |
40 | |
public RouteNodeInstance getPreviousNodeInstance() { |
41 | 0 | return previousNodeInstance; |
42 | |
} |
43 | |
public void setPreviousNodeInstance(RouteNodeInstance previousNodeInstance) { |
44 | 0 | this.previousNodeInstance = previousNodeInstance; |
45 | 0 | } |
46 | |
public RouteNodeInstance getResultNodeInstance() { |
47 | 0 | return resultNodeInstance; |
48 | |
} |
49 | |
public void setResultNodeInstance(RouteNodeInstance resultNodeInstance) { |
50 | 0 | this.resultNodeInstance = resultNodeInstance; |
51 | 0 | } |
52 | |
public Map<String, Integer> getSplitState() { |
53 | 0 | return splitState; |
54 | |
} |
55 | |
public void setSplitState(Map<String, Integer> splitState) { |
56 | 0 | this.splitState = splitState; |
57 | 0 | } |
58 | |
public Map<String, RouteNodeInstance> getVisited() { |
59 | 0 | return visited; |
60 | |
} |
61 | |
public void setVisited(Map<String, RouteNodeInstance> visited) { |
62 | 0 | this.visited = visited; |
63 | 0 | } |
64 | |
|
65 | |
} |