Coverage Report - org.kuali.rice.kew.engine.node.NodeGraphContext
 
Classes in this File Line Coverage Branch Coverage Complexity
NodeGraphContext
0%
0/18
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.kew.engine.node;
 17  
 
 18  
 import java.util.HashMap;
 19  
 import java.util.Map;
 20  
 
 21  
 /**
 22  
  * The current context of a search process within a node graph.
 23  
  *
 24  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 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  
 }