Clover Coverage Report - Kuali Student 1.2-M1-SNAPSHOT (Aggregated)
Coverage timestamp: Fri Mar 4 2011 04:03:38 EST
../../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
12   108   12   1
0   69   1   12
12     1  
1    
 
  CluFeeRecord       Line # 35 12 0% 12 0 100% 1.0
 
  (26)
 
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.Column;
22    import javax.persistence.Entity;
23    import javax.persistence.JoinColumn;
24    import javax.persistence.JoinTable;
25    import javax.persistence.ManyToMany;
26    import javax.persistence.OneToMany;
27    import javax.persistence.OneToOne;
28    import javax.persistence.Table;
29   
30    import org.kuali.student.common.entity.AttributeOwner;
31    import org.kuali.student.common.entity.MetaEntity;
32   
33    @Entity
34    @Table(name = "KSLU_CLU_FEE_REC")
 
35    public class CluFeeRecord extends MetaEntity implements
36    AttributeOwner<CluFeeRecordAttribute> {
37   
38    @Column(name = "FEE_TYPE")
39    private String feeType;
40   
41    @Column(name = "RATE_TYPE")
42    private String rateType;
43   
44    @OneToMany(cascade = CascadeType.ALL)
45    @JoinColumn(name= "CLUE_FEE_REC_ID")
46    private List<CluFeeAmount> feeAmounts;
47   
48    @OneToMany(cascade = CascadeType.ALL, mappedBy = "owner")
49    private List<CluFeeRecordAttribute> attributes;
50   
51    @ManyToMany(cascade=CascadeType.ALL)
52    @JoinTable(name = "KSLU_CLU_FEEREC_JN_AFFIL_ORG", joinColumns = @JoinColumn(name = "CLU_FEE_REC_ID"), inverseJoinColumns = @JoinColumn(name = "AFFIL_ORG_ID"))
53    private List<AffiliatedOrg> affiliatedOrgs;
54   
55    @OneToOne(cascade=CascadeType.ALL)
56    @JoinColumn(name = "RT_DESCR_ID")
57    private LuRichText descr;
58   
 
59  344 toggle public String getFeeType() {
60  344 return feeType;
61    }
62   
 
63  133 toggle public void setFeeType(String feeType) {
64  133 this.feeType = feeType;
65    }
66   
 
67  344 toggle public String getRateType() {
68  344 return rateType;
69    }
70   
 
71  133 toggle public void setRateType(String rateType) {
72  133 this.rateType = rateType;
73    }
74   
 
75  821 toggle public List<CluFeeAmount> getFeeAmounts() {
76  821 return feeAmounts;
77    }
78   
 
79  133 toggle public void setFeeAmounts(List<CluFeeAmount> feeAmounts) {
80  133 this.feeAmounts = feeAmounts;
81    }
82   
 
83  743 toggle public List<CluFeeRecordAttribute> getAttributes() {
84  743 return attributes;
85    }
86   
 
87  230 toggle public void setAttributes(List<CluFeeRecordAttribute> attributes) {
88  230 this.attributes = attributes;
89    }
90   
 
91  477 toggle public List<AffiliatedOrg> getAffiliatedOrgs() {
92  477 return affiliatedOrgs;
93    }
94   
 
95  133 toggle public void setAffiliatedOrgs(List<AffiliatedOrg> affiliatedOrgs) {
96  133 this.affiliatedOrgs = affiliatedOrgs;
97    }
98   
 
99  344 toggle public LuRichText getDescr() {
100  344 return descr;
101    }
102   
 
103  133 toggle public void setDescr(LuRichText descr) {
104  133 this.descr = descr;
105    }
106   
107   
108    }