1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.common.messagebuilder.booleanmessage; |
17 |
|
|
18 |
|
import java.util.HashMap; |
19 |
|
import java.util.Map; |
20 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 3 |
Complexity Density: 1 |
|
21 |
|
public class MessageContainer { |
22 |
|
private Map<String, BooleanMessage> messageMap = new HashMap<String, BooleanMessage>(); |
23 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
24 |
0
|
public void addMessage(BooleanMessage message) {... |
25 |
0
|
this.messageMap.put(message.getMessageId(), message); |
26 |
|
} |
27 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
28 |
0
|
public BooleanMessage getMessage(String id) {... |
29 |
0
|
return this.messageMap.get(id); |
30 |
|
} |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0
|
public Map<String, BooleanMessage> getMessageMap() {... |
33 |
0
|
return this.messageMap; |
34 |
|
} |
35 |
|
} |