Coverage Report - org.kuali.student.lum.lu.entity.CluFeeRecord
 
Classes in this File Line Coverage Branch Coverage Complexity
CluFeeRecord
0%
0/19
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.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  0
 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  
         public String getFeeType() {
 60  0
                 return feeType;
 61  
         }
 62  
 
 63  
         public void setFeeType(String feeType) {
 64  0
                 this.feeType = feeType;
 65  0
         }
 66  
                 
 67  
         public String getRateType() {
 68  0
                 return rateType;
 69  
         }
 70  
 
 71  
         public void setRateType(String rateType) {
 72  0
                 this.rateType = rateType;
 73  0
         }
 74  
 
 75  
         public List<CluFeeAmount> getFeeAmounts() {
 76  0
                 return feeAmounts;
 77  
         }
 78  
 
 79  
         public void setFeeAmounts(List<CluFeeAmount> feeAmounts) {
 80  0
                 this.feeAmounts = feeAmounts;
 81  0
         }
 82  
 
 83  
         public List<CluFeeRecordAttribute> getAttributes() {
 84  0
                 return attributes;
 85  
         }
 86  
 
 87  
         public void setAttributes(List<CluFeeRecordAttribute> attributes) {
 88  0
                 this.attributes = attributes;
 89  0
         }
 90  
 
 91  
         public List<AffiliatedOrg> getAffiliatedOrgs() {
 92  0
                 return affiliatedOrgs;
 93  
         }
 94  
 
 95  
         public void setAffiliatedOrgs(List<AffiliatedOrg> affiliatedOrgs) {
 96  0
                 this.affiliatedOrgs = affiliatedOrgs;
 97  0
         }
 98  
 
 99  
         public LuRichText getDescr() {
 100  0
                 return descr;
 101  
         }
 102  
 
 103  
         public void setDescr(LuRichText descr) {
 104  0
                 this.descr = descr;
 105  0
         }
 106  
         
 107  
         
 108  
 }