1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
package org.kuali.student.contract.model.test.source; |
14 |
|
|
15 |
|
import java.io.Serializable; |
16 |
|
|
17 |
|
import javax.xml.bind.annotation.XmlAttribute; |
18 |
|
import javax.xml.bind.annotation.XmlTransient; |
19 |
|
|
20 |
|
|
21 |
|
@SuppressWarnings("serial") |
22 |
|
@XmlTransient |
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 3 |
Complexity Density: 0.75 |
|
23 |
|
public abstract class KeyEntityInfo extends EntityInfo implements KeyEntity, Serializable { |
24 |
|
|
25 |
|
@XmlAttribute |
26 |
|
private String key; |
27 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
28 |
0
|
protected KeyEntityInfo() {... |
29 |
0
|
key = null; |
30 |
|
} |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
32 |
0
|
protected KeyEntityInfo(KeyEntity builder) {... |
33 |
0
|
super(builder); |
34 |
0
|
this.key = builder.getKey(); |
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
@Override... |
38 |
|
public String getKey() { |
39 |
0
|
return key; |
40 |
|
} |
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
|
|
| 0% |
Uncovered Elements: 8 (8) |
Complexity: 4 |
Complexity Density: 1 |
|
46 |
|
public static class Builder extends EntityInfo.Builder implements KeyEntity { |
47 |
|
|
48 |
|
private String key; |
49 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
50 |
0
|
public Builder() {}... |
51 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
52 |
0
|
public Builder(KeyEntity entity) {... |
53 |
0
|
super(entity); |
54 |
0
|
this.key = entity.getKey(); |
55 |
|
} |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
@Override... |
58 |
|
public String getKey() { |
59 |
0
|
return key; |
60 |
|
} |
61 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
0
|
public void setKey(String key) {... |
63 |
0
|
this.key = key; |
64 |
|
} |
65 |
|
} |
66 |
|
} |