1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package mocks; |
18 |
|
|
19 |
|
import java.io.Serializable; |
20 |
|
|
|
|
| 0% |
Uncovered Elements: 23 (23) |
Complexity: 10 |
Complexity Density: 0.77 |
|
21 |
|
public class MockOrganization implements Serializable { |
22 |
|
|
23 |
|
private static final long serialVersionUID = 295309153521813643L; |
24 |
|
|
25 |
|
private String finCoaCd; |
26 |
|
private String orgCd; |
27 |
|
private String reportsToChart; |
28 |
|
private String reportsToOrg; |
29 |
|
|
|
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
30 |
0
|
public MockOrganization(String finCoaCd, String orgCd, String reportsToChart, String reportsToOrg) {... |
31 |
0
|
this.finCoaCd = finCoaCd; |
32 |
0
|
this.orgCd = orgCd; |
33 |
0
|
this.reportsToChart = reportsToChart; |
34 |
0
|
this.reportsToOrg = reportsToOrg; |
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
public String getFinCoaCd() {... |
38 |
0
|
return finCoaCd; |
39 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
public void setFinCoaCd(String chart) {... |
41 |
0
|
this.finCoaCd = chart; |
42 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public String getOrgCd() {... |
44 |
0
|
return orgCd; |
45 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0
|
public void setOrgCd(String org) {... |
47 |
0
|
this.orgCd = org; |
48 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
public String getReportsToChart() {... |
50 |
0
|
return reportsToChart; |
51 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
0
|
public void setReportsToChart(String reportsToChart) {... |
53 |
0
|
this.reportsToChart = reportsToChart; |
54 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public String getReportsToOrg() {... |
56 |
0
|
return reportsToOrg; |
57 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
58 |
0
|
public void setReportsToOrg(String reportsToOrg) {... |
59 |
0
|
this.reportsToOrg = reportsToOrg; |
60 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
61 |
0
|
public boolean hasParent() {... |
62 |
0
|
return !(getFinCoaCd().equals(getReportsToChart()) && getOrgCd().equals(getReportsToOrg())); |
63 |
|
} |
64 |
|
} |