Coverage Report - org.kuali.student.lum.lu.entity.CluFee
 
Classes in this File Line Coverage Branch Coverage Complexity
CluFee
100%
10/10
N/A
1
 
 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  187
 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  
         public List<CluFeeAttribute> getAttributes() {
 49  223
                 return attributes;
 50  
         }
 51  
 
 52  
         public void setAttributes(List<CluFeeAttribute> attributes) {
 53  62
                 this.attributes = attributes;
 54  62
         }
 55  
 
 56  
         public List<CluFeeRecord> getCluFeeRecords() {
 57  411
                 return this.cluFeeRecords;
 58  
         }
 59  
 
 60  
         public void setCluFeeRecords(List<CluFeeRecord> cluFeeRecords) {
 61  26
                 this.cluFeeRecords = cluFeeRecords;
 62  26
         }
 63  
 
 64  
         public LuRichText getDescr() {
 65  187
                 return descr;
 66  
         }
 67  
 
 68  
         public void setDescr(LuRichText descr) {
 69  26
                 this.descr = descr;
 70  26
         }
 71  
                 
 72  
 }