Clover Coverage Report - Kuali Student 1.2.1-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Nov 2 2011 04:03:58 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
12   105   12   1
0   67   1   12
12     1  
1    
 
  ResultOption       Line # 33 12 0% 12 0 100% 1.0
 
  (27)
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.lum.lu.entity;
17   
18    import java.util.Date;
19   
20    import javax.persistence.CascadeType;
21    import javax.persistence.Column;
22    import javax.persistence.Entity;
23    import javax.persistence.JoinColumn;
24    import javax.persistence.ManyToOne;
25    import javax.persistence.Table;
26    import javax.persistence.Temporal;
27    import javax.persistence.TemporalType;
28   
29    import org.kuali.student.common.entity.MetaEntity;
30   
31    @Entity
32    @Table(name = "KSLU_RSLT_OPT")
 
33    public class ResultOption extends MetaEntity {
34   
35    @ManyToOne(cascade=CascadeType.ALL)
36    @JoinColumn(name="RES_USAGE_ID")
37    private ResultUsageType resultUsageType;
38   
39    @Column(name = "RES_COMP_ID")
40    private String resultComponentId;
41   
42    @ManyToOne(cascade=CascadeType.ALL)
43    @JoinColumn(name = "RT_DESCR_ID")
44    private LuRichText desc;
45   
46    @Temporal(TemporalType.TIMESTAMP)
47    @Column(name = "EFF_DT")
48    private Date effectiveDate;
49   
50    @Temporal(TemporalType.TIMESTAMP)
51    @Column(name = "EXPIR_DT")
52    private Date expirationDate;
53   
54    @Column(name = "ST")
55    private String state;
56   
 
57  326 toggle public ResultUsageType getResultUsageType() {
58  326 return resultUsageType;
59    }
60   
 
61  1 toggle public void setResultUsageType(ResultUsageType resultUsageType) {
62  1 this.resultUsageType = resultUsageType;
63    }
64   
 
65  324 toggle public String getResultComponentId() {
66  324 return resultComponentId;
67    }
68   
 
69  152 toggle public void setResultComponentId(String resultComponentId) {
70  152 this.resultComponentId = resultComponentId;
71    }
72   
 
73  324 toggle public LuRichText getDesc() {
74  324 return desc;
75    }
76   
 
77  152 toggle public void setDesc(LuRichText desc) {
78  152 this.desc = desc;
79    }
80   
 
81  324 toggle public Date getEffectiveDate() {
82  324 return effectiveDate;
83    }
84   
 
85  152 toggle public void setEffectiveDate(Date effectiveDate) {
86  152 this.effectiveDate = effectiveDate;
87    }
88   
 
89  324 toggle public Date getExpirationDate() {
90  324 return expirationDate;
91    }
92   
 
93  152 toggle public void setExpirationDate(Date expirationDate) {
94  152 this.expirationDate = expirationDate;
95    }
96   
 
97  324 toggle public String getState() {
98  324 return state;
99    }
100   
 
101  152 toggle public void setState(String state) {
102  152 this.state = state;
103    }
104   
105    }