Clover Coverage Report - Kuali Student 1.1 (Aggregated)
Coverage timestamp: Sun Mar 6 2011 20:32:39 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
8   91   8   1
0   51   1   8
8     1  
1    
 
  CluAccreditation       Line # 42 8 0% 8 0 100% 1.0
 
  (13)
 
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    import java.util.List;
20   
21    import javax.persistence.CascadeType;
22    import javax.persistence.Column;
23    import javax.persistence.Entity;
24    import javax.persistence.OneToMany;
25    import javax.persistence.Table;
26    import javax.persistence.Temporal;
27    import javax.persistence.TemporalType;
28   
29    import org.kuali.student.core.entity.AttributeOwner;
30    import org.kuali.student.core.entity.MetaEntity;
31   
32    /**
33    * This is a description of what this class does - hjohnson don't forget to fill
34    * this in.
35    *
36    * @author Kuali Student Team (kuali-student@googlegroups.com)
37    *
38    */
39   
40    @Entity
41    @Table(name = "KSLU_CLU_ACCRED")
 
42    public class CluAccreditation extends MetaEntity implements
43    AttributeOwner<CluAccreditationAttribute> {
44   
45    @Column(name = "ORG_ID")
46    private String orgId;
47   
48    @Temporal(TemporalType.TIMESTAMP)
49    @Column(name = "EFF_DT")
50    private Date effectiveDate;
51   
52    @Temporal(TemporalType.TIMESTAMP)
53    @Column(name = "EXPIR_DT")
54    private Date expirationDate;
55   
56    @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
57    private List<CluAccreditationAttribute> attributes;
58   
 
59  166 toggle public List<CluAccreditationAttribute> getAttributes() {
60  166 return attributes;
61    }
62   
 
63  51 toggle public void setAttributes(List<CluAccreditationAttribute> attributes) {
64  51 this.attributes = attributes;
65    }
66   
 
67  73 toggle public String getOrgId() {
68  73 return orgId;
69    }
70   
 
71  31 toggle public void setOrgId(String orgId) {
72  31 this.orgId = orgId;
73    }
74   
 
75  73 toggle public Date getEffectiveDate() {
76  73 return effectiveDate;
77    }
78   
 
79  31 toggle public void setEffectiveDate(Date effectiveDate) {
80  31 this.effectiveDate = effectiveDate;
81    }
82   
 
83  73 toggle public Date getExpirationDate() {
84  73 return expirationDate;
85    }
86   
 
87  31 toggle public void setExpirationDate(Date expirationDate) {
88  31 this.expirationDate = expirationDate;
89    }
90   
91    }