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 public class NodeGraphContext {
27
28 private RouteNodeInstance previousNodeInstance;
29 private RouteNodeInstance currentNodeInstance;
30 private RouteNodeInstance resultNodeInstance;
31 private Map<String, RouteNodeInstance> visited = new HashMap<String, RouteNodeInstance>();
32 private Map<String, Integer> splitState = new HashMap<String, Integer>();
33
34 public RouteNodeInstance getCurrentNodeInstance() {
35 return currentNodeInstance;
36 }
37 public void setCurrentNodeInstance(RouteNodeInstance currentNodeInstance) {
38 this.currentNodeInstance = currentNodeInstance;
39 }
40 public RouteNodeInstance getPreviousNodeInstance() {
41 return previousNodeInstance;
42 }
43 public void setPreviousNodeInstance(RouteNodeInstance previousNodeInstance) {
44 this.previousNodeInstance = previousNodeInstance;
45 }
46 public RouteNodeInstance getResultNodeInstance() {
47 return resultNodeInstance;
48 }
49 public void setResultNodeInstance(RouteNodeInstance resultNodeInstance) {
50 this.resultNodeInstance = resultNodeInstance;
51 }
52 public Map<String, Integer> getSplitState() {
53 return splitState;
54 }
55 public void setSplitState(Map<String, Integer> splitState) {
56 this.splitState = splitState;
57 }
58 public Map<String, RouteNodeInstance> getVisited() {
59 return visited;
60 }
61 public void setVisited(Map<String, RouteNodeInstance> visited) {
62 this.visited = visited;
63 }
64
65 }