Clover Coverage Report - Kuali Student 1.1-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:02:59 EST
../../../../../img/srcFileCovDistChart0.png 49% of files have more coverage
7   66   8   0.88
0   47   1.14   8
8     1  
1    
 
  KsMetaInactivatableFromToBase       Line # 11 7 0% 8 15 0% 0.0
 
No Tests
 
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   
 
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   
 
26  0 toggle @Override
27    public Timestamp getActiveAsOfDate() {
28  0 return activeAsOfDate;
29    }
30   
 
31  0 toggle @Override
32    public Timestamp getActiveFromDate() {
33  0 return activeFromDate;
34    }
35   
 
36  0 toggle @Override
37    public Timestamp getActiveToDate() {
38  0 return activeToDate;
39    }
40   
 
41  0 toggle @Override
42    public void setActiveAsOfDate(Timestamp activeAsOfDate) {
43  0 this.activeAsOfDate = activeAsOfDate;
44    }
45   
 
46  0 toggle @Override
47    public void setActiveFromDate(Timestamp from) {
48  0 this.activeFromDate = from;
49    }
50   
 
51  0 toggle @Override
52    public void setActiveToDate(Timestamp to) {
53  0 this.activeToDate = to;
54    }
55   
 
56  0 toggle @Override
57    public boolean isActive() {
58  0 return InactivatableFromToHelper.isActive(this);
59    }
60   
 
61  0 toggle @Override
62    public void setActive(boolean active) {
63    // do nothing
64    }
65   
66    }