Clover Coverage Report - KS LUM 1.3.0-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Apr 28 2011 06:51:40 EDT
../../../../../../img/srcFileCovDistChart0.png 0% of files have more coverage
10   64   10   1
0   42   1   10
10     1  
1    
 
  ProgramRegistry       Line # 13 10 0% 10 20 0% 0.0
 
No Tests
 
1    package org.kuali.student.lum.program.client;
2   
3    import com.google.gwt.event.shared.EventHandler;
4    import com.google.gwt.event.shared.GwtEvent;
5   
6    import org.kuali.student.common.assembly.data.Data;
7   
8    import java.util.HashMap;
9   
10    /**
11    * @author Igor
12    */
 
13    public class ProgramRegistry {
14   
15    private static Data data;
16   
17    private static int row;
18   
19    private static Enum<?> section;
20   
21    private static HashMap<GwtEvent.Type, EventHandler> specializationHandlers = new HashMap<GwtEvent.Type, EventHandler>();
22   
23    private static boolean createNew = false;
24   
 
25  0 toggle public static Data getData() {
26  0 return data;
27    }
28   
 
29  0 toggle public static void setData(Data data) {
30  0 ProgramRegistry.data = data;
31    }
32   
 
33  0 toggle public static int getRow() {
34  0 return row;
35    }
36   
 
37  0 toggle public static void setRow(int row) {
38  0 ProgramRegistry.row = row;
39    }
40   
 
41  0 toggle public static Enum<?> getSection() {
42  0 return section;
43    }
44   
 
45  0 toggle public static void setSection(Enum<?> section) {
46  0 ProgramRegistry.section = section;
47    }
48   
 
49  0 toggle public static void addHandler(GwtEvent.Type<?> type, EventHandler handler) {
50  0 specializationHandlers.put(type, handler);
51    }
52   
 
53  0 toggle public static HashMap<GwtEvent.Type, EventHandler> getSpecializationHandlers() {
54  0 return specializationHandlers;
55    }
56   
 
57  0 toggle public static boolean isCreateNew() {
58  0 return createNew;
59    }
60   
 
61  0 toggle public static void setCreateNew(boolean createNew) {
62  0 ProgramRegistry.createNew = createNew;
63    }
64    }