Clover Coverage Report - Kuali Student 1.2-M4-SNAPSHOT (Aggregated)
Coverage timestamp: Wed Jul 20 2011 11:14:35 EDT
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
6   72   6   1
0   43   1   6
6     1  
1    
 
  CluFee       Line # 34 6 0% 6 0 100% 1.0
 
  (35)
 
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.List;
19   
20    import javax.persistence.CascadeType;
21    import javax.persistence.Entity;
22    import javax.persistence.JoinColumn;
23    import javax.persistence.JoinTable;
24    import javax.persistence.ManyToMany;
25    import javax.persistence.OneToMany;
26    import javax.persistence.OneToOne;
27    import javax.persistence.Table;
28   
29    import org.kuali.student.common.entity.AttributeOwner;
30    import org.kuali.student.common.entity.MetaEntity;
31   
32    @Entity
33    @Table(name = "KSLU_CLU_FEE")
 
34    public class CluFee extends MetaEntity implements
35    AttributeOwner<CluFeeAttribute> {
36   
37    @ManyToMany(cascade = CascadeType.ALL)
38    @JoinTable(name = "KSLU_CLU_FEE_JN_CLU_FEE_REC", joinColumns = @JoinColumn(name = "CLU_FEE_ID"), inverseJoinColumns = @JoinColumn(name = "CLU_FEE_REC_ID"))
39    private List<CluFeeRecord> cluFeeRecords;
40   
41    @OneToOne(cascade=CascadeType.ALL)
42    @JoinColumn(name = "RT_DESCR_ID")
43    private LuRichText descr;
44   
45    @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
46    private List<CluFeeAttribute> attributes;
47   
 
48  223 toggle public List<CluFeeAttribute> getAttributes() {
49  223 return attributes;
50    }
51   
 
52  62 toggle public void setAttributes(List<CluFeeAttribute> attributes) {
53  62 this.attributes = attributes;
54    }
55   
 
56  411 toggle public List<CluFeeRecord> getCluFeeRecords() {
57  411 return this.cluFeeRecords;
58    }
59   
 
60  26 toggle public void setCluFeeRecords(List<CluFeeRecord> cluFeeRecords) {
61  26 this.cluFeeRecords = cluFeeRecords;
62    }
63   
 
64  187 toggle public LuRichText getDescr() {
65  187 return descr;
66    }
67   
 
68  26 toggle public void setDescr(LuRichText descr) {
69  26 this.descr = descr;
70    }
71   
72    }