1 |
|
package org.kuali.student.core.bo; |
2 |
|
|
3 |
|
import java.sql.Timestamp; |
4 |
|
|
5 |
|
import javax.persistence.Column; |
6 |
|
import javax.persistence.Transient; |
7 |
|
|
8 |
|
import org.kuali.rice.kns.bo.InactivateableFromTo; |
9 |
|
import org.kuali.student.core.bo.util.InactivatableFromToHelper; |
10 |
|
|
|
|
| 0% |
Uncovered Elements: 15 (15) |
Complexity: 8 |
Complexity Density: 1.14 |
|
11 |
|
public class KsMetaInactivatableFromToBase extends KsMetaBusinessObjectBase |
12 |
|
implements InactivateableFromTo { |
13 |
|
|
14 |
|
private static final long serialVersionUID = 6285786348480193634L; |
15 |
|
|
16 |
|
@Column(name = "EFF_DT") |
17 |
|
protected Timestamp activeFromDate; |
18 |
|
|
19 |
|
@Column(name = "EXPIR_DT") |
20 |
|
protected Timestamp activeToDate; |
21 |
|
|
22 |
|
@Transient |
23 |
|
protected Timestamp activeAsOfDate; |
24 |
|
|
25 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
26 |
0
|
@Override... |
27 |
|
public Timestamp getActiveAsOfDate() { |
28 |
0
|
return activeAsOfDate; |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0
|
@Override... |
32 |
|
public Timestamp getActiveFromDate() { |
33 |
0
|
return activeFromDate; |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
@Override... |
37 |
|
public Timestamp getActiveToDate() { |
38 |
0
|
return activeToDate; |
39 |
|
} |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0
|
@Override... |
42 |
|
public void setActiveAsOfDate(Timestamp activeAsOfDate) { |
43 |
0
|
this.activeAsOfDate = activeAsOfDate; |
44 |
|
} |
45 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0
|
@Override... |
47 |
|
public void setActiveFromDate(Timestamp from) { |
48 |
0
|
this.activeFromDate = from; |
49 |
|
} |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0
|
@Override... |
52 |
|
public void setActiveToDate(Timestamp to) { |
53 |
0
|
this.activeToDate = to; |
54 |
|
} |
55 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
0
|
@Override... |
57 |
|
public boolean isActive() { |
58 |
0
|
return InactivatableFromToHelper.isActive(this); |
59 |
|
} |
60 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
61 |
0
|
@Override... |
62 |
|
public void setActive(boolean active) { |
63 |
|
|
64 |
|
} |
65 |
|
|
66 |
|
} |