1 |
|
package org.kuali.student.lum.program.client.events; |
2 |
|
|
3 |
|
import com.google.gwt.event.shared.EventHandler; |
4 |
|
import com.google.gwt.event.shared.GwtEvent; |
5 |
|
|
6 |
|
import java.util.List; |
7 |
|
|
|
|
| 0% |
Uncovered Elements: 14 (14) |
Complexity: 6 |
Complexity Density: 0.75 |
|
8 |
|
public class StoreRequirementIDsEvent extends GwtEvent<StoreRequirementIDsEvent.Handler> { |
9 |
|
|
10 |
|
public static Type<Handler> TYPE = new Type<Handler>(); |
11 |
|
private String programId; |
12 |
|
private String programType; |
13 |
|
private List<String> programRequirementIds; |
14 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 1 |
Complexity Density: 0.33 |
|
15 |
0
|
public StoreRequirementIDsEvent(String programId, String programType, List<String> programRequirementIds) {... |
16 |
0
|
this.programId = programId; |
17 |
0
|
this.programType = programType; |
18 |
0
|
this.programRequirementIds = programRequirementIds; |
19 |
|
} |
20 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
21 |
0
|
@Override... |
22 |
|
public Type<Handler> getAssociatedType() { |
23 |
0
|
return TYPE; |
24 |
|
} |
25 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
26 |
0
|
@Override... |
27 |
|
protected void dispatch(Handler handler) { |
28 |
0
|
handler.onEvent(this); |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0
|
public String getProgramId() {... |
32 |
0
|
return programId; |
33 |
|
} |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
35 |
0
|
public String getProgramType() {... |
36 |
0
|
return programType; |
37 |
|
} |
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public List<String> getProgramRequirementIds() {... |
40 |
0
|
return programRequirementIds; |
41 |
|
} |
42 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
43 |
|
public static interface Handler extends EventHandler { |
44 |
|
void onEvent(StoreRequirementIDsEvent event); |
45 |
|
} |
46 |
|
} |