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 abstract class KsInactivatableFromToBase extends KsBusinessObjectBase implements InactivateableFromTo { |
12 |
|
|
13 |
|
private static final long serialVersionUID = 1L; |
14 |
|
|
15 |
|
@Column(name = "EFF_DT") |
16 |
|
protected Timestamp activeFromDate; |
17 |
|
|
18 |
|
@Column(name = "EXPIR_DT") |
19 |
|
protected Timestamp activeToDate; |
20 |
|
|
21 |
|
@Transient |
22 |
|
protected Timestamp activeAsOfDate; |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
@link |
27 |
|
|
28 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
29 |
0
|
public boolean isActive() {... |
30 |
0
|
return InactivatableFromToHelper.isActive(this); |
31 |
|
} |
32 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
33 |
0
|
public void setActive(boolean active) {... |
34 |
|
|
35 |
|
} |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
37 |
0
|
public void setActiveFromDate(Timestamp from) {... |
38 |
0
|
this.activeFromDate = from; |
39 |
|
} |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0
|
public void setActiveToDate(Timestamp to) {... |
42 |
0
|
this.activeToDate = to; |
43 |
|
} |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0
|
public Timestamp getActiveFromDate() {... |
46 |
0
|
return this.activeFromDate; |
47 |
|
} |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
public Timestamp getActiveToDate() {... |
50 |
0
|
return this.activeToDate; |
51 |
|
} |
52 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
53 |
0
|
public Timestamp getActiveAsOfDate() {... |
54 |
0
|
return this.activeAsOfDate; |
55 |
|
} |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0
|
public void setActiveAsOfDate(Timestamp activeAsOfDate) {... |
58 |
0
|
this.activeAsOfDate = activeAsOfDate; |
59 |
|
} |
60 |
|
|
61 |
|
} |