1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.core.assembly.util; |
17 |
|
|
18 |
|
import java.util.HashMap; |
19 |
|
import java.util.Map; |
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
@author |
25 |
|
|
26 |
|
|
|
|
| 0% |
Uncovered Elements: 18 (18) |
Complexity: 9 |
Complexity Density: 1 |
|
27 |
|
public class IdTranslation { |
28 |
|
private String id; |
29 |
|
private String display; |
30 |
|
private Map<String, String> attributes = new HashMap<String, String>(); |
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
31 |
0
|
public IdTranslation() {... |
32 |
|
|
33 |
|
} |
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
34 |
0
|
public IdTranslation(String id, String display) {... |
35 |
0
|
this.id = id; |
36 |
0
|
this.display = display; |
37 |
|
} |
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public void addAttribute(String key, String value) {... |
40 |
0
|
attributes.put(key, value); |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public String getId() {... |
44 |
0
|
return id; |
45 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0
|
public void setId(String id) {... |
47 |
0
|
this.id = id; |
48 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
public String getDisplay() {... |
50 |
0
|
return display; |
51 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
0
|
public void setDisplay(String display) {... |
53 |
0
|
this.display = display; |
54 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public Map<String, String> getAttributes() {... |
56 |
0
|
return attributes; |
57 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
58 |
0
|
public void setAttributes(Map<String, String> attributes) {... |
59 |
0
|
this.attributes = attributes; |
60 |
|
} |
61 |
|
|
62 |
|
} |